SmartWings Roller blinds controls backwards in Zigbee2mqtt

just installed SmartWings roller blinds using zigbee interface and zigbee2mqtt in HA. It exposes up, down, stop, battery level, and link quality entities. Works great, (you don’t need the remote to pair it BTW) but, the up and down are backwards and it shows blind is 88% open which is actually 88% closed. I was reading in this forum about a template to swap this? How is this done and where to you put the template code etc. would love some suggestions - thank you.

You may need to install the https://spook.boo/ add on then it should give you the option if HA does not have it natively to make an inverse helper:

Screenshot 2024-06-25 133935

Thanks for the tip, I will check it out. seems like having an inverse helper would be a great feature to build into HA natively.

for those reading this down the road, turns out that smartWings has an invert option from the remote using a few key sequences. works great now. So far impressed with the new roller blinds.

I also tried this but when I inverted the HA card buttons, it inverted the physical buttons on the remote. If I used the zigbee2mqtt invert setting it wouldnt work for Alexa (alexa close would open and vice versa)
The best I can get is alexa works, the remote works, and the cards are almost right. Only thing is it shows as closed and says open, and vice versa.

Something definitely changed with zigbee2mqtt because I was able to add a smartwings blind months ago and it worked fine.


Weird. I swapped the controls in HA by holding up and down remote keys for 5s, then hit the button on the back (under remote battery cover) and press the P button. with my zigbee2mqtt setup the settings are now correct in HA and the remote still works correctly as expected (up arrow raises blind). my blinds just arrived a day ago. it looks like invert button in zigbee2mqtt only does the cover (reflecting 100 to either be all open or all closed). is there another setting as well?

1 Like

Do you use Alexa?

I don’t use alexa.

Thanks for the information.

That is the issue I am having. If I change the controller buttons, Alexa reverses, If I reverse Alexa, then HA buttons are inverted.

Might be a moot point as Alexa seems to be going down the drain with subscriptions and loss of features and I think I will move to Siri.

I can confirm that what @mbett writes above works! I’ve been sitting on this for 9 months and finally it all works as expected.

No Alexa here either. @liamp, if it’s anything like Google Home you can probably set up Alexa with some custom phrases or remove these devices from Alexa and set Alexa up to control your shades through HA instead.

@ronverstappen Anything I change breaks HA. If I get the slider to work the updown arrows break. If I get arrows to work Slider is wrong. UP is closed and Down is open.

Pulling my hair out.

The funny thing is that I have a set of blinds I set up on V1.36 and they work fine.

Do you mind doing a step by step on how you paired your blinds with Z2M and what card you are using for HA.

I use the dongle below running z2mqtt
SONOFF Zigbee 3.0 USB Dongle Plus Gateway, Universal Zigbee USB Gateway with Antenna
https://www.amazon.com/gp/product/B09KXTCMSC/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

there are two ways to pair the smartwings blinds to zigbee.

  1. hold the button on the blind motor for 6 seconds, the blind will jog and a red light will turn on indicating it is in pairing mode. it will then show up in your z2m devices list
  2. Remove the rear battery cover of the remote, Press the left P button (1 jog), UP (1 jog), and P (1jog), When the Red led light on indicates that you entered the pairing mode.