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 dashboard not accepting data

    Scheduled Pinned Locked Moved Pybytes IoT platform
    beta
    3 Posts 2 Posters 470 Views 2 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.
    • J Offline
      jmpratt
      last edited by jmpratt

      I have a WiPY 3 and it was pushing 6 virtual pins to my Pybytes dashboard for several weeks. Now only the first virtual pin gets updated. I experimented with my code and found that if I wait 3 seconds between virtual pin messages, they all make it. If I remove the 3 second pause (or drop it down to 1 second) only the first value makes it. Any ideas why this would happen? It worked fine for several weeks.
      -Jason

      def main_control():
          global  data_file_name
          sensor_read=measure.sensor_measurement()
          write_dict(sensor_read,data_file_name)
          pybytes.send_virtual_pin_value(False, 1, sensor_read['1'][1]) # send data to pybytes
          sleep_ms(3000)
          pybytes.send_virtual_pin_value(False, 2, sensor_read['1'][2])
          sleep_ms(3000)
          pybytes.send_virtual_pin_value(False, 3, sensor_read['0'][1])
          sleep_ms(3000)
          pybytes.send_virtual_pin_value(False, 4, sensor_read['0'][2])
          sleep_ms(3000)
          pybytes.send_virtual_pin_value(False, 5, sensor_read['0'][3])
          sleep_ms(3000)
          pybytes.send_virtual_pin_value(False, 6, sensor_read['0'][4])```
      1 Reply Last reply Reply Quote 0
      • J Offline
        jmpratt
        last edited by

        Never mind. I just saw in another post that the update rate has been limited to 1/sec.

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

          Glad you worked it out :) Ill try and get a note added to the documentation so this is more clear.

          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