Skip to content

Commit 6bb1d70

Browse files
Marc Forthfabaff
Marc Forth
authored andcommitted
Update lets_encrypt.markdown (home-assistant#4962)
* Update lets_encrypt.markdown Converted the DuckDNS section to use the Homeassistant component for background, much easier for new starters, and more in the spirit of keeping things within HA. * Minor changes
1 parent 7814fcd commit 6bb1d70

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

source/_docs/ecosystem/certificates/lets_encrypt.markdown

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,17 @@ In the domains section pick a name for your subdomain, this can be anything you
195195

196196
The URL you will be using later to access your Home Assistant instance from outside will be the subdomain you picked, followed by duckdns.org . For our example we will say our URL is examplehome.duckdns.org
197197

198-
On the top left of duckdns.org select the install option. Then pick your operating system from the list. In our example we will use a Raspberry Pi. In the dropdown box select the URL you just created.
198+
Set up Home Assistant to keep your DuckDNS URL and external IP address in sync. In your `configuration.yaml` file add the following:
199199

200-
Duckdns.org will now generate personalised instructions for you to follow so that your device can update their website every time your IP address changes. Carefully follow the instructions given on duckdns.org to set up your device.
200+
```yaml
201+
duckdns:
202+
domain: examplehome
203+
access_token: abcdefgh-1234-abcd-1234-abcdefgh
204+
```
201205
202-
At the end of the instructions DuckDNS will suggest you set up port forwarding. No need, we have already done this in step 2.
206+
The access token is available on your DuckDNS page. Restart Home Assistant after the change.
203207
204-
What you have now done is set up DuckDNS so that whenever you type examplehome.duckdns.org in to your browser it will convert that to your router's external IP address. Your external IP address will always be up to date because your device running Home Assistant will update DuckDNS every time it changes.
208+
What you have now done is set up DuckDNS so that whenever you type examplehome.duckdns.org in to your browser it will convert that to your router's external IP address. Your external IP address will always be up to date because Homeassistant will update DuckDNS every time it changes.
205209
206210
Now type your new URL in to your address bar on your browser with port 8123 on the end:
207211

0 commit comments

Comments
 (0)