Unipi Control - Control you binary sensors, switches and covers over MQTT
-
Hello,
I wrote for my personal use a python script to control binary sensors, switches and covers over MQTT. I publish my code for everyone on GitHub.
I can detect if a button is pressed (binary sensors) and than control the cover.
You can wrote your own application that use the MQTT topics from my script or you can optionaly enable Home Assistant MQTT discovery and integrate your covers in Home Assistant.
For the cover control with the binary sensor i wrote a Home Assistant automation blueprint (you can find it in the extras folder in the GitHub project)
For easy install i make a python package than can be found on pypi.
https://github.com/mh-superbox/unipi-control
https://pypi.org/project/Unipi-Control -
Thank you for your contribution!
Best regards
Unipi team