Hi all
I have a problem to read data from my DB.
I have installed add-ons for Mysql and persistence service, but I don’t be able to read data from mydb.
With my C programming script, I store temperature value on my DB.
Now I want to read this value with openHab, so I can see it from my mobile app
Could you help me? can I read by openhab data stored on my personal MySQL DB?
I need only the latest value.
So, I must create a client MQTT that keep the latest value from my DB and after send it to openhab via REST api? Correct?
Thanks
Now I try to send MQTT message to openhab, and after take this message with REST.
If I send MQTT in real time to openhab, I don’t need to save data on my DB, because with MQTT I take the vale from DB stored a few time before.