(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
 

1 out of 1

Suggested Topics


  • Announcements   29 Mar 2014, 17:08

    1

  • Development   15 Nov 2024, 10:59

    3

  • Development   17 Mar 2025, 02:35

    1

  • Development   4 Feb 2025, 12:14

    3

  • Development   12 Mar 2025, 23:39

    11

  • Development   15 Jan 2025, 08:51

    6

11
Online

11.5k
Users

11.1k
Topics

112.8k
Posts