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
-
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
Switching from v1.5 MQTT gateway to ESP8266 MQTT Client gateway
OpenHAB • 1 Feb 2016, 18:41 • mbj 8 Mar 2016, 22:07 -
Sensor reading incorrect data from the controller
Bug Reports • 27 Feb 2016, 10:07 • Brian Fernando 27 Feb 2016, 10:07 -
OpenHAB MySensors binding 2.5: V_VAR1 and String values
OpenHAB • 3 Jun 2020, 19:09 • syntacrsc 7 Jun 2020, 18:01 -
Can't get message from OpenHab to MySensor
OpenHAB • 26 Jul 2016, 05:30 • A Former User 27 Jul 2016, 04:58 -
HomeGenie via MQTT
HomeGenie • 22 Feb 2015, 19:47 • Cpt Jack 26 Sept 2015, 16:31 -
SmartSleep and multiple messages on HVAC sensor
OpenHAB • 28 Apr 2018, 14:08 • ogghst 8 May 2018, 19:36 -
A mesh network for use with ESP8266 and MQTT
Development • 23 Apr 2017, 02:01 • PhracturedBlue 26 Dec 2017, 12:55