Im looking for a dummy switch with only dimmer en colortemp. setting.
The only options when adding hardware is with RGBWW.
Am i missing something?
I know it is possible, becouse i have this device in Zigbee2Mqtt plugin.
color temperature switch.
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: color temperature switch.
Thx for reporting. There seems not to be a standard way yet. I will create a PR for it but until the PR is merged into Beta you can do it with
Method 1:
In your browser address bar:
Code: Select all
http://<domoticz IP:domoticz port>/json.htm?type=createdevice&idx=<idx of your dummy hardware>&sensorname=<name of the new device>&sensormappedtype=0xF108
Define a virtual device as switch in the GUI
Write down the created <idx>
Code: Select all
sudo service domoticz stop
cd <domoticz dir>
sudo cp domoticz.db domoticz.keep # just to be sure
sudo sqlite3 domoticz.db
sqlite> update devicestatus set subtype = 8, type = 241, switchType = 7 where id = <idx>;
.quit
sudo service domoticz start
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: 106
- Joined: Monday 11 March 2019 0:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: color temperature switch.
Thnx @waaren, this one did the job..Method 1:
In your browser address bar:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: color temperature switch.
WW Switch type now available in virtual device picklist (Beta V2020.2 build 12742)
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 1 guest