Control the ESP from a Domoticz based home system

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
User avatar
kaizmoto1489
Posts: 1
Joined: Tuesday 18 May 2021 6:04
Target OS: -
Domoticz version:
Contact:

Control the ESP from a Domoticz based home system

Post by kaizmoto1489 »

hello
Last edited by kaizmoto1489 on Monday 30 October 2023 10:34, edited 3 times in total.
PatrickSt91
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

Post by PatrickSt91 »

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&param=setcolbrightnessvalue&idx=99&hex=RRGGBB&brightness=100&iswhite=false

Cheers,
Patrick
User avatar
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

Post by waltervl »

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/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest