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
-
The Most Stable Controller and gateway, vera or another listed controller
Controllers • 24 Nov 2014, 03:15 • raditv 25 Nov 2014, 07:31 -
Node Child and MQTT Subscribe
Development • 16 Jan 2015, 15:28 • Gambituk 17 Jan 2015, 14:11 -
HomeGenie via MQTT
HomeGenie • 22 Feb 2015, 19:47 • Cpt Jack 26 Sept 2015, 16:31 -
serial, Ethernet to MQTT
MyController.org • 14 Jun 2021, 09:38 • jkandasa 14 Jun 2021, 16:56 -
RFM69 MQTT gateway radio send loop
Troubleshooting • 31 Oct 2019, 11:40 • alexelite 1 Nov 2019, 22:00 -
Battery level to openHAB
OpenHAB • 20 Jan 2015, 19:25 • bomber 20 Jan 2015, 21:06 -
Raspberry Pi2 + MQTT Gateway in one box!
My Project • 18 Apr 2015, 03:36 • kunall 21 Apr 2015, 09:08