• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Custom Widget to send payload to sensor variable

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 3 Posters 2.6k Views 1 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.
    • P Offline
      paul
      last edited by

      Is there an example for sending a payload to a sensor variable? I want to create my own html button to send a payload to a sensor variable.

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @paul
        last edited by

        @paul Hope this one will help you

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

          @jkandasa I think i am talking about custom html buttons. I do use custom buttons for IR sensors. Because i am making a confirmation button, i need to use my own html.

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @paul
            last edited by jkandasa

            @paul try this one and use REST API to send data to controller from GUI. Refer REST API >> https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/services/rest_services.js

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

              Can you pleeeease share an example of how to control/change sensors variables from my own html (custom widget)?

              jkandasaJ 1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa @mdoxan
                last edited by

                @mdoxan your needs not addressed by http://forum.mycontroller.org/topic/20/widget-sensor-custom-buttons ?

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

                  With Sensor custom buttons I can add only buttons ... I need to add also other HTML info ... Can I embed those buttons in my custom HTML?
                  Thanks a lot for your answers

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  2

                  Online

                  590

                  Users

                  529

                  Topics

                  3.4k

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