also was ich grundlegend vor habe ist eine Sprechanlage mit interaktivem Display als Namensschild und einem virtuellen klingel Button einer Kamera und später noch ein Türöffner der über die dtmf Funktion das Gartentor öffnet.
was bereits funktioniert :
klingeln mit einem Taster und Anruf auf mein i pad mit Videoübertragung // MIT LINPHONE
Hardware :
Pi 2 b+ für die doorpi
piface 2
externer pi mit asterisk
usb sound adapter
kuman ir kamera
Problem ist das
7" nextion display
und als Schnittstelle ein cp 2102 usb to ttl
ich bekomme es einfach nicht hin
so anbei die doorpi.ini
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led =
last_snapshot =
[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
[SIP-Phone]
sipphonetyp = linphone
call_timeout = 40
username = 2000
password = PASSWORT
realm = 192.168.2.119
server = 192.168.2.119
;local_port = 5061
[SIP-Phone]
video_device = V4L2: /dev/video0
video_codecs = VP8
video_display_enabled = False
video_size = vga
capture_device = ALSA: USB Audio Device
playback_device = ALSA: USB Audio Device
sipphonetyp = linphone
;log.level = 5
;log.console_level = 5
username = 1000
password = PASSWORT
realm = 192.168.2.119
server = 192.168.2.119
[AdminNumbers]
3000 = active
2000 = active
1000 = active
call_timeout = 40
call:1000
[keyboards]
onboardpins = piface
nextion = nextion
[nextion_keyboard]
baudrate = 9600
bouncetime = 500
input_max_size = 255
input_stop_flag = \n
polarity = 0
port = /dev/ttyUSB0
pressed_on_keydown = True
[onboardpins_keyboard]
[nextion_InputPins]
54542121 = call:5000
bouncetime = 200
[onboardpins_InputPins]
0 = call:5000
[onboardpins_OutputPins]
0 = Tueroeffner
1 = Klingel
[DTMF]
„0“ = out:Tueroeffner,1,0,3
[EVENT_OnSipPhoneMakeCall]
10 = out:Klingel,1,0,3
danke
gruß matze