OpenHab, MQTT gateway and Battery level - how?
doctor64 last edited by doctor64
I trying to implement some battery monitoring for sensors. I can see what messages successfully received by MQTT gateway - but how i can get battery information from OpenHab?
Also, anybody able to make V_SCETCH_NAME work? I see only emty string sent from MQTT gateway to OpenHab.
doctor64 last edited by
Ah, i always must try to search forum before asking a question!
Found fixed MQTT gateway code (https://github.com/Damme/MQTTGateway/commit/f10843f5efd9c37900624fe57275be11c69e3942) and after small fix it resolve both problems.
Also found what Ethernet library support DHCP, which also solve another of my problem.
gadu last edited by gadu
Hi @doctor64 ,
How did you solve the battery reporting?
Did you implement the changes in h and cpp file from the link and compiled/uploaded the gateway sketch again?