Skip to content

Commit 9890a95

Browse files
committed
Changes based on code review
Change "int" to "integer" and restore section about fetching names.
1 parent 656f615 commit 9890a95

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

source/_components/homematic.markdown

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ local_ip:
5050
local_port:
5151
description: Port for connection with Home Assistant. By default it is randomly assigned.
5252
required: false
53-
type: int
53+
type: integer
5454
{% endconfiguration %}
5555
5656
Configuration variables (interface):
@@ -61,33 +61,26 @@ host:
6161
required: true
6262
type: string
6363
port:
64-
description: Port of CCU/Homegear XML-RPC Server. Wireless: 2001, wired: 2000, IP: 2010, thermostatgroups: 9292.
64+
description: "Port of CCU/Homegear XML-RPC Server. Wireless: 2001, wired: 2000, IP: 2010, thermostatgroups: 9292."
6565
required: false
66-
type: int
66+
type: integer
6767
callback_ip:
6868
description: Set this, if Home Assistant is reachable under a different IP from the CCU (NAT, Docker etc.).
6969
required: false
7070
type: string
7171
callback_port:
7272
description: Set this, if Home Assistant is reachable under a different IP from the CCU (NAT, Docker etc.).
7373
required: false
74-
type: int
74+
type: integer
7575
resolvenames:
7676
description: Try to fetch device names. Defaults to `false` if not specified.
7777
required: false
78-
type: map
78+
type: string
7979
default: false
80-
keys:
81-
metadata:
82-
description: Homegear provides device-names through the metadata devices have internally. When using an HM-CFG-LAN interface, you typically use a configuration software ("HomeMatic-Komponenten konfigurieren" is the name of the shortcut on your desktop by default) to pair and configure your devices. If you have paired devices, you'll see them listed in a table. The leftmost column (Name) is prefilled with default names. You can click such a name and enter whatever you like.
83-
json:
84-
description: The CCU allows to fetch details of the paired devices via JSON-RPC. For this to work you need to add valid credentials to your component-configuration. Guest-access is sufficient to query for device names.
85-
xml:
86-
description: If you use a CCU, there is an add-on called the "XML-API". With it installed, you are able to fetch all kinds of information from you CCU using XML-RPC. We can leverage this and fetch the names of devices set within the CCU. We don't support authentication with this method.
8780
jsonport:
8881
description: Port of CCU JSON-RPC Server. The default is 80, but it may be different when running CCU virtually via Docker.
8982
required: false
90-
type: int
83+
type: integer
9184
username:
9285
description: When fetching names via JSON-RPC, you need to specify a user with guest-access to the CCU.
9386
required: false
@@ -157,9 +150,9 @@ homematic:
157150

158151
We use three approaches to fetch the names of devices. Each assumes you have properly named your devices in your existing Homematic setup. As a general advice: Use ASCII for your devices names. Home Assistant won't include non-ASCII characters in entity-names.
159152

160-
1. `json`
161-
2. `xml`
162-
3. `metadata`
153+
1. `json`: The CCU allows to fetch details of the paired devices via JSON-RPC. For this to work you need to add valid credentials to your component-configuration. Guest-access is sufficient to query for device names.
154+
2. `xml`: If you use a CCU, there is an add-on called the "XML-API". With it installed, you are able to fetch all kinds of information from you CCU using XML-RPC. We can leverage this and fetch the names of devices set within the CCU. We don't support authentication with this method.
155+
3. `metadata`: Homegear provides device-names through the metadata devices internally have. When using an HM-CFG-LAN interface, you typically use a configuration software ("HomeMatic-Komponenten konfigurieren" is the name of the shortcut on your desktop by default) to pair and configure your devices. If you have paired devices, you'll see them listed in a table. The leftmost column (Name) is prefilled with default names. You can click such a name and enter whatever you like.
163156

164157
Resolving names can take some time. So when you start Home Assistant you won't see you devices at first. For a setup with 20+ devices it can take up to a minute until all devices show up in the UI.
165158

0 commit comments

Comments
 (0)