Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. OpenHAB
  4. OpenHab, MQTT gateway and Battery level - how?

OpenHab, MQTT gateway and Battery level - how?

Scheduled Pinned Locked Moved OpenHAB
mqttopenhab
3 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doctor64
    wrote on last edited by doctor64
    #1

    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.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      doctor64
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • gaduG Offline
        gaduG Offline
        gadu
        wrote on last edited by gadu
        #3

        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?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        22

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular