• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    requesting value from node

    scheduled pinned locked moved General Discussion
    6 posts 2 posters 966 views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • R offline
      rozpruwacz
      global:last-edited-by,

      Hi,
      I wonder if there is a way to request a value from the node. For example I have a dimmer node with temperature sensor. In the web interface I can see the temp in sensor details and I even can set a temperature (but of course this is not handled in the node :)). It would be cool if there was some kind of "refresh" button which would send req command to the node.

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @rozpruwacz
        global:last-edited-by,

        @rozpruwacz
        We can run request from Action board >> Send raw message or we can create an Operation to request payload. But it is not supported from the dashboard.

        one-reply-to-this-post last-reply-time reply quote 0
        • R offline
          rozpruwacz
          global:last-edited-by,

          @jkandasa thanks. So to use operation i need to create some kind of rule ?

          As a side note, maybe this is a good idea for a new feature ? Because for me sending a value to node and requesting its current value is complementary. I also think about some kind of node settings variables. For example a motion sensors could expose a trigger duration variable that could be changed from the interface. The value of such variable would be sent from the node to the controller only on demand (for the user to show him what is the current setting) and could be set from the controller. The only missing part in MyController for this scenario is refreshing the variable.

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @rozpruwacz
            global:last-edited-by,

            @rozpruwacz You can configure Operation on Timer too.
            Yes, this feature looks valid. Can you create a feature request on GitHub page?

            one-reply-to-this-post last-reply-time reply quote 0
            • R offline
              rozpruwacz
              global:last-edited-by,

              ok, I created new issue.

              jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
              • jkandasaJ offline
                jkandasa @rozpruwacz
                global:last-edited-by,

                @rozpruwacz Thank you!

                https://github.com/mycontroller-org/mycontroller/issues/459

                one-reply-to-this-post last-reply-time reply quote 0
                • first-post
                  last-post

                0

                online

                644

                users

                532

                topics

                3.4k

                posts
                Copyright © 2015-2025 MyController.org | Contributors | Localization