Hallo
ich benötige mal euer Hilfe.
Ich verwende nur virtual_InputPins die auch soweit funktinieren .
Als Kamera habe ich Rpi-Cam installiert. Nun möchte ich wenn geklingelt wird das Kamerabild aufnehmen.
Habe es so versuch aber es geht nicht. Was mache ich falsch ?
Muss ich fswebcam installieren ?
Code
[EVENT_OnKeyPressed_virtual_InputPins.e1]
10 = take_snapshot:http://192.168.178.32:9000/html/cam.jpg
Hier mal meine INI
Code
[AREA_installer]
.* =
[AdminNumbers]
**610 = active
**611 = active
[DTMF]
"#" = out:virtual_tueroeffner,1,0,3
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led =
last_snapshot =
number_of_snapshots = 20
snapshot_path =
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_OnKeyPressed_virtual_InputPins.e1]
10 = take_snapshot:http://192.168.178.32:9000/html/cam.jpg
[EVENT_OnStartup]
10 = sleep:1
20 = take_snapshot
[Group]
administrator = door
[SIP-Phone]
firewallpolicy = PolicyNoFirewall
audio_codecs = PCMA,PCMU
call_timeout = 15
capture_device = ALSA: Polycom Communicator
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: Polycom Communicator
record_while_dialing = False
records = !BASEPATH!/records/%Y-%m-%d_%H-%M-%S.wav
sipphonetyp = linphone
sipserver_password = DoorPI622
sipserver_realm = fritz.box
sipserver_server = 192.168.178.1
sipserver_username = Tuersprechanlage
stun_server =
ua.max_calls = 2
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga
[User]
door = pi
[WritePermission]
administrator = installer
[keyboards]
dummy = dummy
virtual = filesystem
[onboardpins_keyboard]
bouncetime = 200
polarity = 0
pressed_on_keydown = True
[virtual_InputPins]
e1 = call:**611#610
[virtual_OutputPins]
a1 = virtual_tueroeffner
[virtual_keyboard]
base_path_input = /var/DoorPI/keyboard/inputs/
base_path_output = /var/DoorPI/keyboard/outputs/
bouncetime = 2000
polarity = 0
pressed_on_keydown = True
reset_input = True
Alles anzeigen