I’m using your driver for smartwings window treatment (ran into the same issue with reverse operation with stock driver) and it’s working great operating the windows individually.
Am running into an issue with automation in a room with 8 roller shades. Have a routine which closes all windows to preset position at a certain time, however
Some windows close to the preset position… but some close fully (it’s random)
The preset position in automation seems to be 50% (although have set preset to 55% using the smartwings remote)
Will I need to create routine for each window (instead of having single routine which includes all 8 windows)?
Once the % command is sent, it is the device itself that should stop at the sent position.
I don’t know if putting fewer devices in the same routine would help.
You can try delaying 7 of the actions for a different number of seconds in the routine itself, this way the command will be sent sequentially to each of the 8 blinds instead of all of them simultaneously.
This appears to be working for me, just installed the SmartWings blinds and I had the reversing direction issue with SmartWings - not just reversed, but then would seem to swap back and re-reverse so a simple change of routine wording didn’t help, it was always wrong. Also the battery always showed 50% which wasn’t as big of a concern but annoying. I updated with your driver, didn’t work initially but then removed and re-added the shade devices again and that picked up the new driver. Now working in proper direction with battery indicator. Thank you! It looks like you have a bunch of other ST drivers, do you have any documentation on what they all do? Really impressed, I haven’t been in this group for a few years, I was very early with ST back when they launched.
I just installed 2 SmartWings roller blinds. The default drivers worked backwards as seen by others here. I sent an email to SmartWings customer support and they sent me a link to this thread to install the Mc Zigbee driver. I sure do hope the author is getting some compensation from them for doing their work!
Wait … about the “Open” and “Close” commands being swapped: The Aeotec Pico Shutter suffers the same problem, both with the generic “Zigbee Window Treatment” driver and with Aeotec’s own.
Could you please give a quick summary of what I can do? Thanks!
This PR is the one that introduces the aeotec Pico in the stock drivers, but I don’t see that it is implemented in the code of the stock drivers yet, I don’t know what the problem is.
It is a very complete driver, with profiles for Venetian and normal blinds and many preferences.
Indeed, in the driver, level 0% is open and 100% is closed, unlike the standards.
It works poorly for you because your device is paired as a generic device and the driver uses 0% closed and 100% open and your device works the other way around.
If it is true that it is matched as a generic, you should not see all these preferences in the profile
name: window-treatment-aeotec-pico
components:
- id: main
capabilities:
- id: windowShade
version: 1
- id: windowShadeLevel
version: 1
- id: windowShadePreset
version: 1
- id: temperatureAlarm
version: 1
- id: refresh
version: 1
categories:
- name: Blind
- id: button1
label: Switch 1
capabilities:
- id: button
version: 1
categories:
- name: RemoteController
- id: button2
label: Switch 2
capabilities:
- id: button
version: 1
categories:
- name: RemoteController
preferences:
- name: "operatingMode"
title: "Operating Mode"
description: "Set roller shade operating mode."
required: false
preferenceType: enumeration
definition:
options:
0: "Roll Shade mode"
1: "Shutter mode"
default: 0
- name: "presetLiftPosition"
title: "Shade Position Preset"
description: "Set a preset for the shade position."
required: false
preferenceType: number
definition:
minimum: 0
maximum: 100
default: 50
- name: "timeShadeOpenClose"
title: "Time of moving up/down"
description: "The time when the motor moves from the open limit to the close limit. The unit is 0.01 second."
required: false
preferenceType: number
definition:
minimum: 0
maximum: 60000
default: 6000
- name: "timeMomentaryMovement"
title: "Time of momentary movement"
description: "The time of motor action during momentary movement. The unit is 0.001 second."
required: false
preferenceType: number
definition:
minimum: 1
maximum: 65535
default: 500
- name: "shadeMovementMode"
title: "Shade Movement Mode"
description: "Change the shade movement mode. NOTE: Press and hold two external switch at the same time for 5 seconds, change between 2 modes. Indicator Light will blink quickly."
required: false
preferenceType: enumeration
definition:
options:
0: "Momentary movement"
1: "Continous movement"
default: 1
- name: "timeMotorResponse"
title: "Time of motor response"
description: "The time of motor response. The unit is 0.01 second."
required: false
preferenceType: number
definition:
minimum: 0
maximum: 255
default: 30
- name: "autoOpenClosePosition"
title: "Verify Automatic Open/Close Position"
description: "The travel limit switch is used to determine whether the limit point (shades are fully open/closed) has been reached. If reached, it will immediately stop. If not, the timeout for running is 5 seconds."
required: false
preferenceType: enumeration
definition:
options:
0: "Disabled"
1: "Enabled"
default: 1
- name: "s1LocalControlMode"
title: "S1 Local Control Mode"
description: "Enable/Disable local control mode of S1."
required: false
preferenceType: enumeration
definition:
options:
0: "Disabled"
1: "Enabled"
default: 1
- name: "s2LocalControlMode"
title: "S2 Local Control Mode"
description: "Enable/Disable local control mode of S2."
required: false
preferenceType: enumeration
definition:
options:
0: "Disabled"
1: "Enabled"
default: 1
- name: "s1ExternalSwitchConfig"
title: "S1 External Switch Configuration"
description: "Change switch configuration of S1."
required: false
preferenceType: enumeration
definition:
options:
0: "2-State Toggle Switch"
1: "Momentary Switch"
4: "Auto Detect"
default: 0
- name: "s2ExternalSwitchConfig"
title: "S2 External Switch Configuration"
description: "Change switch configuration of S2."
required: false
preferenceType: enumeration
definition:
options:
0: "2-State Toggle Switch"
1: "Momentary Switch"
4: "Auto Detect"
default: 0
- name: "s1Actions"
title: "S1 External Switch Actions"
description: "Adjust S1 External Switch Actions."
required: false
preferenceType: enumeration
definition:
options:
0: "State 2: UP | State 1: DOWN"
1: "State 2: DOWN | State 1: UP"
2: "Toggle"
default: 2
- name: "s2Actions"
title: "S2 External Switch Actions"
description: "Adjust S2 External Switch Actions."
required: false
preferenceType: enumeration
definition:
options:
0: "State 2: UP | State 1: DOWN"
1: "State 2: DOWN | State 1: UP"
2: "Toggle"
default: 2
I don’t know the reason why it is not yet merged with the stock driver zigbee-window-treatment
Thanks for the details. The thing with the Aeotec Pico Shutter on the current generic driver is that set-shade-level has 0% as Closed and 100% Open, while the Open and Close commands do the opposite.
I’m using the stock driver, and I do not see any of the properties you listed, so I reckon this hasn’t been released.
After manually installing the driver you just linked to, I’m at least getting consistent behaviour between the commands set-shade-level, open, and close. Physical movement direction is now completely reversed - and there is no “Preference” for direction reversal even though the Engineering Guide tells me the device does have that capability.
Also, the presentation in the SmartThings app is now moving in the wrong direction, the percentage slider’s bright end being “Closed” and the dark end being “Open”.
The SmartWings device is not the same as the Aeotec I’m wrestling here. As I said earlier, I did talk to Aeotec tech support, they acknowledged the problem and worked with me to debug it, however I got no end result, and nothing has been published so far.
With the driver from the “add/aeotec” link, the behaviour is even more messed up than I thought yesterday, when I just looked at commands and UI presentation. Open/Close/Percentage is reversed from expected direction but at least consistent between these three; presentation is the wrong way around too, with “fully closed” being at the slider’s bright end. However, the physical Up/Down switches still work in the expected direction.
[Just for reference, my wiring is as the Quick Start Guide has it, S2/Q2 are Up, S1/Q1 are Down.]
I can open, close and stop. However, I cannot find how to calibrate the blinds. As far as I have understood in this thread, calibrate option should be displayed in the settings screen but I only see predefined position.