Hello, I am trying to create a selector for the colors of the lamp, but it always gives an error.
If I enter the addresses in the browser, it is switched correctly, but it does not work in the Selectror switch.
Can anyone help me further?
RGB Selector dont work by me.
Moderators: leecollings, remb0
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
RGB Selector dont work by me.
- Attachments
-
- sshot-4.jpg (112.83 KiB) Viewed 317 times
-
- sshot-3.jpg (68.24 KiB) Viewed 318 times
-
- sshot-2.jpg (213.07 KiB) Viewed 318 times
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: RGB Selector dont work by me.
can someone please help me?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: RGB Selector dont work by me.
You need 3 /// when using it like this.
So something like
Code: Select all
http:///dz:8084/json.htm?type=command¶m=setcolbrightnessvalue&idx=3481&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:91,%22b%22:85,%22cw%22:0,%22ww%22:0}&brightness=3
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: RGB Selector dont work by me.
Hi, I don't quite understand!
I take the link for the color / brightness change from Chrome in develop mode.
I take the link for the color / brightness change from Chrome in develop mode.
Code: Select all
2021-02-17 18:51:03.306 Status: User: salopette (IP: 83.135.91.243) initiated a switch command (11917/Sauna-Color/Set Level)
2021-02-17 18:51:03.517 Error: Error opening url: http://192.168.178.37:8089/json.htm?type=command¶m=setcolbrightnessvalue&idx=486&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:137,%22b%22:0,%22cw%22:0,%22ww%22:0}&brightness=100
2021-02-17 18:51:06.017 Dummy: Light/Switch (Sauna-Color)
2021-02-17 18:51:06.007 Status: User: salopette (IP: 83.135.91.243) initiated a switch command (11917/Sauna-Color/Set Level)
2021-02-17 18:51:06.248 Error: Error opening url: http://192.168.178.37:8089/json.htm?type=command¶m=setcolbrightnessvalue&idx=486&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:137,%22b%22:0,%22cw%22:0,%22ww%22:0}&brightness=100
2021-02-17 18:51:07.588 Dummy: Light/Switch (Sauna-Color)
2021-02-17 18:51:07.580 Status: User: salopette (IP: 83.135.91.243) initiated a switch command (11917/Sauna-Color/Set Level)
2021-02-17 18:51:07.819 Error: Error opening url: http://192.168.178.37:8089/json.htm?type=command¶m=setcolbrightnessvalue&idx=486&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:137,%22b%22:0,%22cw%22:0,%22ww%22:0}&brightness=100
2021-02-17 18:51:09.259 Dummy: Light/Switch (Sauna-Color)
2021-02-17 18:51:09.246 Status: User: salopette (IP: 83.135.91.243) initiated a switch command (11917/Sauna-Color/Set Level)
2021-02-17 18:51:09.463 Error: Error opening url: http://192.168.178.37:8089/json.htm?type=command¶m=setcolbrightnessvalue&idx=486&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:137,%22b%22:0,%22cw%22:0,%22ww%22:0}&brightness=100
2021-02-17 18:51:10.738 Dummy: Light/Switch (Sauna-Color)
2021-02-17 18:51:10.730 Status: User: salopette (IP: 83.135.91.243) initiated a switch command (11917/Sauna-Color/Set Level)
2021-02-17 18:51:10.949 Error: Error opening url: http://192.168.178.37:8089/json.htm?type=command¶m=setcolbrightnessvalue&idx=486&color={%22m%22:3,%22t%22:0,%22r%22:255,%22g%22:137,%22b%22:0,%22cw%22:0,%22ww%22:0}&brightness=100
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: RGB Selector dont work by me.
Not much to understand. Just add the extra /
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 0 guests