Zemismart ZM25 Zigbee howto (Tubular roller blind/shade/cover motor)

Hi @nickshanks,

I’m not quite sure if it would work. The issue is if there would be enough friction.
Just to avoid this kind of issues, I bought my motors first, then while buying the shades, I took a motor with me and agreed on an almost compatible profile. Finally, I had to cut a small piece of the plastic on the motor to make it fit the profile the shade/blind guy was using. I would think there would be a lot of torque when the shade is completely down. Not sure if it work properly only depending on friction. You see, if it would slip just a tiny bit, you would have bigger problems in time.

Brilliant! Thanks so much, works like a charm.

I have installed an paired my motor successfully, but one problem.
It is rotated in HA, so this means HA think the rollo is closed, but in real it is open.
Can I cahange the behaivior of HA?

Here is the solution

Did you happen to get anywhere with this? I’ve received one of these today and looking at the same attributes but not figured it out yet

Thanks
Stephen

I haven’t made any progress yet.

I’ve got similar blind motors, and I am also using ZHA.
Would love to set the upper/lower limits without installing Zigbee2MQTT jsut for this purpose. :slight_smile:

It resets to 88 after every open/close action.

I am using a helper template to keep track of wether the blind is opened or closed, because the status of the zigbee device is always open at 12%. The template toggles an automation to open/close/stop the motor after specified amount of time. It is not a reliable method, but it works for now.

- platform: template
    covers:
      living_room_blinds:
        friendly_name: "Living Room Blinds"
        device_class: shade
        value_template: "{{ is_state('input_boolean.living_room_blinds_helper', 'on') }}"
        open_cover:
          service: automation.trigger
          target:
            entity_id: automation.open_roman_blind
        close_cover:
          service: automation.trigger
          target:
            entity_id: automation.close_roman_blind
        stop_cover:
          service: cover.stop_cover
          target:
            entity_id: cover.roman_blind_1_cover

I got fed up with no limits on the blinds, so I did this, and it works:

  1. In Zigbee Home Automation (ZHA) go to Configure > Download Backup (just in case);
  2. Disable ZHA;
  3. Enable Zigbee2MQTT (z2m) (don’t forget to set it up);
  4. Pair the motor with z2m;
  5. Set the limits using @ndbroadbent script (the last line should start with payload, instead of payload_template);
  6. Disable z2m;
  7. Enable ZHA, on the “settings have changed” press Restore backup
  8. Pair the motor with ZHA.

:bangbang:There were some sensors that were not reporting their states and needed to be paired again.

But other than that - it works.
The hardest part was to get to the reset button on the motor when its inside the blind track.

P.S.
I had to invert one motors direction.
User @sormy has a solution for this (although its not working 100% correct, its better than nothing):

  1. in ZHA > Specific device > Click Manage zigbee device
  2. In clusters tab pick TuyaWindowCoverControl
  3. Then pick attribute cover_inverted, set value “Bool.true”, click “write attribute” button
  4. Then pick attribute motor_direction, set value “Bool.true”, click “write attribute” button
  5. Reload zigbee integration
  6. You might need to full open/close shades once in HASS to synchronize some state.

I have both ZHA and Zigbee2MQTT working together for many years.
Some devices work better with one and some better with the other.
My light switches work better with ZHA but a 3 gang switch only worked with Zigbee2MQTT. However all my shades work best with Z2M.
The dongles are cheap anyways.
I really don’t see any reason to not having both.
I have 6 rollers in my livingroom. Half of them are using reversed mode due to how I wired them. I used 3 common lines for each two shades.
I never once had an issue with any of them.

If you only have ZHA, just get another dongle and install Zigbee2MQTT too.

Has anyone else had an issue with these blinds and zha where setting a position percentage works fine but the “open” and “close” commands don’t? It’s not a major problem in that I have it configured in automations to go to 1% and 99% but it would be nice to get it fully working.

Thanks
Stephen

1 Like

Very new to home assistant and I just got 3 of this motors sorry about newbie question but would someone help me and kindly explain how to send this script to home assistant
Thank you in advanced

Settings > Automations & Scenes > Scripts > Create Script > Create new script > Top right corner > Edit in YAML > Paste the script > Save Script.

Developer tools > Actions > Select the script.

Hey,

I have trouble with the motor, it has stopped in the middle of the window and doesn’t move. So I break up all connections and try to reconnect. At first I have recharged the motor one day. The connection to the remote seems to work, if I press one button on the remote, the LED on the motor blinks. But no movement. The reconnection to zigbee is not possible, the device is not found.
Someone an additional idea or the same problem with a solution?
TIA Micha

Thank you :pray:

@ndbroadbent do you know how to set the limits in ZHA using the commands, there’s a installed_open/closed_limit_lift that looks like it could do the trick. I don’t know how to translate the scripts you shared so they can be leveraged with ZHA

Hi All,

I have a ZM16EL-03/33 connected to HA via Z2M.

I can’t control the blind via Z2M / HA. I paired the remote and set the upper and lower limits ok. Now I have it paired to Z2M the remote doesn’t work and HA doesn’t work either.

Any suggestions on what I am doing wrong?

Many thanks in advance.

Matt

Hello! Greetings from Ukraine! I have one ZM25 paired to Zigbee2MQTT. After 7 days of flawless working the motor stopped responding to any command via Z2M, but is working fine by using remote. When I try to reconfigure it I get the same error as you did. Did you find a solution to this problem? Thank You in advance!

no luck! I cannot tell you how frustrated and problems these blinds have caused me, starting with having to migrate from deconz to z2m!!

Are there any tips for pairing ZM25TQ TY-W to zigbee2mqtt? I have tried all combinations of presses and just can’t them to pair.

NOTE: I’ve left this here, but I am an idiot!! The ZM25TQ TY-W isn’t a zigbee device but a wifi device. Pairs fine with wifi and will be used with a localtuya integration.

I’ve just got a box full of ZM25R1’ - is there any solution to using these with ZHA? Zemismart roller motor ZM25R1 missing controls (ZHA)
This thread talks of a driver being added to ZHA, but I get no entities when adding. Z2M the only option?

Can anyone confirm that the ZM25EL can have custom positions set in home assistant (e.g 60%) in addition to fully open and fully closed? Just want to confirm this before I commit to the purchase!