Closed parmindersingh1 closed 7 years ago
You will have to make sure you have the latest release. To do this write this command on your raspberry:bash <(curl -s "https://raw.githubusercontent.com/bkbilly/AlarmPI/master/install.sh")
If it doesn't work, run it manually:
cd /opt/AlarmPI
python alarmpi.py
If there is still a problem, send me the output of the manual run.
I believe that I found the solution. I've updated the code, so you will have to update your version too.
The problem was that it was trying to read the alert.log file before it was created.
I will close this issue. If you still have a problem please send me the output of the manual run that I wrote to you above.
Thanks!
ok thanks
sudo python alarmpi.py
------------ INIT FOR DOOR SENSOR CLASS! ----------------
MQTT: Invalid host.
Traceback (most recent call last):
File "alarmpi.py", line 415, in
You should try installing gevent and then removing it.
sudo pip install gevent
sudo pip uninstall gevent
I am still searching for the reason this happens. Please inform me if it works.
it worked thanks
You're welcome!
i m getting this error sudo service alarmpi status cat: /var/run/alarmpi/alarmpi.pid: No such file or directory AlarmPI not running.