Control the ESP from a Domoticz based home system
Moderators: leecollings, remb0
- kaizmoto1489
- Posts: 1
- Joined: Tuesday 18 May 2021 6:04
- Target OS: -
- Domoticz version:
- Contact:
Control the ESP from a Domoticz based home system
hello
Last edited by kaizmoto1489 on Monday 30 October 2023 10:34, edited 3 times in total.
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control the ESP from a Domoticz based home system
Maybe this helps?
https://www.domoticz.com/wiki/Domoticz_ ... emperature
Specify RGB and brightness (optional)
RGB as hexadecimal number, RRGGBB without prefix (no 0x or #)
/json.htm?type=command¶m=setcolbrightnessvalue&idx=99&hex=RRGGBB&brightness=100&iswhite=false
Cheers,
Patrick
https://www.domoticz.com/wiki/Domoticz_ ... emperature
Specify RGB and brightness (optional)
RGB as hexadecimal number, RRGGBB without prefix (no 0x or #)
/json.htm?type=command¶m=setcolbrightnessvalue&idx=99&hex=RRGGBB&brightness=100&iswhite=false
Cheers,
Patrick
- waltervl
- Posts: 5149
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Control the ESP from a Domoticz based home system
You cannot place an RGB value from the rgb switch directly in the script url.
There are 2 ways to control color of your led strip:
1. Make a virtual selector switch with preset colors and send this to your ESP.
2. Make an RGB switch and use a DzVents script to pick up the color and send it to your ESP.
For more info see for example:
https://www.twoenter.nl/blog/en/domotic ... -domoticz/
Edit: In the dutch version of this blog user twoenter also mentions the DzVents script https://www.twoenter.nl/blog/domoticz/r ... -domoticz/
There are 2 ways to control color of your led strip:
1. Make a virtual selector switch with preset colors and send this to your ESP.
2. Make an RGB switch and use a DzVents script to pick up the color and send it to your ESP.
For more info see for example:
https://www.twoenter.nl/blog/en/domotic ... -domoticz/
Edit: In the dutch version of this blog user twoenter also mentions the DzVents script https://www.twoenter.nl/blog/domoticz/r ... -domoticz/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: Google [Bot] and 1 guest