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

    Pin 0 not selectable for widgets

    Scheduled Pinned Locked Moved Support & Troubleshooting
    6 Posts 2 Posters 91 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.
    • Åke ForslundÅ Offline
      Åke Forslund
      last edited by

      When adding a widget Pin 0 is not a valid option.

      I'm using something similar to

      pybytes.send_signal(0, temperature)
      pybytes.send_signal(1, battery_level)
      

      and it seems this "signal" id translates to "Pin" on pybytes. (Did I understand that correctly? Or did I set this up when I first configured the device?)

      In signals I can read that Pin 1 corresponds to the battery level and can be used with widgets and that The temperature signal corresponds to Pin 0 .

      I can successfully add widgets using Pin 1. But adding widgets using Pin 0 gives me an error message "Value must be greater than or equal to 1".

      Additionally clicking on the temperature signal in the signals tab shows "No messages", despite that the preview of the latest message works. (as I commented in a previous topic)

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mathias Kurz
        last edited by

        Hi @Åke-Forslund. Thank you for reporting this issue. Pin 0 is now working as expected. Let me know if you run into any issue 😊

        Åke ForslundÅ 1 Reply Last reply Reply Quote 1
        • Åke ForslundÅ Offline
          Åke Forslund
          last edited by Åke Forslund

          Yay!

          Can verify it works as expected now, Thank you!

          Edit: Noticed an issue, setting Pin 0 in a widget gives you the value from Pin 1

          1 Reply Last reply Reply Quote 0
          • Åke ForslundÅ Offline
            Åke Forslund @Mathias Kurz
            last edited by

            @Mathias-Kurz a new observation on the issue with the widget. It shows the information from signal 0 (18 C) for a few seconds right when an update occurs and then switches back to signal 1 (115).

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Mathias Kurz @Åke Forslund
              last edited by

              Hey @Åke-Forslund, we solved the issue. Thank you for reporting it

              Åke ForslundÅ 1 Reply Last reply Reply Quote 0
              • Åke ForslundÅ Offline
                Åke Forslund @Mathias Kurz
                last edited by

                @Mathias-Kurz super, works now!

                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