I created the following script for Hue selector switch, could be updated to ikea dimmer.
I'm an amateur in coding, so can be improved probably
return {
on = {
devices = {
503 --Hue selector switch
}
},
--States selector switch:
-- off-press
-- off-press-double
-- off-press-triple
-- off ...
Search found 5 matches
- Tuesday 24 November 2020 20:32
- Forum: Zigbee
- Topic: Dimmer function
- Replies: 3
- Views: 1994
- Tuesday 24 November 2020 19:15
- Forum: Zigbee
- Topic: [Solved] Hue selector switch automaticly resets to level 0
- Replies: 1
- Views: 243
Re: Hue selector switch automaticly resets to level 0
I found a solution, by added an additional level 0 state which is not used by zigbee.
Added the following code in line 11 of ~/domoticz/plugins/zigbee2mqtt/adapters/philips/hue_dimmer_switch.py
self.switch.add_level('off', 'off')
Now it looks like:
self.switch = SelectorSwitch(devices ...
Added the following code in line 11 of ~/domoticz/plugins/zigbee2mqtt/adapters/philips/hue_dimmer_switch.py
self.switch.add_level('off', 'off')
Now it looks like:
self.switch = SelectorSwitch(devices ...
- Monday 23 November 2020 20:24
- Forum: Zigbee
- Topic: [Solved] Hue selector switch automaticly resets to level 0
- Replies: 1
- Views: 243
[Solved] Hue selector switch automaticly resets to level 0
Hello,
I have domoticz 2020.2 running in combination with zigbee2mqtt.
In dzevents I'm creating a simple script to control a group of lamp with a HUE switch ( https://www.zigbee2mqtt.io/devices/324131092621.html ) via zigbee2mqtt
However every time the you press a button on the Hue switch, the ...
I have domoticz 2020.2 running in combination with zigbee2mqtt.
In dzevents I'm creating a simple script to control a group of lamp with a HUE switch ( https://www.zigbee2mqtt.io/devices/324131092621.html ) via zigbee2mqtt
However every time the you press a button on the Hue switch, the ...
- Thursday 03 October 2019 20:52
- Forum: Zigbee
- Topic: Zigbee2MQTT fail to add new devices to Domoticz
- Replies: 1
- Views: 2727
Re: Zigbee2MQTT fail to add new devices to Domoticz
Solved it!
Update the plugin and restarted domoticz
https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin
Then the TRADFRI remote control was added to Domoticz
DZ4743-00B is not yet supported by the plugin
So I added it manually by adding the following code to "/home/pi/domoticz/plugins ...
Update the plugin and restarted domoticz
https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin
Then the TRADFRI remote control was added to Domoticz
DZ4743-00B is not yet supported by the plugin
So I added it manually by adding the following code to "/home/pi/domoticz/plugins ...
- Thursday 03 October 2019 17:13
- Forum: Zigbee
- Topic: Zigbee2MQTT fail to add new devices to Domoticz
- Replies: 1
- Views: 2727
Zigbee2MQTT fail to add new devices to Domoticz
Hello all,
I'm new to the forum, running Domoticz and Zigbee2MQTT for a few months now and it works pretty stable.
But now I have trouble adding 2 different zigbee devices to Domoticz.
If I look into the Zigbee2MQTT log the devices successfully pair with the zigbee network, but they aren't added ...
I'm new to the forum, running Domoticz and Zigbee2MQTT for a few months now and it works pretty stable.
But now I have trouble adding 2 different zigbee devices to Domoticz.
If I look into the Zigbee2MQTT log the devices successfully pair with the zigbee network, but they aren't added ...