- Platform information:
- Hardware: Raspi 4, 2 GB RAM, 16 GB SD card
- OS: openhabian (OH3)
- Java Runtime Environment: OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
- openHAB version: 1.7.1
- Issue of the topic:
I connected the power outlet (OSRAM LEDVANCE AB3257001NJ) via zigbee successfully. Displaying the state (ON/OFF) works fine. However if I configure to set the switch there is no reaction. I can see in the log of Mosquitto that the command does not reach there.
The outlet state item is defined as:
id: state channelTypeUID: mqtt:switch label: State(E003) description: "" configuration: retained: true postCommand: false transformationPatternOut: JSONPATH:$.state stateTopic: zigbee2mqtt/0x7cb03eaa0a0b0edb transformationPattern: JSONPATH:$.state off: OFF on: ON
I tried this to command the switch:
id: switch channelTypeUID: mqtt:switch label: Switch(E003) description: "" configuration: commandTopic: zigbee2mqtt/0x7cb03eaa0a0b0edb/set postCommand: true transformationPatternOut: JSONPATH:$.state off: OFF on: ON
I’m using the current firefox browser with “openhabian:8080” in the URL. I’m logged in as admin.