Skip to content

Files

Latest commit

d01e61b · Nov 12, 2019

History

History
31 lines (24 loc) · 886 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 886 Bytes

Zemismart Roller Shade Integration

This is a pythons script to connect an Raspberry PI to an Zemismart Roller Shade, it's listen to an MQTT topic and execute a close or open command based on that topic.

Dependencies

  • paho-mqtt (pip install paho-mqtt)
  • bluepy (sudo pip install bluepy)
  • libglib2.0-dev (sudo apt-get install libglib2.0-dev)

Home Assistant Config

Just add a MQTT switch:

- platform: mqtt
  name: "Curtain Bedroom"
  state_topic: "curtains/00:00:00:00:00:00/status"
  command_topic: "curtains/00:00:00:00:00:00"
  qos: 0
  state_on: "on"
  state_off: "off"
  payload_on: "open"
  payload_off: "close"
  retain: false
  optimistic: false

What Next?

  • Get information from the Shade (battery, state, etc..), currently it's just sending command, for open and close.
  • ESP32 version - Would prefer to run this in a ESP32 instead of a Raspberry PI