Hello,
I am currently facing issue while using MQTT binding. Currently i am publishing data from a python script using paho mqtt driver.
Using below code i am publishing data (i.e string) on topic “name” via python,
Python:
mqtt_client.publish("name",found_name)
From Serial Terminal when i use Mosquitto_sub -t name it shows me the data published on the topic. So i think python script is properly working.
Now in Openhab Configuration demo.item files i am reading data from the same topic:
Items file:
Number EPBM4_Tmp_eth "EPBM4 Temperature [%.2f °C]" { mqtt="<[mosquitto:name:state:default]" }
Now when in run openhab server it show me following error:
[ab.core.events.EventPublisherDelegate] - given new state is NULL, couldn't post update for 'EPBM4_Tmp_eth'**
and at the same time i can see my data getting published on the same topic from mosqiitto_sub.
Can anyone help me to solve this issue ?