Skip to content

Commit

Permalink
[tr064] Update configuration documentation (#14291)
Browse files Browse the repository at this point in the history
* i18n + mac per line fix

Signed-off-by: lsiepel <[email protected]>
  • Loading branch information
lsiepel authored Feb 8, 2023
1 parent 2a2f6ff commit 2ea0c97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion bundles/org.openhab.binding.tr064/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ If the `PHONEBOOK` profile shall be used, it is necessary to retrieve the phoneb
The `phonebookInterval` is used to set the refresh cycle for phonebooks.
It defaults to 600 seconds, and it can be set to 0 if phonebooks are not used.

Parameters that accept lists (e.g. `macOnline`, `wanBlockIPs`) can contain comments.
Some parameters (e.g. `macOnline`, `wanBlockIPs`) accept lists.
List items are configured one per line in the UI, or are comma separated values when using textual config.
These parameters that accept list can also contain comments.
Comments are separated from the value with a '#' (e.g. `192.168.0.77 # Daughter's iPhone`).
The full string is used for the channel label.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,19 @@ thing-type.config.tr064.fritzbox.rejectedCallDays.label = Rejected Call Days
thing-type.config.tr064.fritzbox.rejectedCallDays.description = List of days for which rejected calls should be calculated.
thing-type.config.tr064.fritzbox.tamIndices.label = TAM
thing-type.config.tr064.fritzbox.tamIndices.description = List of answering machines (starting with 0).
thing-type.config.tr064.fritzbox.timeout.label = Timeout
thing-type.config.tr064.fritzbox.timeout.description = Timeout for all requests (SOAP requests, phone book retrieval, call lists, ...).
thing-type.config.tr064.fritzbox.user.label = Username
thing-type.config.tr064.fritzbox.wanBlockIPs.label = WAN Block IPs
thing-type.config.tr064.fritzbox.wanBlockIPs.description = List of IPs that can be blocked for WAN access.
thing-type.config.tr064.generic.host.label = Host
thing-type.config.tr064.generic.host.description = Host name or IP address.
thing-type.config.tr064.generic.password.label = Password
thing-type.config.tr064.generic.refresh.label = Refresh Interval
thing-type.config.tr064.generic.timeout.label = Timeout
thing-type.config.tr064.generic.timeout.description = Timeout for all requests (SOAP requests, phone book retrieval, call lists, ...).
thing-type.config.tr064.generic.user.label = Username
thing-type.config.tr064.subdevice.refresh.label = Refresh Interval
thing-type.config.tr064.subdevice.uuid.label = UUID
thing-type.config.tr064.subdevice.uuid.description = UUID of the sub-device
thing-type.config.tr064.subdeviceLan.macOnline.label = MAC Online
thing-type.config.tr064.subdeviceLan.macOnline.description = List of MACs for "online" status detection (format: 11:11:11:11:11:11).
thing-type.config.tr064.subdeviceLan.macOnline.description = List of MACs for "online" status detection (format: 11:11:11:11:11:11). One MAC-Address per row.
thing-type.config.tr064.subdeviceLan.refresh.label = Refresh Interval
thing-type.config.tr064.subdeviceLan.uuid.label = UUID
thing-type.config.tr064.subdeviceLan.uuid.description = UUID of the sub-device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</parameter>
<parameter name="macOnline" type="text" multiple="true">
<label>MAC Online</label>
<description>List of MACs for "online" status detection (format: 11:11:11:11:11:11).</description>
<description>List of MACs for "online" status detection (format: 11:11:11:11:11:11). One MAC-Address per row.</description>
</parameter>
</config-description>
</thing-type>
Expand Down

0 comments on commit 2ea0c97

Please sign in to comment.