Skip to content
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

[openwebnet] Thermo: UID segment 'openwebnet:speedFanCoil' contains invalid characters #14619

Closed
mvalla opened this issue Mar 17, 2023 · 1 comment · Fixed by #14620
Closed
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@mvalla
Copy link
Contributor

mvalla commented Mar 17, 2023

A WARN is logged when refreshing a Thermo thing in OH4.

Current Behavior

When refreshing a Thermo thing the following is logged:

10:33:39.803 WARN  [OH-thingHandler-18  ] [rappedScheduledExecutorService:67   ] - Scheduled runnable ended with an exception: java.lang.IllegalArgumentException: UID segment 'openwebnet:speedFanCoil' contains invalid characters. The last segment of the channel UID must match the pattern '[\w-]*|[\w-]*#[\w-]*'.
	at org.openhab.core.thing.ChannelUID.validateSegment(ChannelUID.java:136)
	at org.openhab.core.common.AbstractUID.<init>(AbstractUID.java:76)
	at org.openhab.core.thing.UID.<init>(UID.java:66)
	at org.openhab.core.thing.ChannelUID.<init>(ChannelUID.java:59)
	at org.openhab.core.thing.internal.ThingImpl.getChannel(ThingImpl.java:126)
	at org.openhab.binding.openwebnet.internal.handler.OpenWebNetThermoregulationHandler.channelExists(OpenWebNetThermoregulationHandler.java:569)
	at org.openhab.binding.openwebnet.internal.handler.OpenWebNetThermoregulationHandler.refreshDevice(OpenWebNetThermoregulationHandler.java:601)
	at org.openhab.binding.openwebnet.internal.handler.OpenWebNetThingHandler.refreshAllDevices(OpenWebNetThingHandler.java:283)
	at org.openhab.binding.openwebnet.internal.handler.OpenWebNetBridgeHandler.refreshAllBridgeDevices(OpenWebNetBridgeHandler.java:454)

See comments here: openhab/openhab-core#3336

Possible Solution

Fix channelId in OpenWebNetThermoregulationHandler#channelExists

@mvalla mvalla added the bug An unexpected problem or unintended behavior of an add-on label Mar 17, 2023
mvalla added a commit to mvalla/openhab-addons that referenced this issue Mar 17, 2023
mvalla added a commit to mvalla/openhab-addons that referenced this issue Mar 17, 2023
Fixes openhab#14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
lolodomo pushed a commit that referenced this issue Mar 19, 2023
Fixes #14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
renescherer pushed a commit to renescherer/openhab-addons that referenced this issue Mar 23, 2023
Fixes openhab#14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openwebnet-bticino-legrand-binding-beta-4-0-0-0-4-1-0-0/129775/75

FordPrfkt pushed a commit to FordPrfkt/openhab-addons that referenced this issue Apr 20, 2023
Fixes openhab#14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants