Skip to content

Commit 1987571

Browse files
bdurrerfabaff
authored andcommitted
Add FreeDNS component (home-assistant#5046)
* Add FreeDNS component * Move the instructions up
1 parent ee19913 commit 1987571

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

source/_components/freedns.markdown

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
layout: page
3+
title: "freedns.afraid.org"
4+
description: "Keep your DNS record up to date with FreeDNS."
5+
date: 2018-03-27 21:30
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Utility
11+
ha_release: 0.67
12+
---
13+
14+
With the `freedns` component you can keep your [FreeDNS](https://freedns.afraid.org) record up to date.
15+
16+
## {% linkable_title Configuration %}
17+
18+
You need to determine your update URL or your access token.
19+
20+
1. Head over to the [FreeDNS](https://freedns.afraid.org) website and login to your account.
21+
2. Select the menu "Dynamic DNS"
22+
3. You should now see your update candiates in a table at the bottom of the page.
23+
4. Copy the link target of the "Direct URL".
24+
5. The access token is the part at the end of the link: `https://freedns.afraid.org/dynamic/update.php?YOUR_UPDATE_TOKEN`
25+
6. Either put the token as `access_token` _or_ the whole URL into the `url` attribute.
26+
27+
To use the component in your installation, add the following to your `configuration.yaml` file:
28+
29+
```yaml
30+
# Example configuration.yaml entry
31+
freedns:
32+
access_token: YOUR_TOKEN
33+
```
34+
35+
{% configuration %}
36+
access_token:
37+
description: Your access token. This is exclusive to `url`.
38+
required: false
39+
type: string
40+
url:
41+
description: The full update URL. This is exclusive to `access_token`.
42+
required: false
43+
type: string
44+
update_interval:
45+
description: How often to call the update service.
46+
required: false
47+
type: time period
48+
default: 10 minutes
49+
{% endconfiguration %}

source/developers/development_guidelines.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ _LOGGER.error("No route to device: %s", self._resource)
7878
```
7979

8080
Don't print out wrong API keys, tokens, usernames, or passwords.
81-
81+
Also note that `_LOGGER.info` is reserved for the core, use `_LOGGER.debug` in anything else.

0 commit comments

Comments
 (0)