since the upgrade from OH5.0 to OH5.1 in my docker instance, the MQTT-integration of Tasmota-plugs does not work and ends up in a endless loop?
I’m using Tasmota 15.1.0 with some power-plugs (Nous A1):
as you can see, Tasmota sends the stats every 15 seconds. If I don’t stop the MQTT-Thing for that plug you can see the loop already in the Tasmota-console:
15:54:42.510 MQT: devices/NousWaMa/tele/STATE = {"Time":"2025-12-30T15:54:42","Uptime":"79T06:06:42","UptimeSec":6847602,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":95,"POWER":"ON","Wifi":{"AP":1,"SSId":"PL.12","BSSId":"0C:72:74:91:5E:9C","Channel":11,"Mode":"11n","RSSI":70,"Signal":-65,"LinkCount":61,"Downtime":"0T00:05:18"},"Hostname":"NousWaMa-1753","IPAddress":"192.168.78.93"}
15:54:42.520 MQT: devices/NousWaMa/tele/SENSOR = {"Time":"2025-12-30T15:54:42","ENERGY":{"TotalStartTime":"2021-10-20T16:02:41","Total":840.172,"Yesterday":0.036,"Today":0.023,"Period":0,"Power":1,"ApparentPower":10,"ReactivePower":10,"Factor":0.13,"Voltage":230,"Current":0.045}}
15:54:57.513 MQT: devices/NousWaMa/tele/STATE = {"Time":"2025-12-30T15:54:57","Uptime":"79T06:06:57","UptimeSec":6847617,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":95,"POWER":"ON","Wifi":{"AP":1,"SSId":"PL.12","BSSId":"0C:72:74:91:5E:9C","Channel":11,"Mode":"11n","RSSI":70,"Signal":-65,"LinkCount":61,"Downtime":"0T00:05:18"},"Hostname":"NousWaMa-1753","IPAddress":"192.168.78.93"}
15:54:57.522 MQT: devices/NousWaMa/tele/SENSOR = {"Time":"2025-12-30T15:54:57","ENERGY":{"TotalStartTime":"2021-10-20T16:02:41","Total":840.172,"Yesterday":0.036,"Today":0.023,"Period":0,"Power":1,"ApparentPower":10,"ReactivePower":10,"Factor":0.11,"Voltage":232,"Current":0.045}}
15:55:05.324 CMD: Power=ON
15:55:05.329 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:05.333 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.067 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.069 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.119 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.122 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.168 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.172 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.218 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.221 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.268 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.272 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.319 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.323 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.371 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
15:55:06.375 MQT: devices/NousWaMa/stat/POWER = ON
15:55:06.419 MQT: devices/NousWaMa/stat/RESULT = {"POWER":"ON"}
same in the openHAB-logs:
2025-12-30 16:00:40.682 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_CmdWaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.684 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_WaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.684 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WM_State' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.684 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_CmdWaMaPowered' predicted to become ON
2025-12-30 16:00:40.684 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_WaMaPowered' predicted to become ON
2025-12-30 16:00:40.684 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'WM_State' predicted to become ON
2025-12-30 16:00:40.735 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_CmdWaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.737 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_WaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.738 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WM_State' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.739 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_CmdWaMaPowered' predicted to become ON
2025-12-30 16:00:40.740 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_WaMaPowered' predicted to become ON
2025-12-30 16:00:40.741 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'WM_State' predicted to become ON
2025-12-30 16:00:40.770 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'STRAT_VoltagePhase1' changed from 231.4 V to 228.3 V (source: org.openhab.core.thing$mqtt:topic:synology:stromAtelier:voltagePhase1)
2025-12-30 16:00:40.823 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_CmdWaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.824 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_WaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.826 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WM_State' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.827 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_CmdWaMaPowered' predicted to become ON
2025-12-30 16:00:40.835 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'EMS_WaMaPowered' predicted to become ON
2025-12-30 16:00:40.836 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'WM_State' predicted to become ON
2025-12-30 16:00:40.852 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_CmdWaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.854 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EMS_WaMaPowered' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
2025-12-30 16:00:40.855 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WM_State' received command ON (source: org.openhab.core.thing$mqtt:topic:synology:waschmaschine:state)
So, what causes this endless loop? I didn’t change anything in the config of the Tasmota plug:
version: 1
things:
mqtt:topic:synology:waschmaschine:
bridge: mqtt:broker:synology
label: MQTT Tasmota Waschmaschine
config:
availabilityTopic: devices/NousWaMa/tele/LWT
payloadAvailable: Online
payloadNotAvailable: Offline
channels:
state:
type: switch
label: State
description: Status Waschmaschine
config:
stateTopic: devices/NousWaMa/stat/POWER
commandTopic: devices/NousWaMa/cmnd/POWER
postCommand: true
"on": "ON"
"off": "OFF"
Power:
type: string
label: Power
description: Verbrauch Waschmaschine
config:
stateTopic: devices/NousWaMa/tele/SENSOR
transformationPattern:
- JSONPATH:$.ENERGY.Power
EnergyToday:
type: string
label: EnergyToday
description: Verbrauch heute Waschmaschine
config:
stateTopic: devices/NousWaMa/tele/SENSOR
transformationPattern:
- JSONPATH:$.ENERGY.Today
EnergyTotal:
type: string
label: EnergyTotal
description: Verbrauch gesamt Waschmaschine
config:
stateTopic: devices/NousWaMa/tele/SENSOR
transformationPattern:
- JSONPATH:$.ENERGY.Total
StarteWaschmaschine:
type: switch
label: Starte Waschmaschine
config:
stateTopic: devices/NousWaMa/tele/state/starteWaschmaschine
commandTopic: devices/NousWaMa/cmd/starteWaschmaschine
Betriebsart:
type: string
label: Betriebsart
description: Betriebsart Waschmaschine
config:
stateTopic: devices/NousWaMa/betriebsart
all three items from the log is “standard”-linked to the power-channel
none of the “power”-items have any Metadata or a rule attached to them, which would cause this loop?
How is it started anyways? and what did I do wrong?
