I wrote for my personal use a python script to control binary sensors, switches and covers over MQTT discovery with the Unipi Neuron. I publish my code for everyone on GitHub.
I can detect if a button is pressed (binary sensors) and than control the cover.
For the cover control with the binary sensor i wrote a 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.
I am trying to setup unipi-control on my patron L207 and I was able to follow all steps in your documenation, but somehow the control.yaml file is accepted.
Would you please be able to guide me in the right direction? My control.yaml file is located in /etc/unipi and has below listed content.
And this is the error that Iām getting:
root@L207-sn370:/home/unipi# unipi-control
2024-11-06 22:03:04,953 | CRITICAL | [CONFIG] No valid YAML definition found for this device!