Hallo,
ich habe jetzt mal versucht, die take_snapshot Option auszuprobieren.
Leider funktioniert dies nicht und es wird im Ordner kein Image erzeugt.
Hier ein Auszug aus der doorpi.ini
Code: doorpi.ini
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led =
last_snapshot =
number_of_snapshots = 10
snapshot_path = !BASEPATH!/snapshots/
snapshot_size = 1280x720
[DoorPiWeb]
indexfile = index.html
ip =
loginfile = login.html
online_fallback = http://motom001.github.io/DoorPiWeb
port = 80
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[EVENT_BeforeSipPhoneMakeCall]
10 = take_snapshot
[EVENT_OnKeyPressed_prodsystem.0]
10 = os_execute:php /usr/local/etc/DoorPi/tools/take_snapshot_doorpi.php
[EVENT_OnStartup]
10 = sleep:1
Alles anzeigen
Hier der Auszug aus dem Log
Code: doorpi.log
2016-06-12 22:26:07,201 [INFO] [doorpi.conf.config_object] use configfile: /usr/local/etc/DoorPi/conf/doorpi.ini
2016-06-12 22:26:07,594 [INFO] [doorpi.status.webserver] Initiating WebService at ip and port 80
2016-06-12 22:26:07,716 [WARNING] [root] section ReadPermission not found in configfile
2016-06-12 22:26:07,849 [ERROR] [doorpi.status.webserver] no ReadPermission found
2016-06-12 22:26:08,061 [INFO] [doorpi.keyboard.KeyboardInterface] using multi-keyboard mode (keyboards: onboardpins)
2016-06-12 22:26:08,064 [INFO] [doorpi.keyboard.KeyboardInterface] trying to add keyboard 'onboardpins' to handler
2016-06-12 22:26:08,080 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2016-06-12 22:26:08,308 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2016-06-12 22:26:09,240 [INFO] [doorpi.sipphone.SipphoneInterface] found installed sipphone "linphone" and use this as default
2016-06-12 22:26:09,424 [WARNING] [root] section DTMF not found in configfile
2016-06-12 22:26:10,255 [INFO] [doorpi.sipphone.from_linphone] found 1 possible sounddevices:
2016-06-12 22:26:10,308 [INFO] [doorpi.sipphone.from_linphone] found 2 possible videodevices:
2016-06-12 22:26:10,341 [INFO] [doorpi.sipphone.from_linphone] using DoorPi with SIP-Server
2016-06-12 22:26:10,368 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnStartup' in configfile
2016-06-12 22:26:10,373 [INFO] [doorpi.doorpi] registering action '10' for event 'OnStartup'
2016-06-12 22:26:10,392 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_onKeyUp_raspipins.11' in configfile
2016-06-12 22:26:10,405 [INFO] [doorpi.doorpi] registering action '10' for event 'onKeyUp_raspipins.11'
2016-06-12 22:26:10,441 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnKeyPressed_prodsystem.0' in configfile
2016-06-12 22:26:10,447 [INFO] [doorpi.doorpi] registering action '10' for event 'OnKeyPressed_prodsystem.0'
2016-06-12 22:26:10,493 [WARNING] [root] section DTMF not found in configfile
2016-06-12 22:26:21,396 [INFO] [doorpi.doorpi] DoorPi started successfully
2016-06-12 22:26:21,399 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi
2016-06-12 22:26:21,402 [INFO] [doorpi.doorpi] Weburl is http://RaPi_Tuersprech/
2016-06-12 22:26:07,452 [INFO] [doorpi.conf.config_object] use configfile: /usr/local/etc/DoorPi/conf/doorpi.ini
2016-06-12 22:29:37,648 [INFO] [doorpi.status.webserver] Initiating WebService at ip and port 80
2016-06-12 22:29:37,803 [WARNING] [root] section ReadPermission not found in configfile
2016-06-12 22:29:37,883 [ERROR] [doorpi.status.webserver] no ReadPermission found
2016-06-12 22:29:38,031 [INFO] [doorpi.keyboard.KeyboardInterface] using multi-keyboard mode (keyboards: onboardpins)
2016-06-12 22:29:38,033 [INFO] [doorpi.keyboard.KeyboardInterface] trying to add keyboard 'onboardpins' to handler
2016-06-12 22:29:38,067 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2016-06-12 22:29:38,283 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2016-06-12 22:29:39,314 [INFO] [doorpi.sipphone.SipphoneInterface] found installed sipphone "linphone" and use this as default
2016-06-12 22:29:39,646 [WARNING] [root] section DTMF not found in configfile
2016-06-12 22:29:40,874 [INFO] [doorpi.sipphone.from_linphone] found 1 possible sounddevices:
2016-06-12 22:29:40,950 [INFO] [doorpi.sipphone.from_linphone] found 2 possible videodevices:
2016-06-12 22:29:40,996 [INFO] [doorpi.sipphone.from_linphone] using DoorPi with SIP-Server
2016-06-12 22:29:41,049 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnStartup' in configfile
2016-06-12 22:29:41,054 [INFO] [doorpi.doorpi] registering action '10' for event 'OnStartup'
2016-06-12 22:29:41,099 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_onKeyUp_raspipins.11' in configfile
2016-06-12 22:29:41,103 [INFO] [doorpi.doorpi] registering action '10' for event 'onKeyUp_raspipins.11'
2016-06-12 22:29:41,205 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnKeyPressed_prodsystem.0' in configfile
2016-06-12 22:29:41,210 [INFO] [doorpi.doorpi] registering action '10' for event 'OnKeyPressed_prodsystem.0'
2016-06-12 22:29:41,268 [WARNING] [root] section DTMF not found in configfile
2016-06-12 22:29:42,328 [INFO] [doorpi.doorpi] DoorPi started successfully
2016-06-12 22:29:42,333 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi
2016-06-12 22:29:42,336 [INFO] [doorpi.doorpi] Weburl is http://RaPi_Tuersprech/
2016-06-12 22:33:33,063 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:33:33,102 [WARNING] [root] section ReadPermission not found in configfile
2016-06-12 22:33:33,137 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /dashboard/pages/index.html
2016-06-12 22:33:34,970 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:33:34,975 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /status
2016-06-12 22:33:35,199 [WARNING] [root] section ReadPermission not found in configfile
2016-06-12 22:33:35,212 [ERROR] [doorpi.status.webserver] no ReadPermission found
2016-06-12 22:34:07,059 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:07,065 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /dashboard/pages/history.events.html
2016-06-12 22:34:08,118 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:08,122 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /status
2016-06-12 22:34:14,481 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:14,492 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /dashboard/pages/status.modules.eventhandler.html
2016-06-12 22:34:15,701 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:15,811 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /status
2016-06-12 22:34:20,643 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:20,651 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /dashboard/pages/status.modules.sipphone.html
2016-06-12 22:34:21,677 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:21,689 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /status
2016-06-12 22:34:39,580 [WARNING] [root] section AREA_public not found in configfile
2016-06-12 22:34:39,585 [INFO] [doorpi.status.webserver_lib.request_handler_static_functions] user door has write permissions: /status
2016-06-12 22:34:39,825 [INFO] [doorpi.sipphone.from_linphone] call timeout - hangup current call after 59.50638 seconds (max. 60)
2016-06-12 22:34:39,843 [WARNING] [root] section AREA_public not found in configfile
Alles anzeigen
Gruß,
Feder