You are correct, I thought I had, but reading my posts again I can see what you mean.
My goal here is to have the ceiling fan in the room controlled via a traditional-esk switch on the wall and via the widgets on a habpanel, with the relevant status being accurately represented on both the habpanel and the physical wall switch/dimmer.
Ok, so I got an iFan03, flashed it with tasmota and setup the MQTT connection.
Via PaperUI I added it as a “Thing”
Master Bedroom - iFan03 (mqtt:topic:9a97613b)
Two channels were create:
Master Bedroom Light (mqtt:topic:9a97613b:MB-Light)
MQTT State Topic: stat/ifan03-mb/POWER1
MQTT Command Topic: cmnd/ifan03-mb/POWER1
and
Master Bedroom Fan (mqtt:topic:9a97613b:MB-Fan)
MQTT State Topic: stat/ifan03-mb/POWER1
MQTT Command Topic: cmnd/ifan03-mb/POWER1
Transformation Value: JSONPATH:$.FanSpeed
I then created linked items:
Master Bedroom Light (MasterBedroom_Light)
Type Switch, default profile
and
Master Bedroom Fan (MasterBedroom_Fan)
Type Number, default profile
This worked well, I was able to control both the fan and light from the Control Section in PaperUI and from widgets I added to a habpanel.
The next step was to get the wall switch working to control the just the light (I have not yet decided on what I want to use to control the fan speed). So I grabbed the Z-Wave Zooz switch I had. It is a simple on and off switch with an LED on it that lights up when it’s off, and goes out when it’s on (and you can hear the relay click when it changes state, but this setup won’t use the relay).
I paired the Zooz switch with OpenHab, again via the PaperUI. This created a new “Thing”
Z-Wave Plus S2 ON/OFF Switch (zwave:device:5426e5af:node3)
and this created a new channel:
Switch (zwave:device:5426e5af:node3:switch_binary)
I then linked this new “Thing” to the “Item” Master Bedroom Light (MasterBedroom_Light) with the default profile and tested it. Toggling the Zooz switch would change the little slider on the control page in the PaperUI, and even change the icon on the habpanel, but it would not actually toggle the light on the iFan03. If I tapped the widget in the habpanel, the ifan03 light would toggle as would the Zooz switch and lastly if I toggled the iFan03 light in the Tasmota WebUI, the hapPanel would update, but the Zooz switch would not. And this is where I am completely stumped, though I have not reviewed the info linked about 2 way switches yet (will do that tonight).
Other possible relevant info:
Openhabian on a Raspberry Pi3, completely up to date.
Mosquitto MQTT server.
Everything done via the PaperUI
Thanks!