(SOLVED) Sensebender Gateway and HomeAssistant: where does the battery level come from?



  • Hello,

    currently I'm working on a custom Sensebender Gateway. I adapted the variant files to my hardware and it works so far. It's an Ethernet Gateway and the integration into HomeAssistant also worked well. But in HA it always shows 0% battery level (regardless of the level at the pin) and I didn't find the source location where that comes from. Can anyone tell me where to find it?

    I would like to measure the supply and/or battery voltage and calculate some realistic battery level.

    EDIT:
    Something like

    sendBatteryLevel(91);
    

    solves the issue.


Log in to reply
 

Suggested Topics

  • 1
  • 1
  • 5
  • 10
  • 1
  • 2

1
Online

11.4k
Users

11.1k
Topics

112.7k
Posts