-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with the documentation #24
Comments
here is the log after restarting the pi:
|
And the log to get back service operating :
|
What i am missing to get the service start correctly ? |
Hello,
I setup the plugin following the documentation. It works without any issue.
But after rebooting the Pi, the switch appears in red in domoticz.
I try to troubleshoot, and i think i do something wrong with env.
Do we have to deactivate the env in the installation instruction after pip3 install -r pip_req.txt ?
I rerun manually ./test.py, and i failed (service not started?)
i try to run these command again :
cd xiaomi-mirobot
virtualenv -p python3 .env
source .env/bin/activate
and then:
pip3 install -r pip_req.txt
and then i was able to start the service and run the test.py
What did i do wrong ?
To start the service, 2 solutions :
1 - run as system service
2 - run manually
my question : is it possible start the service trhought a script and not as service ?
Thanks for your help
The text was updated successfully, but these errors were encountered: