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
-
Yet another MQTT gateway for MySensors :)
Development • 11 Aug 2014, 20:52 • scurb 16 Aug 2014, 20:59 -
Change color of RGB led strip over MQTT?
OpenHAB • 6 Jan 2017, 04:24 • augusthalverson 6 Jan 2017, 04:30 -
serial, Ethernet to MQTT
MyController.org • 14 Jun 2021, 09:38 • jkandasa 14 Jun 2021, 16:56 -
Mysensors - Keep alive / LWT (last will, testament)?
General Discussion • 25 Aug 2015, 08:10 • ahhk 25 Aug 2015, 10:41 -
Battery level to openHAB
OpenHAB • 20 Jan 2015, 19:25 • bomber 20 Jan 2015, 21:06 -
Problem with connecting serial gateway to openhab2
OpenHAB • 7 Jan 2020, 19:52 • Marcin Szyda 8 Jan 2020, 18:01 -
Node sending req packets constantly (Packet type 2 on MQTT)
Troubleshooting • 30 Apr 2017, 08:50 • Samuel235 30 Apr 2017, 16:58