Hallo.
Gibt es zu dem Problem denn mittlerweile eine Lösung? Oder sollte ich Jokers Workaround anwenden?
Beiträge von 2fast4you78
-
-
Hier noch die .conf
Code
Alles anzeigen[AREA_installer] .* = [DTMF] "#*" = out:Tueroeffner,1,0,3 ... = None [DoorPi] base_path = /usr/local/etc/DoorPi eventlog = !BASEPATH!/conf/eventlog.db is_alive_led = blinking_led last_snapshot = snapshot_path = [DoorPiWeb] indexfile = index.html ip = loginfile = login.html online_fallback = http://motom001.github.io/DoorPiWeb port = 80 public = AREA_public www = !BASEPATH!/../DoorPiWeb [EVENT_OnKeyPressed_onboardpins.1] 10 = call:**611 [EVENT_OnStartup] 10 = sleep:1 [Group] administrator = door [SIP-Phone] firewallpolicy = PolicyNoFirewall audio_codecs = PCMA,PCMU call_timeout = 15 capture_device = ALSA: USB PnP Sound Device dialtone = !BASEPATH!/media/ShortDialTone.wav dialtone_renew_every_start = False dialtone_volume = 35 echo_cancellation_enabled = False identity = Klingel local_port = 5060 max_call_time = 120 playback_device = ALSA: USB PnP Sound Device record_while_dialing = False records = !BASEPATH!/records/%Y-%m-%d_%H-%M-%S.wav sipphonetyp = linphone sipserver_password = meinpasswd sipserver_realm = fritz.box sipserver_server = 192.168.178.1 sipserver_username = 622 stun_server = ua.max_calls = 2 video_codecs = VP8 video_device = StaticImage: Static picture video_display_enabled = False video_size = vga [User] root = meinpasswd [WritePermission] administrator = installer [keyboards] onboardpins = piface [onboardpins_keyboard] bouncetime = 200 polarity = 0 pressed_on_keydown = True [onboardpins_OutputPins] 0 = Tueroeffner 2 = Licht 7 = blinking_led [onboardpins_InputPins] 1 = call:**611
-
Hallo,
ich bekomme Doorpi nicht ans laufen. ist wohl was mit den Rechten. Ich mache alles als root. Ist das falsch?
Hier ein Log-Auszug
Code
Alles anzeigen2016-11-25 21:29:26,297 [ERROR] [doorpi.action.handler] action_object is None 2016-11-25 21:29:27,308 [INFO] [doorpi.doorpi] DoorPi started successfully 2016-11-25 21:29:27,309 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi 2016-11-25 21:29:27,309 [INFO] [doorpi.doorpi] Weburl is http://raspberrypi/ 2016-11-25 21:34:19,352 [INFO] [doorpi.conf.config_object] use configfile: /usr/local/etc/DoorPi/conf/doorpi.ini 2016-11-25 21:34:19,490 [INFO] [doorpi.status.webserver] Initiating WebService at ip and port 80 2016-11-25 21:34:19,495 [WARNING] [root] section ReadPermission not found in configfile 2016-11-25 21:34:19,497 [ERROR] [doorpi.status.webserver] no ReadPermission found 2016-11-25 21:34:19,498 [ERROR] [doorpi.status.webserver] user door is assigned to group administrator but doesn't exist as user 2016-11-25 21:34:19,504 [INFO] [doorpi.keyboard.KeyboardInterface] using multi-keyboard mode (keyboards: onboardpins) 2016-11-25 21:34:19,506 [INFO] [doorpi.keyboard.KeyboardInterface] trying to add keyboard 'onboardpins' to handler 2016-11-25 21:34:20,876 [INFO] [doorpi.sipphone.SipphoneInterface] found installed sipphone "linphone" and use this as default 2016-11-25 21:34:21,258 [INFO] [doorpi.sipphone.from_linphone] found 3 possible sounddevices: 2016-11-25 21:34:21,268 [INFO] [doorpi.sipphone.from_linphone] found 1 possible videodevices: 2016-11-25 21:34:21,276 [INFO] [doorpi.sipphone.from_linphone] using DoorPi with SIP-Server 2016-11-25 21:34:21,283 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnKeyPressed_onboardpins.1' in configfile 2016-11-25 21:34:21,286 [INFO] [doorpi.doorpi] registering action '10' for event 'OnKeyPressed_onboardpins.1' 2016-11-25 21:34:21,294 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnStartup' in configfile 2016-11-25 21:34:21,297 [INFO] [doorpi.doorpi] registering action '10' for event 'OnStartup' 2016-11-25 21:34:21,330 [ERROR] [doorpi.action.base] error while creating SingleAction from config string: None Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 64, in from_string return importlib.import_module('doorpi.action.SingleActions.'+action_name).get( File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named None 2016-11-25 21:34:21,340 [ERROR] [doorpi.action.handler] action_object is None 2016-11-25 21:34:22,347 [INFO] [doorpi.doorpi] DoorPi started successfully 2016-11-25 21:34:22,348 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi 2016-11-25 21:34:22,348 [INFO] [doorpi.doorpi] Weburl is http://raspberrypi/ 2016-11-25 21:35:40,607 [WARNING] [doorpi.action.handler] source doorpi.sipphone.linphone_lib.Player unknown - skip fire_event OnPlayerStopped 2016-11-25 21:35:46,131 [WARNING] [doorpi.doorpi] waiting for threads to time out - there are still threads: [<Thread(QueueFeederThread, started daemon 1984521312)>] 2016-11-25 21:35:46,133 [INFO] [doorpi.doorpi] ======== DoorPi successfully shutdown ========
Was muss ich in der config ändern damit das funktioniert? Grüße Nico