-
Platform information:
- Hardware: RPi 4 4GB
- OS: Raspbian OS lite
- Java Runtime Environment: 21
- openHAB version: 5.0.0
-
Issue of the topic:
I want to be able to control the individual Nanoleaf panels via MQTT so that I can access them from Home Assistant.
My idea was to create a generic MQTT device in OH, connect the channels to the items, and then be able to control them bidirectionally.My channels, as an example:
stateTopic:
openHAB/shapes/panel0/switch/state
commandTopic:
openHAB/shapes/panel0/switch/setOn the broker, I only ever see the commandTopic.
Now to the problem that I don’t understand.
When I use both topics in this way and switch the light in openHAB, I see ON and OFF on the broker, but when I “send” the topic from the broker, nothing changes in OH. If I name both topics in:
“openHAB/shapes/panel0/switch/set”, I can send a topic from the broker and the switch changes its status in OH but does not switch.I’ve been stuck for three days and don’t know where else to look for the error.
UID: mqtt:topic:8223a738ee:Panel0 label: Shapes Panel 0 thingTypeUID: mqtt:topic configuration: {} bridgeUID: mqtt:broker:8223a738ee location: Livingroom channels: - id: Panel0Switch channelTypeUID: mqtt:switch label: Panel 0 ON/OFF description: "" configuration: commandTopic: openHAB/shapes/panel0/switch/set stateTopic: openHAB/shapes/panel0/switch/state off: OFF on: ONAm I simply mistaken, or is the configuration more complex than I thought?
Thanks for your help