Custom Widget to send payload to sensor variable
-
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 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.
-
@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
-
Can you pleeeease share an example of how to control/change sensors variables from my own html (custom widget)?
-
@mdoxan your needs not addressed by http://forum.mycontroller.org/topic/20/widget-sensor-custom-buttons ?
-
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