[SOLVED] Proper Syntax for Inbound Mqtt message of Tasmota Analog input

Running Openhabian 2.4.0~20180919034315-1 (Build #1369)
Sonoff-Tasmota 6.2.1.8 running on a NodeMCU

Need some help in that I can’t figure out the proper syntax for my item configuration.

I am trying to read a value from Digital pin 0 that can be later used in a rule for automation. The Nodemcu is programmed and working I can see that it is showing the proper value from my sensor in the Tasmota web interface. Mqtt is setup on my system and working. I know I am missing something obvious:crazy_face:

Thanks…

.items

Number MasterIRBlastrLightDetector "TV power sensor" 
            {mqtt="<[mosquitto:TestIRblaster/tele/SENSOR:state:JSONPATH($.ANALOG.A0)]"}

mqtt broadcast of device

19:40:22 MQT: TestIRblaster/tele/SENSOR = {"Time":"2018-09-26T19:40:22","Switch1":"ON","ANALOG":{"A0":187}}

Enable the logging and look in the console. It will show exactly that topic the value is reported to. Make sure they match your Item’s config character by character.

You are correct. :grinning:
Doh a typo!!
I see it now.

14:57:52.447 [INFO ] [smarthome.event.ItemStateChangedEvent] - MasterIRBlastrLightDetector changed from 187 to 967

Thank you for all your help throughout the forum. It is greatly appreciated :slightly_smiling_face:

Please mark the thread as solved. Thanks

Hello!!!
What about Tasmota Analog Imput autodiscover? Is working?
Thanks to all!
Corrado