I got this far,
String OpenMQTTLWT {mqtt="<[mosquitto:home/OpenMQTTGateway/LWT:state:*:default]", autoupdate="false" }
Trying to check what the LWT “return” was going to give back, but thought I was missing the LWT “return” as it only appears at boot time of the esp device, when watching mosquitto -v
with your example I dont seem to be getting anything into openhab
I am using,
Switch GatewayAlive "MQTT ESP32 Alive" {mqtt="<[mosquitto:home/OpenMQTTGateway/LWT:state:ON:Online],<[mosquitto:home/OpenMQTTGateway/LWT:state:OFF:Offline]"}
goes here
Update, I have an ON for the LWT state, openhab was not connecting to mosquitto, not spotted and OFF state yet
Can open fields be fetched ie all the fields from a device to prove the data sources