In MQTT broker I have connected Xiaomi light sensor and am trying to configure its channels
For example, I configure the battery channel like this -
channelTypeUID: mqtt:number
label: battery
description: “”
configuration:
formatBeforePublish: “%.4f”
transformationPatternOut: JSONPATH:$.battery
stateTopic: 0x54ef441000033fcb
transformationPattern: JSONPATH:$.battery
Unfortunately, no data is sent to this channel (to Item - NULL). Although I can see them in MQTT Explorer.
What am I doing wrong?
incorrect conversion JSONPATH?