I think I run into a problem where I miss some fundamental conceptual understanding.
I have been using OpenHab 2 for a while and I’m happy with it.
I bought a new Zigbee inwall switch, which is connected to a physical switch.
The attached light switches on and off when I use the physical button, and when I toggle the item on my sitemap (as expected)
In the thing configuration for the switch, I’ve created a link to another Zigbee wallplug which needs to be activated by the switch.
Now the item on the sitemap actually makes this work, however, the physical switch does not toggle the wallplug.
The logs show the same entry whether I use the physical switch or the item on the sitemap.
I’ve been looking at rules, but I think that is overkill, I probably miss a very basic concept.
Using OpenHab v2.5.9-1 and Conbee with Deconz as Zigbee gateway (2.05.81 / 14-9-2020)
Copy-paste the relevant lines from your events.log
Tell us what you did for that sample, e.g. poked UI or physical device.
A sample of both would be good.
Enclosing in code fences would be helpful
2020-10-24 12:53:02.006 [ome.event.ItemCommandEvent] - Item 'sRearOutdoorLights' received command ON
2020-10-24 12:53:02.035 [nt.ItemStatePredictedEvent] - sRearOutdoorLights predicted to become ON
2020-10-24 12:53:02.083 [vent.ItemStateChangedEvent] - sRearOutdoorLights changed from OFF to ON
2020-10-24 12:53:02.138 [vent.ItemStateChangedEvent] - sRearShed changed from OFF to ON
Logs when using the physical button:
2020-10-24 12:55:01.868 [vent.ItemStateChangedEvent] - sRearOutdoorLights changed from OFF to ON
2020-10-24 12:55:01.874 [vent.ItemStateChangedEvent] - sRearShed changed from OFF to ON
Okeydoke, thats great. As you can see no command is generated by poking at the physical device, as expected.
Difference between Item commands and state updates crucial here.
There is no sign of any attempt at cross-linking in what you have shown us.
You’ll want an update of your “master” device to issue a command to your “slave” Item.
A rule triggered from change of master Item would be straightforward.
Or you do it with a follow profile. Add the master channel to your slave Item as well, but using a follow profile. This will listen for updates from the master, and convert to command to the Item. Now your normal slave channel gets a command to act on.
I’ve just noticed in your opening post you talk about linking Things - whatever that was, you’d best undo it.