-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tr064] Enhancements, code improvements and fixes #14468
Conversation
Signed-off-by: Jan N. Klug <github@klug.nrw>
bundles/org.openhab.binding.tr064/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.tr064/src/main/resources/channels.xml
Outdated
Show resolved
Hide resolved
...ing.tr064/src/main/java/org/openhab/binding/tr064/internal/phonebook/Tr064PhonebookImpl.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I have added a few comments, mostly questions. Also, please regenerate the I18N properties file.
<item type="Switch"/> | ||
<service deviceType="urn:dslforum-org:device:LANDevice:1" serviceId="urn:LanDeviceHosts-com:serviceId:Hosts1"/> | ||
<getAction name="GetSpecificHostEntry" argument="NewActive"> | ||
<parameter name="NewMACAddress" thingParameter="macOnline" | ||
pattern="([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}(\s*#.*)*"/> | ||
</getAction> | ||
</channel> | ||
<channel name="macIP" label="MAC IP" description="IP of the device with the given MAC"> | ||
<channel name="macOnlineIpAddress" label="MAC Online IP" description="IP of the device with the given MAC" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a channel rename? The README has changed the description to "IP of the MAC (uses same parameter as macOnline
)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This channel was added to the other version before it was added here. That's why I renamed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, please remember to mention this in https://github.com/openhab/openhab-distro/blob/main/distributions/openhab/src/main/resources/bin/update.lst.
Should the description here be updated to be in line with the description in the README? In this PR this has changed from "IP of the device with the given MAC" to "IP of the MAC (uses same parameter as macOnline
)", probably for a reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there have been questions how to configure that channel, that's why I added a clarification.
I wonder if we should also rename the other channels that act on the same list of parameters (macSignalStrength1
and similar) for consistency.
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
....openhab.binding.tr064/src/main/java/org/openhab/binding/tr064/internal/FritzboxActions.java
Show resolved
Hide resolved
Signed-off-by: Jan N. Klug <github@klug.nrw>
I think everything is addressed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! Only thing I can see missing is I18N properties file regeneration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for backporting these improvements.
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
Fixes #10327
Fixes #10919
Includes the changes from
smarthomej/addons#21
smarthomej/addons#55
smarthomej/addons#59
smarthomej/addons#79
smarthomej/addons#110
smarthomej/addons#111
smarthomej/addons#119
smarthomej/addons#126
smarthomej/addons#129
smarthomej/addons#135
smarthomej/addons#139
smarthomej/addons#144
smarthomej/addons#160
smarthomej/addons#179
smarthomej/addons#188
smarthomej/addons#273