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
-
💬 Bed occupancy detector
OpenHardware.io • 4 Oct 2018, 19:18 • openhardware.io 4 Oct 2018, 19:18 -
[Solved] MQTT gateway problem
Troubleshooting • 10 Oct 2016, 21:29 • pinkkoff 13 Oct 2016, 20:10 -
serial, Ethernet to MQTT
MyController.org • 14 Jun 2021, 09:38 • jkandasa 14 Jun 2021, 16:56 -
ESP8266MQTTClientGateway
Bug Reports • 30 Jan 2016, 10:26 • mbj 30 Jan 2016, 14:16 -
Change color of RGB led strip over MQTT?
OpenHAB • 6 Jan 2017, 04:24 • augusthalverson 6 Jan 2017, 04:30 -
HomeGenie via MQTT
HomeGenie • 22 Feb 2015, 19:47 • Cpt Jack 26 Sept 2015, 16:31 -
thethingbox
General Discussion • 12 Feb 2015, 01:00 • gregl 21 Feb 2015, 02:24