RGB Selector dont work by me.

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
salopette
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.

Post by salopette »

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?
Attachments
sshot-4.jpg
sshot-4.jpg (112.83 KiB) Viewed 317 times
sshot-3.jpg
sshot-3.jpg (68.24 KiB) Viewed 318 times
sshot-2.jpg
sshot-2.jpg (213.07 KiB) Viewed 318 times
salopette
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.

Post by salopette »

can someone please help me?
User avatar
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.

Post by waaren »

salopette wrote: Wednesday 17 February 2021 17:31 can someone please help me?
You need 3 /// when using it like this.

So something like

Code: Select all

http:///dz:8084/json.htm?type=command&param=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
salopette
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.

Post by salopette »

Hi, I don't quite understand!
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&param=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&param=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&param=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&param=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&param=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
User avatar
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.

Post by waaren »

salopette wrote: Wednesday 17 February 2021 18:47 Hi, I don't quite understand!
Not much to understand. Just add the extra /
selector.png
selector.png (38.44 KiB) Viewed 288 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests