Btw, if you want to run a custom domain like assistant.mydomain.com (instead of YOURNAME.duckdns.org) you can do this by setting a CNAME DNS record at your custom domain. Note, that in this case you should use this domain with certbot.
Following the instructions but the SSH is Pi@hassbian. Tried sudo
and switching to SU
as root and HASS but continue to get error creating the log file and no OK or KO
On hassbian 0.49 the path is /srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/templates/index.html
I got stuck here, doesen’t verifies. I’ve rebooted, reopened the file and the changes are made, but they don’t apear in the page nor google verifies. What should I do?
It finally did. The port was the problem. It only verified when I DID NOT put the port:
https://MYHASSNAME.duckdns.org/
I got duck dns working but it will only work when I am off my network. How do I get it to work on my local network as well?
Does the HTML5 notification works for IOS ? Sorry for the newbie question lol i have running on android but it does not show in IOS chrome
Thank you
Perhaps a better method of a google site verification, that is upgrade safe and doesn’t require altering of homeassistant’s index.html is to include these lines in your nginx configuration (if you’re using nginx that is!)
location /google<snipped google code>.html {
rewrite ^/(.*) $1;
return 200 "google-site-verification: $uri";
}
See https://ersocon.net/blog/2016/11/17/how-to-verify-google-webmaster-tools-with-nginx for a better description.
I tried to install a certificate for my custom domain with certbot.
However when i treid the run the command:
./certbot-auto certonly --standalone --standalone-supported-challenges http-01 --email [email protected] -d YOURSUBDOMAIN.duckdns.org
with my own parameters i got the error:
Sorry, I don’t know how to bootstrap Certbot on your operating system!
You will need to install OS dependencies, configure virtualenv, and run pip install manually.
Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites
for more info.
and i cant quite figure out why or how to fix this. can someone push me in the right direction?
try this
./certbot-auto certonly --standalone --preferred-challenges http-01 --email [email protected] -d YourDomain.duckdns.org
Still the same error
suggest you try this tutorial.
https://diyautomate.me/2017/04/21/securing-home-assistant-with-lets-encrypt-ssl-complex-passwords-and-ip-banning/
I try verity include port or not include port but all of them not success
I use Raspbian os and i set meta tag to index file in locaion /srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/frontend/templates/index.html
Did i do something wrong ?
error when trying to install letsencrypt
core-ssh:~/certbot# wget https://dl.eff.org/certbot-auto
Connecting to dl.eff.org (151.101.0.201:443)
wget: error getting response: Connection reset by peer
core-ssh:~/certbot#
Is this because letsencrypt has disabled new certificates?
Any thoughts…
Tried that also. Could not get it to work. tried several times with same errors nobody could provide any help so had to abandoned that method.
@Darklyte Thank you for this post. I was previously attempting the BRUH method via YT and was not successful. Using his method and your method I was able to get to the point in the DuckDNS setup where I begin typing in ‘crontab -e’ and then I get a completely different screen. When I paste the required text ‘*/5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1’ it is not recognized and gives me a “Pattern not found” error. Could you please help me in what my next should be? Am I missing a step somewhere? I have included a screenshot for reference of the screen I get when I hit ‘enter’ after the ‘crontab -e’ command. Thanks
Hello . I have a problem with the crontab. when I try to modify it with an indication of Duck DNS( * / 5 * * * * ~ / duckdns / duck.sh> / dev / null 2> & 1). He tells me Path not found. I do not understand the reason. If I try to save by doing ctrl + x as you indicate in the guide it does not work. How can I do?
I am running into the same problem. See my post above. I am hoping to get some help with this too. I know it is probably something simple. I am still researching. If I find the solution, I will let you know.
Ok. Thank you! you would do me a great favor!