• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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.7k 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 14 Nov 2016, 14:52

    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.

    J 1 Reply Last reply 14 Nov 2016, 16:06 Reply Quote 0
    • J Offline
      jkandasa @paul
      last edited by 14 Nov 2016, 16:06

      @paul Hope this one will help you

      1 Reply Last reply Reply Quote 0
      • P Offline
        paul
        last edited by 15 Nov 2016, 01:44

        @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.

        J 1 Reply Last reply 15 Nov 2016, 02:21 Reply Quote 0
        • J Offline
          jkandasa @paul
          last edited by jkandasa 15 Nov 2016, 02:21

          @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 22 Jun 2017, 14:19

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

            J 1 Reply Last reply 22 Jun 2017, 14:49 Reply Quote 0
            • J Offline
              jkandasa @mdoxan
              last edited by 22 Jun 2017, 14:49

              @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 23 Jun 2017, 06:11

                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

                629

                Users

                532

                Topics

                3.4k

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