Code: Alles auswählen
UID: mqtt:topic:MQTTBroker:InfHBad
label: Infrarotheizung Badezimmer
thingTypeUID: mqtt:topic
configuration:
transformationPattern:
- JSONPATH:$.status
bridgeUID: mqtt:broker:MQTTBroker
location: Badezimmer
channels:
- id: Betrieb
channelTypeUID: mqtt:switch
label: Betrieb
description: Betrieb (on/off)
configuration:
commandTopic: shellyplugsg3-b08184a5b870/command/switch:0
transformationPatternOut:
- MAP:config:map:shellystate
transformationPattern:
- JSONPATH:$.output
stateTopic: shellyplugsg3-b08184a5b870/status/switch:0
off: "false"
on: "true"
- id: GesamtPower
channelTypeUID: mqtt:number
label: Gesamt Power
description: Power in kWh
configuration:
unit: kWh
formatBeforePublish: "%.4f kWh"
stateTopic: shellyplugsg3-b08184a5b870/status/switch:0
transformationPattern:
- JSONPATH:$.aenergy
- id: Power
channelTypeUID: mqtt:number
label: Power
description: Power in Watt
configuration:
unit: W
formatBeforePublish: "%.4f W"
transformationPattern:
- JSONPATH:$.apower
stateTopic: shellyplugsg3-b08184a5b870/status/switch:0
Code: Alles auswählen
2025-01-23 19:11:32.920 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command '{total=1986.911, by_minute=[8508.81,8301.278,8301.278], minute_ts=1737655860}' from channel 'mqtt:topic:MQTTBroker:InfHBad:GesamtPower' not supported by type 'NumberValue': Character array is missing "e" notation exponential mark.
2025-01-23 19:11:32.920 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '0 W' with function 'JSONPATH:$.apower' and format '%s'