#I don't know. how can i make shure it's

1 messages · Page 1 of 1 (latest)

digital kite
#

Did you set anything up? Sign up for the NabuCasa #cloud-archived service? Configure DuckDNS + SSL? Anything?

#

Because if you didn't do anything then you don't have remote access

#

And as the GA docs tell you, you need that

digital kite
#

The Nabu Casa service is

#

DuckDNS is free

#

The cloud service also has UI point-n-click setup for Google Assistant 😛

devout reef
#

Manual setup (if you don’t have Home Assistant Cloud)

digital kite
#

Right...

#

So, you don't have the cloud service?

devout reef
#

I don't have any cloud service.

digital kite
#

Then you have to set up remote access manually

#

DuckDNS is the way a lot of people go, but there's many options

devout reef
digital kite
#

What?

#

- are dashes 😛

devout reef
#

the downsides of that cloud

digital kite
#

Well, Nabu Casa is easy and paid for

#

DuckDNS, and the other options, are free and work from you

devout reef
#

ok so

#

how can i setup it?

digital kite
#
  1. install the DuckDNS add-on
  2. Read the docs for it
  3. Read the link above
devout reef
#
  1. done
digital kite
#

Now read the docs for it

#

Then, once you understand how to set it up, read the forum link above which covers all the things you need for port forwarding, and more

devout reef
#

how should i name my domain?

#

is it my thing?

digital kite
#

pick-whatever-you-want.duckdns.org

devout reef
#

ok :D

#

duckdns running

digital kite
#

Did you tell it to get you SSL certs from LetsEncrypt?

#

Or did you skip past that part of the docs?

digital kite
#

The docs... you really should read the docs

#

They tell you how to get SSL certs

#

These settings only apply to Let's Encrypt SSL certificates

#

You want those

#

You need SSL

devout reef
#

this?

digital kite
#

No

toxic zealotBOT
#

#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.

#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.

digital kite
#

You need the docs that come with the add-on

#

I don't use add-ons, so all I can tell you is that they exist

digital kite
#

Says addons in the URL... looks good 😉

devout reef
#

k

#
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem```
digital kite
#

Then config check, then restart HA

#

At that point you must always use https:// to access HA

#

When using anything other than the hostname in the cert you'll get errors, because that's how SSL works

devout reef
digital kite
#

Yes

devout reef
#
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
token: sdfj-2131023-dslfjsd-12321
domains:
  - my-domain.duckdns.org
aliases: []
seconds: 300```can i set this in the addon configuration and don't put it in to config....yml
digital kite
#

That is for your add-on

#

And hopefully that's not your actual token

devout reef
#

nah

#

from docs

#

yh but there is also this config tabhttps://imgur.com/a/jlNtPrf
so should i use config tab or config file?

digital kite
#

The add-on config tab is for the add-on config, to save you editing files

#

They just format it differently

digital kite
#

#add-ons-archived can help you, but the obvious answer is to paste the relevant parts into the right bits of the add-on UI

frosty sparrow
#

You enter that in configuration.yaml

devout reef
digital kite
#

Ah, that bit, yeah... I've got lost ablobjoy

devout reef
digital kite
#

Because once you set HA up for SSL, it's 100% SSL 100% of the time

toxic zealotBOT
#

@devout reef When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

digital kite
#

Yes, that

devout reef
#

This site can’t provide a secure connection
homeassistant.local sent an invalid response.

digital kite
#

Once you've added those lines to configuration.yaml, run your config check, and restarted HA, you can't use http:// any more

#

Because you haven't yet finished

devout reef
#

oh

digital kite
#

Still yes

frosty sparrow
#
http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
#

That goes in configuration.yaml

#

I don't know what variables you are talking about

devout reef
frosty sparrow
#

What does that mean?

#

You enter what is shown, in confguration.yaml

devout reef
#

something have to be in /ssl/privkey.pem ?

frosty sparrow
#

Yes, DuckDNS add-on puts those files there

#

When you run it and check the add-on logs you'll see this

digital kite
#

And the add-on only puts them there once you've set it up correctly

#

Step #1 remains getting that done

#

I suspect you're still working on that... given what you posted above

#

You need to slow down, and do things in order, or you're just going to continue to struggle

devout reef
#

This site can’t be reached
homeassistant.local refused to connect.

#

something is not right

digital kite
#

Did you run the config check command?

#

Did you do that before restarting HA?

devout reef
#

i forgot 💀

#

what should i do

digital kite
#

HA should still start up, but with http:// to access it

frosty sparrow
#

if you added this incorrectly, it would use http: to access. If you added it correctly, you would use https:// and you would see a warning

#

http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

devout reef
#

I'm so sorry

devout reef
#

In recovery mode

#

Here's the error log

devout reef
frosty sparrow
#

So next you try entering it correctly

#

And check config or show what you have entered before restarting

devout reef
#

i ha core checked

#

but i can't crtl+shift+c becuse of some keybind in my browser

