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 not being updated

    Scheduled Pinned Locked Moved Support & Troubleshooting
    pybytes
    5 Posts 3 Posters 563 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
      cirobr
      last edited by

      Hello,
      I wonder if there is any malfunction on Pybytes website today. My Pysense/LoPy4 is programmed to upload all its parameters once a minute through WiFi. By following code execution, it all appears to be working properly, but on Pybytes DATA page, only si.temperature() and si.dew_point() are automatically shown on UNDEFINED SIGNALS section (respectivelly channels 1 and 3). Furthermore, only si.temperature() is being updated once a minute. Neither of the other parameters are even listed on that page.

      Any hint on this is appreciated.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jirkakrepl
        last edited by

        Hello, how many different signals (e.g. send_virtual_pin_value() calls) are you sending at once (per minute), please?

        We have implemented the rate limiter which allows sending just one signal per device per second.

        Maybe you will need to adjust your python code to sleep between send_virtual_pin_value() calls

        software developer @ Pycom

        Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io

        Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/

        1 Reply Last reply Reply Quote 0
        • C Offline
          cirobr
          last edited by

          Thanks for the feedback. OK that might explain, as the code worked quite well for many months. Total 14 signals. Let me add some sleep in between and see what happens.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cirobr
            last edited by

            Hello. Fix is confirmed, by simply adding sleep(1) in between each send_virtual_pin_value() instruction. All 14 signals are back there.

            Was this change on server side triggered by overload?

            Thank you.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Paul Thornton @cirobr
              last edited by

              @cirobr glad that got it fixed for you.

              Not sure if it was a case of overload. More just having time to develop rate limiting that never existed previously.

              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