OpenHab, MQTT gateway and Battery level - how?
-
Hello!
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.
-
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.
-
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?
Suggested Topics
-
Change color of RGB led strip over MQTT?
OpenHAB • 6 Jan 2017, 04:24 • augusthalverson 6 Jan 2017, 04:30 -
Watchdog on 2.0
General Discussion • 11 Sept 2016, 16:10 • CrankyCoder 7 Jan 2017, 11:57 -
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
MQTT controller - ping but Connection timeout on MQTT clients
Controllers • 18 Jan 2015, 17:31 • cayco 15 Apr 2015, 19:12 -
Raspberry Pi and MQTT-OpenHAB
General Discussion • 27 Nov 2014, 17:33 • C.r.a.z.y. 30 Nov 2014, 17:59 -
OpenHab mqtt binding only one topic
OpenHAB • 27 Jan 2015, 17:46 • mothpaul 28 Jan 2015, 15:37 -
Openhab Puzzle Rule Programmer
OpenHAB • 7 Dec 2014, 10:44 • C.r.a.z.y. 8 Dec 2014, 03:54