#

is it okay if i sent i picture?

frosty sparrow
#

You can link to one yes

devout reef
frosty sparrow
#

A screenshot of what you have entered would be better

devout reef
#

intro config file?

frosty sparrow
#

That’s where it’s going wrong

devout reef
#

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# Example configuration.yaml entry
google_assistant:
  project_id: home-asistant-44364
  service_account: !include SERVICE_ACCOUNT.JSON
  report_state: true
  expose_by_default: false
  entity_config:
    switch.kitchen:
      name: "light"
      expose: true
      
http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
frosty sparrow
#

Is fullchain.pem on its own line? I can’t tell on mobile

#

It shouldn’t be

frosty sparrow
#

Oh is the add on running?

devout reef
#

witch one?

frosty sparrow
#

Duckdns

devout reef
#

yh

frosty sparrow
#

what do the add on logs show

devout reef
#

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started

frosty sparrow
#

Did you have the “accept terms” option set to true?

#

In the add on config?

devout reef
#

I'm currently not home so I can't use local and I can't log

#

In

#

Load the webpage

digital kite
#

Then troubleshooting needs to wait until you're home

devout reef
#

back home

#

and it is back online

#
# INFO: Using main config file /data/workdir/config
 + Creating chain cache directory /data/workdir/chains
Processing radareek.duckdns.org
 + Creating new directory /data/letsencrypt/radareek.duckdns.org ...
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 1 authorizations URLs from the CA
 + Handling authorization for radareek.duckdns.org
 + 1 pending challenge(s)
 + Deploying challenge tokens...
OK + Responding to challenge for radareek.duckdns.org authorization...
 + Challenge is valid!
 + Cleaning challenge tokens...
OK + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!13:26:44] INFO: Renew certificate for domains: radareek.duckdns.org and aliases: 
# INFO: Using main config file /data/workdir/config
 + Creating chain cache directory /data/workdir/chains
Processing radareek.duckdns.org
 + Creating new directory /data/letsencrypt/radareek.duckdns.org ...
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 1 authorizations URLs from the CA
 + Handling authorization for radareek.duckdns.org
 + 1 pending challenge(s)
 + Deploying challenge tokens...
OK + Responding to challenge for radareek.duckdns.org authorization...
 + Challenge is valid!
 + Cleaning challenge tokens...
OK + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!```
#

log looks good

#

but it's still in http

#

proly becuse i don't have that script in my config file

#

now i lost it

#

idk what's wrong

#

i can't see the server in my app

digital kite
#

What did you change?

devout reef
#

i set true to duckdns

#

terms

digital kite
#

That's the lets encrypt terms 😉

#

None of that would cause you to lose access to HA itself though

devout reef
#

and than added this to config:

http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

and restarted

#

after the restart i cano't acces it

digital kite
#

Did you remember to use https:// now?

devout reef
#

yh

#

wait

#

should i use the duckdns url?

digital kite
#

Not unless you've set up port forwarding already

digital kite
devout reef
digital kite
#

And did you try with just http://?

devout reef
#

im in

digital kite
#

Now "all" you have to do is sort out port forwarding so you can connect remotely

#

Then you can get back to sorting out the Google Assistant integration

devout reef
#

but i don't have a certificate, so the app doesn't let me put it in

digital kite
#

You're using https:// ...

#

Without a certificate you can't 😉

#

So ... yes, you have one

#

The HA app will also only connect to the hostname in the certificate, your DuckDNS hostname

devout reef
digital kite
#

Yes ... you have a cert

devout reef
digital kite
#

Right...

devout reef
#

it says cert is not valid

digital kite
#

We've covered that before

#

Let me find the link to save me writing it all out again, and again 😉

devout reef
#

cool

#

so i don't have to worry about it

digital kite
#

No

devout reef
#

ok

#

so what should i do?

digital kite
#

Now "all" you have to do is sort out port forwarding so you can connect remotely

#

That second one has the guide you need

digital kite
#

All of that guide, but yes

devout reef
#

all my ports are closed

#

that i tried

digital kite
#

Did you actually forward any yet?

devout reef
#

i don't know

digital kite
#

FFS

#

You have to follow the guide step by step, if you're jumping around at random then you're doomed

#

And you really should know if you've forwarded a port... if you've not opened up your router's admin pages then no, you haven't

#

If this is all proving too much for you, paying for the Nabu Casa cloud service will be easier 😛

digital kite
#

Then you get to pay attention and go step by step

devout reef
#

ok

digital kite
#

Or you can keep chasing squirrels...

devout reef
#

is Port forwarding safe?

digital kite
#

Yes/no/maybe

#

In itself, security neutral

#

The question is.... have you secured the thing you're forwarding to?

#

And that's covered in the guide

digital kite
#

Home Assistant... what else?

devout reef
#

oh

#

secured with password?

digital kite
#

Please

#

read the guide

#

Actually take the time to read it, the whole damn thing