Zemismart Roller Shade Integration

Not yet! Planning to do it tomorrow!

1 Like

My guess is the distance! I do have some connection issues sometimes but are some seconds, not minutes! I have a 6 curtains in the same room and it’s kind of annoying they open in different timing! I also have in the same window roller shades that use RF and they open/close at the same time!

Hello,

I am trying to install it and I get the below error when following the install commands. Did it happen to smbd else?
(homeassistant) homeassistant@raspberrypi:~/.homeassistant/custom_components/zemirollshade $ pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt in /srv/homeassistant/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (1.5.0)
Collecting bluepy (from -r requirements.txt (line 2))
Using cached https://www.piwheels.org/simple/bluepy/bluepy-1.3.0-cp37-cp37m-linux_armv7l.whl
Collecting Zemismart from git+git://github.com/GylleTanken/python-zemismart-roller-shade.git#egg=Zemismart (from -r requirements.txt (line 3))
Cloning git://github.com/GylleTanken/python-zemismart-roller-shade.git to /tmp/pip-install-d2nqd99a/Zemismart
Command “git clone -q git://github.com/GylleTanken/python-zemismart-roller-shade.git /tmp/pip-install-d2nqd99a/Zemismart” failed with error code -11 in None

Got it fixed. I had an issue with git so I reinstalled it and now I was able to get it installed

Hi @CMDK and @EBOOZ finally tested and fixed the issues! I didn’t test the MQTT template in HA, but did directly on the MQTT client and it worked!! The code is absolute terrible and ugly right now, but it works!! :slight_smile:

Recall to use this repository: https://github.com/ccmtozzi/zemirollshade

Tested in HA, and it’s working now.

Great job @ccmtozzi !!!

1 Like

Thanks, @ccmtozzi! Much appreciated!

All works fine now, also in HA! After the change in configuration.yaml, my buttons to open and close dissapeared (obviously, I guess). I’ve used lovelace-slider-entity-row to set the position of my covers:
Annotation 2020-05-10 213750

This is the configuration I ended up with:

cover:
  - platform: mqtt
    name: "Jaloezie links"
    state_topic: "blinds/00:00:00:00:00:00/status"
    position_topic: "blinds/00:00:00:00:00:00/position"
    set_position_topic: "blinds/00:00:00:00:00:00/set_position"
    position_open: 0
    position_closed: 100
    qos: 0
    state_open: "on"
    state_closed: "off"
    payload_open: "open"
    payload_close: "close"
    payload_stop: "stop"
    retain: false
    optimistic: false
  - platform: mqtt
    name: "Jaloezie rechts"
    state_topic: "blinds/00:00:00:00:00:00/status"
    position_topic: "blinds/00:00:00:00:00:00/position"
    set_position_topic: "blinds/00:00:00:00:00:00/set_position"
    position_open: 0
    position_closed: 100
    qos: 0
    state_open: "on"
    state_closed: "off"
    payload_open: "open"
    payload_close: "close"
    payload_stop: "stop"
    retain: false
    optimistic: false
  - platform: group
    name: Jaloezieën woonkamer
    entities:
      - cover.jaloezie_links
      - cover.jaloezie_rechts

Please note I had to turn the postion_open and _closed the other way around to make sure the status is correct.

This is the code I use in Lovelace using lovelace-slider-entity-row:

show_header_toggle: false
title: Schakelaars
type: entities
entities:
  - entity: cover.jaloezieen_woonkamer
    type: 'custom:slider-entity-row'
1 Like

Firstly thanks for this great integration! I’ve got this all working with the cover on my Lovelace but I am wanting to take it to the next level.

Is anyone able to guide me on how to automate this via Node-Red?

What I’ve got working so far:
I can open and close the Blind via the cover.close_cover/cover.open_cover for the entity I setup (cover.lounge_right) in Developer Tools>Services.

The part I don’t understand is the call service node in node-red requires a domain and there is no domain for a cover from what I can see? Anyone got any ideas?

I don’t use Node-Red, so not much help :frowning: From what I found the domain would be cover and the service close_cover or open_cover! But can’t confirm!!

Yea I couldnt get that to work so gave up with that method.

Instead set it up that node red publishes the open/close command directly to the MQTT broker which works perfectly.

Thanks for the help though and again for the integration! I’ve ordered 5 more units haha

Probably one thing worth noting (I dont see it mentioned in this thread) is that this integration works on pretty much any of these AM43 units which means you can get them a bit cheaper than the Zemismart version.

Yeah! I noticed that… I did post on another thread about it, but not this one! The hardware from zemismart is from aok! I also have some roller shades from them, great deal, easier to integrate since they are RF! After we built this one I notice other projects around too, when I have sometime I will take a peek, right now I miss the possibility to get battery and status! :frowning:

That would be great! If I knew how to help i certainly would. I saw in a few different spots people have all the functions working (Light sensor, Battery %, and control to certain %, - https://community.openhab.org/t/new-binding-am43-blind-drive-motor-binding/90272/42 / https://github.com/binsentsu/am43-ctrl/commit/c07692069712484b1fd788caed688dd1c3128c55).

But yea I dont really know how to help. Again thanks for your work, in my eyes those are just bonus features. I am hoping that the solar panel can keep my bedroom blinds fully charged but we will see how that goes once the extra units arrive from china.

Battery status would be a nice addition, indeed! I’m currently checking it quickly via the original app when I’m lying on the couch :rofl:

By the way, @ccmtozzi, your few seconds of fame in The Hook Up:

Goodmorning, I want to use the Zemismart roller blind with battery. Because I don’t have a power source in my bathroom beside the window. Anyone experience with these roller blind? And is the roller blind also using BLE to connect the blind with HA I can’t find it in the specifications.

€ 38,20 43% Off | Rolgordijn Motor Usb Oplaadbare Voor 17 Mm 25 Mm Buis Gemotoriseerde Elektrische Rolgordijn Schaduw Ingebouwde Batterij Broadlink controle

Hi, I have some similar (not the same), they are not BLE they are RF and works well with Sonoff RF Bridge when you update to use Tasmota/Portisch Firmware.

The one’s I have are the “a-ok” (same brand behind the Zemismart), I bought at this store:
https://www.avoutlet.com/window-treatments/shade-components/motorized/motors/a-ok-am25-1.2-30-es-e/

Thanks! I will take a look at this roller blinds :+1:t2::sunglasses: