-
Notifications
You must be signed in to change notification settings - Fork 85
FAQ EN
delete the sound file and restart DoorPi
You can start DoorPi with the following command in your shell as an application:
sudo /home/DoorPI/doorpi/main.py --configfile /home/DoorPI/conf/doorpi.cfg --trace
No log-file will be written, you can read the log directly in the shell
You can config a status-file in the droopy.cfg like:
[EVENT_OnTimeSecond] 10 = statusfile:/home/pi/doorpi/startup.log,last status: %Y-%m-%d %H-%M-%S
this will write a status-file every second containing the time of the last update. syntax for the action status-file: Action = statusfile [file-name] = /home/pi/doorpi/startup.log [message] = last status: %Y-%m-%d %H-%M-%S
The GPIO pins are defined wrong. If you use a PiFace they are 0,1,2 and without you can read the GPIO pins here. Pay attention that you use the pin number and not the number of GPIO port!
[action.handler] error while fire action PjsipHandleEventsAction with args () and kwargs {'timeout': 50} for event_name OnTimeTick
This error occurs if you want to stop DoorPi, but you interrupt with your input pjsua. It's not bad. It will restart after some seconds.