Pybytes dashboard not accepting data
-
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.
-Jasondef 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])``` -
Never mind. I just saw in another post that the update rate has been limited to 1/sec.
-
Glad you worked it out :) Ill try and get a note added to the documentation so this is more clear.
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