Hallo,
habe ein Raspberry 2 "Anleitung Pi2 + Jessie (Release 2016-02-26) mittels PyPi" installiert und die doorpi.ini angepasst.
Wenn ich nun Pin 29 auf 3,3v lege, passiert leider nicht. Im Log erscheint auch, das er blinking_led nicht kennt, obwohl auch deklariert.
Webinterface is erreichbar. Jemand einen Tip?
Code: doorpi.ini
[AREA_installer]
.* =
[AdminNumbers]
**9 = active
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led = blinking_led
snapshot_path = !BASEPATH!/../DoorPiWeb/snapshots/
[DoorPiWeb]
indexfile = index.html
ip =
loginfile = login.html
online_fallback = http://motom001.github.io/DoorPiWeb
port = 80
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[EVENT_OnStartup]
10 = sleep:1
[Group]
administrator = door
[SIP-Phone]
firewallpolicy = PolicyNoFirewall
audio_codecs = PCMA,PCMU
call_timeout = 15
capture_device = ALSA: default device
dialtone = !BASEPATH!/media/ShortDialTone.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = False
identity = DoorPi
local_port = 5060
max_call_time = 120
playback_device = ALSA: default device
record_while_dialing = False
records = !BASEPATH!/records/%Y-%m-%d_%H-%M-%S.wav
sipphonetyp = linphone
sipserver_password = doorpi
sipserver_realm = fritz.box
sipserver_server = 192.168.115.1
sipserver_username = 620
stun_server =
ua.max_calls = 2
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga
[SMTP]
from = doorpi
need_login = True
password = *************
port = 587
server = smtp.1und1.de
use_tls = True
username = ***********@online.de
[User]
door = pi
[WritePermission]
administrator = installer
[keyboards]
onboardpins = gpio
[onboardpins_InputPins]
29 = call:**9
[onboardpins_OutputPins]
7 = blinking_led
[onboardpins_keyboard]
bouncetime = 200
mode = BOARD
polarity = 0
pressed_on_keydown = True
pull_up_down = PUD_OFF
Alles anzeigen
Code: doorpi.log
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-04-04 14:18:18,369 [ERROR] [doorpi.action.handler] [2XJEF1] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'HIGH', 'pin': 'blinking_led'} for event_name OnTimeSecondEvenNumber
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-04-04 14:18:19,491 [ERROR] [doorpi.action.handler] [7H2W2A] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'LOW', 'pin': 'blinking_led'} for event_name OnTimeSecondUnevenNumber
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-04-04 14:18:20,050 [ERROR] [doorpi.action.handler] [7W0HMZ] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'HIGH', 'pin': 'blinking_led'} for event_name OnTimeSecondEvenNumber
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
2016-04-04 14:18:21,167 [ERROR] [doorpi.action.handler] [J6E3UC] error while fire action OutAction with args () and kwargs {'log_output': 'False', 'value': 'LOW', 'pin': 'blinking_led'} for event_name OnTimeSecondUnevenNumber
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/handler.py", line 284, in fire_event_synchron
result = action.run(silent)
File "/usr/local/lib/python2.7/dist-packages/doorpi/action/base.py", line 48, in run
return self.__callback(**self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/doorpi/keyboard/KeyboardInterface.py", line 133, in set_output
raise UnknownOutputPin('outputpin with name %s is unknown %s' % (pin, self.__OutputMappingTable))
UnknownOutputPin: outputpin with name blinking_led is unknown {}
Alles anzeigen