Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Pybytes battery level doesn’t show up

    Scheduled Pinned Locked Moved Pybytes IoT platform
    5 Posts 3 Posters 70 Views 3 Watching
    Loading More Posts
    • 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.
    • C Offline
      Clyde Bess
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by Gijs

        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

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Clyde Bess @Gijs
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • L Offline
              Lorie Petty
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom