Hi,
I'm trying to add a zigbee curtain switch in domoticz but I can't find any adapter for a curtain switch in zigbee2mqtt plugins.
Is it possible in domoticz ?
Thanks
Curtain Switch Zigbee2mqtt adapter
Moderator: leecollings
-
- Posts: 68
- Joined: Friday 12 December 2014 14:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter
The Xiaomi Aqara curtain motor is supported in zigbee2mqtt, however it is not supported in the Domoticz plugin as far as I can see, even though there was a request for it over on Github back in July
-
- Posts: 6
- Joined: Sunday 06 October 2019 19:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter
The switch is indeed working in zigbe2mqtt, helas no plugin for domoticz 

-
- Posts: 1
- Joined: Monday 11 November 2019 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter
Its a pity that there is no plugin but I made my Aqara curtain motor ZNCLDJ11LM working.
1. make a new dummy switch - switch
2. edit switch and change to Venetian Blinds EU - there are buttons open, close and stop
3. connect scripts to each button calling blinds thru mosquitto directly with command for topic "zigbee2mqtt/Xiaomi Curtain/set" with value "status","open" atc.
I am working on something better thru Node-Red to have feedback status when are curtains pulled manually.
1. make a new dummy switch - switch
2. edit switch and change to Venetian Blinds EU - there are buttons open, close and stop
3. connect scripts to each button calling blinds thru mosquitto directly with command for topic "zigbee2mqtt/Xiaomi Curtain/set" with value "status","open" atc.
I am working on something better thru Node-Red to have feedback status when are curtains pulled manually.
-
- Posts: 1
- Joined: Monday 09 December 2019 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter
I am also trying to make this work. Unfortunately I have very little experience with scripting in python or Domoticz.
But I have found that when I use the Ikea roller blind plugin, it will allow me to open the curtains.
Manually close it, and the button can open it.
But when I change the Switch Type to "Blinds" in domoticz both open and close work!
There's also a "Blinds percentage", that gives you a slider as well. This is what I want eventually, but that slider doesn't work.
So for now I need a way to get the plugin to not add a selector switch, but a "blinds" switch.
Is there anybody here that can point me in the right direction?
But I have found that when I use the Ikea roller blind plugin, it will allow me to open the curtains.
Manually close it, and the button can open it.
But when I change the Switch Type to "Blinds" in domoticz both open and close work!
There's also a "Blinds percentage", that gives you a slider as well. This is what I want eventually, but that slider doesn't work.
So for now I need a way to get the plugin to not add a selector switch, but a "blinds" switch.
Is there anybody here that can point me in the right direction?
-
- Posts: 4
- Joined: Wednesday 05 February 2020 7:40
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter - native support added into zigbee2mqtt plugin
Hi there!
Using ZNCLDJ11LM curtain motorts without native support (via bash scripts) i can`t get "Blinds percentage" slider, so i have asked Stas (author of zigbee2mqtt Domoticz plugin) to add an adapter for native support for these motors.
So now it works without any scripts, you just need to stop Domoticz, update zigbee2mqtt plugin and start Domoticz again - and all of your motors will be added with "dimmer" type.
I have tested it already, works perfectly, thanks to Stas!
Using ZNCLDJ11LM curtain motorts without native support (via bash scripts) i can`t get "Blinds percentage" slider, so i have asked Stas (author of zigbee2mqtt Domoticz plugin) to add an adapter for native support for these motors.
So now it works without any scripts, you just need to stop Domoticz, update zigbee2mqtt plugin and start Domoticz again - and all of your motors will be added with "dimmer" type.
I have tested it already, works perfectly, thanks to Stas!
Re: Curtain Switch Zigbee2mqtt adapter
I managed to connect my aqara B1 curtain motor to domoticz via zigbee2mqtt plugin and a zigbee usb dongle.
I now see a blinds percentage slider in Domotics. However the aqara motor does not seem to know the rails length. Any idea how to initialize this.
I do not have a xiami hub...
Thanks
PS : using Domoticz 2021.1 (build 13222)
I now see a blinds percentage slider in Domotics. However the aqara motor does not seem to know the rails length. Any idea how to initialize this.
I do not have a xiami hub...
Thanks
PS : using Domoticz 2021.1 (build 13222)
Re: Curtain Switch Zigbee2mqtt adapter
Hi all,
Sorry was a little to quick / lazy. Google on the topic delivered my answer (thx https://www.zigbee2mqtt.io / Koenkk)
With a MQTT set command { "options": { "reset_limits": true } } and then open / close the B1 motor reinitalizes it limits.
Works fine now
Sorry was a little to quick / lazy. Google on the topic delivered my answer (thx https://www.zigbee2mqtt.io / Koenkk)
With a MQTT set command { "options": { "reset_limits": true } } and then open / close the B1 motor reinitalizes it limits.
Works fine now
-
- Posts: 2
- Joined: Saturday 25 September 2021 21:32
- Target OS: Linux
- Domoticz version:
- Location: Poland
- Contact:
Re: Curtain Switch Zigbee2mqtt adapter
I did it by means of selector + bash script
Who is online
Users browsing this forum: No registered users and 1 guest