How to use the value of 'Set Level' in a Action ?
Posted: Tuesday 11 December 2018 2:51
Hi,
My Hardware: RasPi3b with V4.10241 with MQTT client Gateway and a lot of ESP8266 modules.
I created two virtual dimmers. One as Dummy by 'hardware-Create Virtual Sensor' type=Light/Switch named test1 and the other as Virtual by 'Add Manual Light/Switch Device' type=Lightning2 named test2. If I click on the slider the percentage changes as expected but what I see in the log puzzles me.
The first generates these 2 lines:
2018-12-11 02:34:13.548 (Virtual) Light/Switch (test1)
2018-12-11 02:34:13.541 Status: User: Admin initiated a switch command (751/test1/Set Level)
the second generates these 2 lines:
2018-12-11 02:34:17.931 (Virtual) Lighting 2 (test2)
2018-12-11 02:34:17.924 Status: User: Admin initiated a switch command (752/test2/Set Level)
What I expected to be a variable or a parameter is displayed as Set Level, not the percentage from the slider.
I want to sent the percentage value of the slider with an ON Action/Off Action to a ESP8266 with ESPEasy Firmware. The Action I use should be something like this:
On Action: http://192.168.178.112/control?cmd=EXTPWM,105,Set_Level, where Set_Level should be the numeric value of the slider.
How can I use the value of 'Set Level' in a Action?
My Hardware: RasPi3b with V4.10241 with MQTT client Gateway and a lot of ESP8266 modules.
I created two virtual dimmers. One as Dummy by 'hardware-Create Virtual Sensor' type=Light/Switch named test1 and the other as Virtual by 'Add Manual Light/Switch Device' type=Lightning2 named test2. If I click on the slider the percentage changes as expected but what I see in the log puzzles me.
The first generates these 2 lines:
2018-12-11 02:34:13.548 (Virtual) Light/Switch (test1)
2018-12-11 02:34:13.541 Status: User: Admin initiated a switch command (751/test1/Set Level)
the second generates these 2 lines:
2018-12-11 02:34:17.931 (Virtual) Lighting 2 (test2)
2018-12-11 02:34:17.924 Status: User: Admin initiated a switch command (752/test2/Set Level)
What I expected to be a variable or a parameter is displayed as Set Level, not the percentage from the slider.
I want to sent the percentage value of the slider with an ON Action/Off Action to a ESP8266 with ESPEasy Firmware. The Action I use should be something like this:
On Action: http://192.168.178.112/control?cmd=EXTPWM,105,Set_Level, where Set_Level should be the numeric value of the slider.
How can I use the value of 'Set Level' in a Action?