Pybytes battery level doesn’t show up



  • If I use:

    
    pybytes.send_battery_level(battery_level)
    
    

    .. there is no data visible under pybytes notification.
    If I send it via it works without any problems..

    Doesn’t matter what I try... even if I just send an int.
    The status of the device battery doesn’t show up..

    And sometimes even the setup under the notification tab disappear and i have to set it up again..

    Can someone please advice me what I am doing wrong?

    Kind regards,
    Clyde


  • Global Moderator

    I was not even aware there was a distinction. It has to be around 10-15% that the notification text switches.



  • @Gijs Thnaks for your respond - i didnt got notified that you edited your answer.

    How does Pybytes calculate the critical state? i got all kind of notifications.. but they are not really helpful...

    Bildschirmfoto 2021-04-08 um 12.14.08.png

    kind regards,
    Clyde


  • Global Moderator

    Hi,
    Battery level reporting is unfortunately not properly setup on the Pybytes end, and I can reproduce the experience.
    I could not find a feature / bug report yet, so I added it to the list! Thanks for notifying us.

    Edit: I just revisited Pybytes, and the notification I set for low battery showed:
    Screenshot 2021-03-29 at 14.27.37.png

    Gijs


Log in to reply
 

Pycom on Twitter