Issue with some tasmota devices

For openHAB 3 i have changed all things/items from mqtt-1.x to 2.x binding.
Now I have some issue with 3 devices. All 3 devices have the same error…

The following items don’t receive any updates:
TrocknerPower, TrocknerPowerAverage, TrocknerTotal, TrocknerToday

Items:

Number TrocknerKostenTotal “Trockner Kosten total”
Number TrocknerKostenTag “Trockner Kosten Tag”
Number TrocknerPower “Trockner Leistung [%.0f W]” (gWaschkueche, gTrockner) {channel=“mqtt:topic:mosquitto:trockner:trockner_power” }
Number TrocknerPowerAverage “Trockner 5-min Durchschnitt [%.0f Wh]” (gWaschkueche, gTrockner) {channel=“mqtt:topic:mosquitto:trockner:trockner_period” }
Number TrocknerOpState “Trockner [MAP(TrocknerState.map):%s]” <washingmachine_2> (gWaschkueche, gTrockner)
Switch Trockner “Trockner An” {channel=“mqtt:topic:mosquitto:trockner:trockner” }
Number TrocknerTotal “Trockner total Verbrauch [%.0f kWh]” (gWaschkueche, gTrockner) {channel=“mqtt:topic:mosquitto:trockner:trockner_total” }
Number TrocknerToday “Trockner Tagesverbrauch [%.0f kWh]” (gWaschkueche, gTrockner) {channel=“mqtt:topic:mosquitto:trockner:trockner_heute” }
Switch TrocknerOnline “Trockner online” (gOnlineMqttGeraete) {channel=“mqtt:topic:mosquitto:trockner:trockner_reachable” }
Number TrocknerWifi “Trockner WiFi [%s]” (gSignalStaerkeMqtt) {channel=“mqtt:topic:mosquitto:trockner:trockner_rssi” }

Thing:

Thing topic trockner “Trockner” {
Channels:
Type switch : trockner_reachable “Trockner Online” [ stateTopic=“trockner/tele/LWT”, transformationPattern=“MAP:tasmota-reachable.map”]
Type switch : trockner “Trockner” [ stateTopic=“trockner/stat/POWER1”, commandTopic=“trockner/cmnd/POWER1” ]
Type number : trockner_rssi “Trockner WiFi Signal Strength” [ stateTopic=“trockner/tele/STATE”, transformationPattern=“JSONPATH:$.Wifi.RSSI”]
Type number : trockner_power “Trockner Total Power” [ stateTopic="trockner/tele/SENSOR ", transformationPattern=“JSONPATH:$.ENERGY.Power”]
Type number : trockner_period “Trockner Period” [ stateTopic="trockner/tele/SENSOR ", transformationPattern=“JSONPATH:$.ENERGY.Period”]
Type number : trockner_total “Trockner Total Verbrauch” [ stateTopic="trockner/tele/SENSOR ", transformationPattern=“JSONPATH:$.ENERGY.Total”]
Type number : trockner_heute “Trockner Tagesverbrauch” [ stateTopic="trockner/tele/SENSOR ", transformationPattern=“JSONPATH:$.ENERGY.Today”]
}

Log:

12:27:36.974 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘mqtt:topic:mosquitto:trockner’ changed from UNINITIALIZED to INITIALIZING
12:27:37.001 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_reachable
12:27:37.016 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner
12:27:37.032 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_rssi
12:27:37.046 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_power
12:27:37.059 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_period
12:27:37.070 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_total
12:27:37.081 [DEBUG] [c.MqttChannelStateDescriptionProvider] - Adding state description for channel mqtt:topic:mosquitto:trockner:trockner_heute
12:27:37.108 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_total to topic: trockner/tele/SENSOR
12:27:37.109 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_rssi to topic: trockner/tele/STATE
12:27:37.106 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_heute to topic: trockner/tele/SENSOR
12:27:37.108 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner to topic: trockner/stat/POWER
12:27:37.150 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_power to topic: trockner/tele/SENSOR
12:27:37.168 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_period to topic: trockner/tele/SENSOR
12:27:37.172 [DEBUG] [hab.binding.mqtt.generic.ChannelState] - Subscribed channel mqtt:topic:mosquitto:trockner:trockner_reachable to topic: trockner/tele/LWT
12:27:37.195 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘mqtt:topic:mosquitto:trockner’ changed from INITIALIZING to ONLINE
12:27:37.221 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner received REFRESH but no value cached, ignoring
12:27:37.228 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner_total received REFRESH but no value cached, ignoring
12:27:37.223 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner_power received REFRESH but no value cached, ignoring
12:27:37.223 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner_period received REFRESH but no value cached, ignoring
12:27:37.221 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner_rssi received REFRESH but no value cached, ignoring
12:27:37.239 [DEBUG] [mqtt.generic.AbstractMQTTThingHandler] - Channel mqtt:topic:mosquitto:trockner:trockner_heute received REFRESH but no value cached, ignoring

What is the JSON string that you’re Tasmota device publishes? Can you give a full example?

14:46:46 MQT: trockner/tele/SENSOR = {“Time”:“2021-01-06T14:46:46”,“ENERGY”:{“TotalStartTime”:“2018-11-07T18:27:43”,“Total”:51.299,“Yesterday”:0.043,“Today”:0.000,“Period”:0,“Power”:0,“ApparentPower”:0,“ReactivePower”:0,“Factor”:0.00,“Voltage”:232,“Current”:0.000}}

Interesting - looks like all the Channels which you mention not updating are zero.

Have you restarted openHAB recently to see if that makes a difference?

I have upgraded the system from 2.5 to 3 but unfortunately the problem remained…

does someone have an idea?

It’s taken me some time, but I’ve found it!

You have:

stateTopic="trockner/tele/SENSOR "

You need

stateTopic="trockner/tele/SENSOR"

Note the removal of the space after SENSOR

:man_facepalming:

Thx :slight_smile: