I’m moving my current installation (OpenHab 2.5.9) to OH3 M3, running in a Docker container on a Synology NAS.
So far, after a couple of mistakes, everything looks very good.
OH3 is gorgeous and I don’t want to go back
Almost all of my Homematic components are IP, but I have a HM-LC-SW2-FM in use to switch two power outlets.
This works perfectly fine with OH2.5.9, but when I try to link the two different channels in OH3, the new item always replaces the old one and is linked to both channels.
Linked channels in OH2:
Linked channels in OH3, after I had linked channel 2 to an item “Werkzeugkeller Steckdose 2” and added the second link to channel 1:
After adding another link, it seems to be fine at first. (items are swapped in this example)
Screenshot taken, right after the create link popup closed:
But after closing and reopening the Thing, the configuration is changed and the new item replaced both links:
When I hit the save button (or visit the code tab and go back to the channels tab, I get a warning that the configuration has validation errors:
When the new item is added, the old item gets removed, not only unlinked.
I restarted the docker container and tried the same procedure with the same result.
Even after deleting and recreating the thing, the issue is the same.
After adding the thing again, I immediately switched to the code tab and back to the channel tab and got the same validation error.
The config looks like this:
UID: homematic:HM-LC-Sw2-FM:bc66fb2985:REQ0269509
label: HM-LCSW2FM Steckdosen, Werkzeugkeller
thingTypeUID: homematic:HM-LC-Sw2-FM
configuration:
HMP_1_STATUSINFO_MINDELAY: 2
HMP_2_TRANSMIT_TRY_MAX: 6
HMP_1_AES_ACTIVE: false
HMP_2_STATUSINFO_MINDELAY: 2
HMP_2_AES_ACTIVE: false
HMP_2_POWERUP_ACTION: POWERUP_OFF
HMP_-1_INTERNAL_KEYS_VISIBLE: true
HMP_1_STATUSINFO_RANDOM: 1
HMP_1_TRANSMIT_TRY_MAX: 6
HMP_2_STATUSINFO_RANDOM: 1
HMP_-1_CONF_BUTTON_TIME: 255
HMP_-1_LOCAL_RESET_DISABLE: false
HMP_1_POWERUP_ACTION: POWERUP_OFF
bridgeUID: homematic:bridge:bc66fb2985
Is this an issue with the homematic binding?
It seems strange that it’s working perfectly fine in OH2.5.9…
Thanks for any ideas/comments!