Hi all,
I am really puzzled. In my production environment I have upgraded from 2.3 to 2.4 stable (using openhabian).
After the upgrade MQTT (V1.13) binding does not seem to work anymore, in a sense that items linked to an MQTT topic don’t get updated.
I use textual configuration (addons.cfg).
I have checked the suggestions found in other threads such as:
- enable legacy bindings
- remove and install the binding
- increase the log level in Karaf to check for errors
None of this helped me finding the cause.
from Karaf console:
openhab> bundle:list -s | grep mqtt
225 x Active x 80 x 1.13.0 x org.openhab.action.mqtt
244 x Active x 80 x 1.13.0 x org.openhab.io.transport.mqtt
256 x Active x 80 x 1.13.0 x org.openhab.binding.mqtt
Attached is the log of mqtt binding during startup:
2019-02-22 12:04:27.469 [DEBUG] [ng.mqtt.internal.MqttEventBusBinding] - MQTT: Activating event bus binding.
2019-02-22 12:04:27.478 [DEBUG] [ng.mqtt.internal.MqttEventBusBinding] - Initializing MQTT Event Bus Binding
2019-02-22 12:04:27.480 [DEBUG] [org.openhab.binding.mqtt ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={service.id=480, service.bundleid=256, service.scope=bundle, event.topics=openhab/*, service.pid=org.openhab.mqtt-eventbus, component.name=org.openhab.binding.mqtt.eventbus, component.id=302} - org.openhab.binding.mqtt
2019-02-22 12:04:27.481 [DEBUG] [ng.mqtt.internal.MqttEventBusBinding] - Setting up Event Bus State Publisher for topic /OH2Varazze/status/${item}
2019-02-22 12:04:27.484 [TRACE] [ng.mqtt.internal.MqttEventBusBinding] - No topic defined for Event Bus State Subscriber
2019-02-22 12:04:27.485 [TRACE] [ng.mqtt.internal.MqttEventBusBinding] - No topic defined for Event Bus Command Publisher
2019-02-22 12:04:27.488 [TRACE] [ng.mqtt.internal.MqttEventBusBinding] - No topic defined for Event Bus Command Subscriber
2019-02-22 12:04:27.490 [DEBUG] [ng.mqtt.internal.MqttEventBusBinding] - MQTT Event Bus Binding initialization completed.
2019-02-22 12:04:27.509 [DEBUG] [org.openhab.binding.mqtt ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.mqtt.MqttBindingProvider}={service.id=481, service.bundleid=256, service.scope=bundle, component.name=org.openhab.binding.mqtt.genericbindingprovider, component.id=303} - org.openhab.binding.mqtt
2019-02-22 12:04:28.056 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cEsternoSudOvest
2019-02-22 12:04:28.060 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.063 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cEsternoSudOvest' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.067 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cEsternoSudEst
2019-02-22 12:04:28.070 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.073 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cEsternoSudEst' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.077 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R1
2019-02-22 12:04:28.081 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.084 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R1' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.088 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R2
2019-02-22 12:04:28.091 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.094 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R2' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.098 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R3
2019-02-22 12:04:28.102 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.105 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R3' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.113 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R4
2019-02-22 12:04:28.117 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.120 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R4' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.123 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R5
2019-02-22 12:04:28.127 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.130 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R5' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.134 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_R6
2019-02-22 12:04:28.138 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.144 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_R6' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.148 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p1
2019-02-22 12:04:28.151 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.154 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p1' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.157 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p2
2019-02-22 12:04:28.160 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.163 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p2' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.166 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p3
2019-02-22 12:04:28.170 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.172 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p3' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.176 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p4
2019-02-22 12:04:28.179 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.182 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p4' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.185 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p5
2019-02-22 12:04:28.188 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.191 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p5' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.194 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p6
2019-02-22 12:04:28.197 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.200 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p6' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.203 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p7
2019-02-22 12:04:28.206 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.209 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p7' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.213 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_p8
2019-02-22 12:04:28.215 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.218 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_p8' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.221 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT3_p1
2019-02-22 12:04:28.225 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.227 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT3_p1' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.231 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT3_p2
2019-02-22 12:04:28.234 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.237 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT3_p2' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.240 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item nESPT2Uptime
2019-02-22 12:04:28.243 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'nESPT2Uptime' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.247 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item nESPT3Uptime
2019-02-22 12:04:28.250 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'nESPT3Uptime' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.253 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item nESPT4Uptime
2019-02-22 12:04:28.257 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'nESPT4Uptime' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.260 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT2_LWT
2019-02-22 12:04:28.263 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.266 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT2_LWT' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.269 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item cESPT3_LWT
2019-02-22 12:04:28.272 [DEBUG] [t.internal.AbstractMqttMessagePubSub] - No transformation service found for MAP
2019-02-22 12:04:28.275 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'cESPT3_LWT' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.278 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item testLWT
2019-02-22 12:04:28.281 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'testLWT' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.284 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item sESPT2Wifi
2019-02-22 12:04:28.288 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'sESPT2Wifi' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.291 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item sESPT3Wifi
2019-02-22 12:04:28.294 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'sESPT3Wifi' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.297 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item sESPT2MQTT
2019-02-22 12:04:28.301 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'sESPT2MQTT' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.304 [TRACE] [.internal.MqttGenericBindingProvider] - Starting to load MQTT config for item sESPT3MQTT
2019-02-22 12:04:28.307 [DEBUG] [binding.mqtt.internal.MqttItemConfig] - Loaded MQTT config for item 'sESPT3MQTT' : 1 subscribers, 0 publishers
2019-02-22 12:04:28.333 [DEBUG] [org.openhab.binding.mqtt ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={service.id=483, service.bundleid=256, service.scope=bundle, event.topics=openhab/*, component.name=org.openhab.binding.mqtt.MqttItemBinding, component.id=304} - org.openhab.binding.mqtt
2019-02-22 12:04:28.341 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STARTING - org.openhab.binding.mqtt
2019-02-22 12:04:28.344 [DEBUG] [.binding.mqtt.internal.MqttActivator] - MQTT binding has been started.
2019-02-22 12:04:28.352 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STARTED - org.openhab.binding.mqtt
addons.cfg:
# The base installation package of this openHAB instance
# Note: This is only regarded at the VERY FIRST START of openHAB
# Optional. If not set, the dashboard (https://<yourserver>:8080/) will ask you to choose a package.
#
# Valid options:
# - minimal : Installation only with dashboard, but no UIs or other addons
# - simple : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality!
# - standard : Default setup for normal users, best for textual setup
# - expert : Setup for expert users, especially for people migrating from openHAB 1.x
# - demo : A demo setup which includes UIs, a few bindings, config files etc.
#
package = standard
# Access Remote Add-on Repositories
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation of
# any legacy 1.x add-on and all experimental features. (default is false for offline distro, true for online distro)
#
remote = true
# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
legacy = true
# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
binding = exec1,astro,ntp,wol1,weather1,networkhealth1,tcp1,zwave,xbmc1,mqtt1,http1,networkupstools1,systeminfo,expire1,mihome,tado
# A comma-separated list of UIs to install (e.g. "basic,paper")
ui = basic,paper,classic,cometvisu,habmin,habpanel
# A comma-separated list of persistence services to install (e.g. "rrd4j,jpa")
persistence = rrd4j,mapdb
# A comma-separated list of actions to install (e.g. "mail,pushover")
action = xbmc, mail, mqtt
# A comma-separated list of transformation services to install (e.g. "map,jsonpath")
transformation = map, regex
# A comma-separated list of voice services to install (e.g. "marytts,freetts")
#voice =
# A comma-separated list of miscellaneous services to install (e.g. "myopenhab")
misc = restdocs, openhabcloud
mqtt items file:
//ESPT3
Switch sEsternoSudOvest (gESP,gCloud) {http=">[ON:GET:http://192.168.88.203/control?cmd=event,Group1on=1] >[OFF:GET:http://192.168.88.203/control?cmd=event,Group1off=1]"}
Contact cEsternoSudOvest (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT3/Relay1/r1:state:MAP(inverted-contact.map)]"}
Switch sEsternoSudEst (gESP,gCloud) {http=">[ON:GET:http://192.168.88.203/control?cmd=event,Group1on=2] >[OFF:GET:http://192.168.88.203/control?cmd=event,Group1off=2]"}
Contact cEsternoSudEst (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT3/Relay1/r2:state:MAP(inverted-contact.map)]"}
//ESPT2
Switch sESPT2_R1 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=1,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=1,1]"}
Contact cESPT2_R1 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r1:state:MAP(inverted-contact.map)]"}
Switch sESPT2_R2 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=2,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=2,1]"}
Contact cESPT2_R2 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r2:state:MAP(inverted-contact.map)]"}
Switch sESPT2_R3 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=3,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=3,1]"}
Contact cESPT2_R3 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r3:state:MAP(inverted-contact.map)]"}
Switch sESPT2_R4 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=4,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=4,1]"}
Contact cESPT2_R4 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r4:state:MAP(inverted-contact.map)]"}
Switch sESPT2_R5 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=5,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=5,1]"}
Contact cESPT2_R5 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r5:state:MAP(inverted-contact.map)]"}
Switch sESPT2_R6 (gESP,gCloud) {http=">[ON:GET:http://192.168.88.202/control?cmd=event,ReleAction=6,0] >[OFF:GET:http://192.168.88.202/control?cmd=event,ReleAction=6,1]"}
Contact cESPT2_R6 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/Relay/r6:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p1 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p1/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p2 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p2/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p3 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p3/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p4 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p4/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p5 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p5/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p6 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p6/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p7 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p7/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT2_p8 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT2/p8/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT3_p1 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT3/p1/Switch:state:MAP(inverted-contact.map)]"}
Contact cESPT3_p2 (gESP,gCloud) {mqtt="<[mqtt_varazze:/ESPT3/p2/Switch:state:MAP(inverted-contact.map)]"}
//WATCHDOG
Switch sCheckESPT2 "(2) Is ESPT2 ON?" (gESP,gTestroom) { nh="192.168.88.202" }
Number nESPT2Uptime "(1) Uptime ESPT2 [%.1f gg]" (gESP) {mqtt="<[mqtt_varazze:/ESPT2/SysInfo/UptimeDays:state:default]",expire="3h,NULL"}
DateTime dESPT2LastSeen "(1) Last Seen [%1$tA %1$td-%1$tm-%1$tY %1$tT]" (gESP)
Switch sCheckESPT3 "(2) Is ESPT3 ON?" (gESP,gTestroom) { nh="192.168.88.203" }
Number nESPT3Uptime "(1) Uptime ESPT3 [%.1f gg]" (gESP) {mqtt="<[mqtt_varazze:/ESPT3/SysInfo/UptimeDays:state:default]",expire="3h,NULL"}
DateTime dESPT3LastSeen "(1) Last Seen [%1$tA %1$td-%1$tm-%1$tY %1$tT]" (gESP)
Switch sCheckESPT4 "(2) Is ESPT4 ON?" (gESP,gTestroom) { nh="192.168.88.204" }
Number nESPT4Uptime "(1) Uptime ESPT4 [%.1f gg]" (gESP) {mqtt="<[mqtt_varazze:/ESPT4/SysInfo/UptimeDays:state:default]",expire="3h,NULL"}
DateTime dESPT4LastSeen "(1) Last Seen [%1$tA %1$td-%1$tm-%1$tY %1$tT]" (gESP)
//LWT
Contact cESPT2_LWT (gESP) {mqtt="<[mqtt_varazze:/ESPT2/status/LWT:state:MAP(lwt.map)]"}
Contact cESPT3_LWT (gESP) {mqtt="<[mqtt_varazze:/ESPT3/status/LWT:state:MAP(lwt.map)]"}
String testLWT "ESP2 Message [%s]" (gESP) {mqtt="<[mqtt_varazze:/ESPT2/status/LWT:state:default"}
String sESPT2Wifi "ESPT2 Last WifiMessage [%s]" (gESP) {mqtt="<[mqtt_varazze:/Alarm/ESPT2/WiFistatus:state:default"}
String sESPT3Wifi "ESPT3 Last WifiMessage [%s]" (gESP) {mqtt="<[mqtt_varazze:/Alarm/ESPT3/WiFistatus:state:default"}
String sESPT2MQTT "ESPT2 Last MQTTMessage [%s]" (gESP) {mqtt="<[mqtt_varazze:/Alarm/ESPT2/MQTTstatus:state:default"}
String sESPT3MQTT "ESPT3 Last MQTTMessage [%s]" (gESP) {mqtt="<[mqtt_varazze:/Alarm/ESPT3/MQTTstatus:state:default"}
transformation files:
inverted-contact.map
0=CLOSED
1=OPEN
CLOSED=0
OPEN=1
and
inverted-binary.map
0=ON
1=OFF
ON=0
OFF=1
I am stuck now.
Any idea to resolve the issue?