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

    Custom Widget to send payload to sensor variable

    General Discussion
    3
    7
    2385
    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
      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.

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

        @paul Hope this one will help you

        1 Reply Last reply Reply Quote 0
        • P
          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.

          jkandasa 1 Reply Last reply Reply Quote 0
          • jkandasa
            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
              mdoxan last edited by

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

              jkandasa 1 Reply Last reply Reply Quote 0
              • jkandasa
                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
                  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

                  0
                  Online

                  638
                  Users

                  495
                  Topics

                  3.2k
                  Posts

                  Copyright © 2015-2022 MyController.org | Contributors | Localization