Skip to content

eriknl1982/zemirollshade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Zemismart Rollshade Wifi Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%