Beiträge von Hille
-
-
Aktuell nutze ich Doorpi mit Raspbian Stretch, problemlos. Hat jemand schon versucht, Doorpi mit Raspbian Buster zu nutzen?
-
Auch per /dev/ttyS0 funktioniert es leider nicht
Code
Alles anzeigencrw-r--r-- 1 root root 10, 235 Jan 7 10:53 autofs drwxr-xr-x 2 root root 600 Jan 7 10:53 block crw------- 1 root root 10, 234 Jan 7 10:53 btrfs-control drwxr-xr-x 3 root root 60 Jan 1 1970 bus crw------- 1 root root 10, 63 Jan 7 10:53 cachefiles drwxr-xr-x 2 root root 2620 Jan 7 10:54 char crw------- 1 root root 5, 1 Jan 7 10:54 console crw------- 1 root root 10, 62 Jan 7 10:53 cpu_dma_latency crw------- 1 root root 10, 203 Jan 7 10:53 cuse drwxr-xr-x 7 root root 140 Jan 7 10:53 disk crw-rw---- 1 root video 29, 0 Jan 7 10:53 fb0 lrwxrwxrwx 1 root root 13 Nov 3 2016 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 Jan 7 10:53 full crw-rw-rw- 1 root root 10, 229 Jan 7 10:53 fuse crw-rw---- 1 root gpio 254, 0 Jan 7 10:53 gpiochip0 crw-rw---- 1 root gpio 254, 1 Jan 7 10:53 gpiochip1 crw-rw---- 1 root gpio 254, 2 Jan 7 10:53 gpiochip2 crw-rw---- 1 root gpio 248, 0 Jan 7 10:53 gpiomem crw------- 1 root root 247, 0 Jan 7 10:53 hidraw0 crw------- 1 root root 10, 183 Jan 7 10:53 hwrng crw-rw---- 1 root i2c 89, 1 Jan 7 10:53 i2c-1 lrwxrwxrwx 1 root root 25 Jan 7 10:53 initctl -> /run/systemd/initctl/fifo drwxr-xr-x 4 root root 120 Jan 7 10:53 input crw-r--r-- 1 root root 1, 11 Jan 7 10:53 kmsg lrwxrwxrwx 1 root root 28 Nov 3 2016 log -> /run/systemd/journal/dev-log brw-rw---- 1 root disk 7, 0 Jan 7 10:53 loop0 brw-rw---- 1 root disk 7, 1 Jan 7 10:53 loop1 brw-rw---- 1 root disk 7, 2 Jan 7 10:53 loop2 brw-rw---- 1 root disk 7, 3 Jan 7 10:53 loop3 brw-rw---- 1 root disk 7, 4 Jan 7 10:53 loop4 brw-rw---- 1 root disk 7, 5 Jan 7 10:53 loop5 brw-rw---- 1 root disk 7, 6 Jan 7 10:53 loop6 brw-rw---- 1 root disk 7, 7 Jan 7 10:53 loop7 crw-rw---- 1 root disk 10, 237 Jan 7 10:53 loop-control drwxr-xr-x 2 root root 60 Jan 7 10:53 mapper crw-r----- 1 root kmem 1, 1 Jan 7 10:53 mem crw------- 1 root root 10, 59 Jan 7 10:53 memory_bandwidth brw-rw---- 1 root disk 179, 0 Jan 7 10:53 mmcblk0 brw-rw---- 1 root disk 179, 1 Jan 7 10:53 mmcblk0p1 brw-rw---- 1 root disk 179, 2 Jan 7 10:53 mmcblk0p2 brw-rw---- 1 root disk 179, 3 Jan 7 10:53 mmcblk0p3 drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue drwxr-xr-x 2 root root 60 Jan 7 10:53 net crw------- 1 root root 10, 61 Jan 7 10:53 network_latency crw------- 1 root root 10, 60 Jan 7 10:53 network_throughput crw-rw-rw- 1 root root 1, 3 Jan 7 10:53 null crw------- 1 root root 108, 0 Jan 7 10:53 ppp crw-rw-rw- 1 root tty 5, 2 Jan 7 10:55 ptmx drwxr-xr-x 2 root root 0 Nov 3 2016 pts brw-rw---- 1 root disk 1, 0 Jan 7 10:53 ram0 brw-rw---- 1 root disk 1, 1 Jan 7 10:53 ram1 brw-rw---- 1 root disk 1, 10 Jan 7 10:53 ram10 brw-rw---- 1 root disk 1, 11 Jan 7 10:53 ram11 brw-rw---- 1 root disk 1, 12 Jan 7 10:53 ram12 brw-rw---- 1 root disk 1, 13 Jan 7 10:53 ram13 brw-rw---- 1 root disk 1, 14 Jan 7 10:53 ram14 brw-rw---- 1 root disk 1, 15 Jan 7 10:53 ram15 brw-rw---- 1 root disk 1, 2 Jan 7 10:53 ram2 brw-rw---- 1 root disk 1, 3 Jan 7 10:53 ram3 brw-rw---- 1 root disk 1, 4 Jan 7 10:53 ram4 brw-rw---- 1 root disk 1, 5 Jan 7 10:53 ram5 brw-rw---- 1 root disk 1, 6 Jan 7 10:53 ram6 brw-rw---- 1 root disk 1, 7 Jan 7 10:53 ram7 brw-rw---- 1 root disk 1, 8 Jan 7 10:53 ram8 brw-rw---- 1 root disk 1, 9 Jan 7 10:53 ram9 crw-rw-rw- 1 root root 1, 8 Jan 7 10:53 random drwxr-xr-x 2 root root 60 Jan 1 1970 raw drwxr-xr-x 4 root root 80 Jan 7 10:53 serial lrwxrwxrwx 1 root root 7 Jan 7 10:53 serial0 -> ttyAMA0 lrwxrwxrwx 1 root root 5 Jan 7 10:53 serial1 -> ttyS0 drwxrwxrwt 2 root root 40 Nov 3 2016 shm drwxr-xr-x 4 root root 240 Jan 7 10:53 snd lrwxrwxrwx 1 root root 15 Nov 3 2016 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Nov 3 2016 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Nov 3 2016 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root tty 5, 0 Jan 7 10:53 tty crw--w---- 1 root tty 4, 0 Jan 7 10:53 tty0 crw--w---- 1 root tty 4, 1 Jan 7 10:54 tty1 crw--w---- 1 root tty 4, 10 Jan 7 10:53 tty10 crw--w---- 1 root tty 4, 11 Jan 7 10:53 tty11 crw--w---- 1 root tty 4, 12 Jan 7 10:53 tty12 crw--w---- 1 root tty 4, 13 Jan 7 10:53 tty13 crw--w---- 1 root tty 4, 14 Jan 7 10:53 tty14 crw--w---- 1 root tty 4, 15 Jan 7 10:53 tty15 crw--w---- 1 root tty 4, 16 Jan 7 10:53 tty16 crw--w---- 1 root tty 4, 17 Jan 7 10:53 tty17 crw--w---- 1 root tty 4, 18 Jan 7 10:53 tty18 crw--w---- 1 root tty 4, 19 Jan 7 10:53 tty19 crw--w---- 1 root tty 4, 2 Jan 7 10:53 tty2 crw--w---- 1 root tty 4, 20 Jan 7 10:53 tty20 crw--w---- 1 root tty 4, 21 Jan 7 10:53 tty21 crw--w---- 1 root tty 4, 22 Jan 7 10:53 tty22 crw--w---- 1 root tty 4, 23 Jan 7 10:53 tty23 crw--w---- 1 root tty 4, 24 Jan 7 10:53 tty24 crw--w---- 1 root tty 4, 25 Jan 7 10:53 tty25 crw--w---- 1 root tty 4, 26 Jan 7 10:53 tty26 crw--w---- 1 root tty 4, 27 Jan 7 10:53 tty27 crw--w---- 1 root tty 4, 28 Jan 7 10:53 tty28 crw--w---- 1 root tty 4, 29 Jan 7 10:53 tty29 crw--w---- 1 root tty 4, 3 Jan 7 10:53 tty3 crw--w---- 1 root tty 4, 30 Jan 7 10:53 tty30 crw--w---- 1 root tty 4, 31 Jan 7 10:53 tty31 crw--w---- 1 root tty 4, 32 Jan 7 10:53 tty32 crw--w---- 1 root tty 4, 33 Jan 7 10:53 tty33 crw--w---- 1 root tty 4, 34 Jan 7 10:53 tty34 crw--w---- 1 root tty 4, 35 Jan 7 10:53 tty35 crw--w---- 1 root tty 4, 36 Jan 7 10:53 tty36 crw--w---- 1 root tty 4, 37 Jan 7 10:53 tty37 crw--w---- 1 root tty 4, 38 Jan 7 10:53 tty38 crw--w---- 1 root tty 4, 39 Jan 7 10:53 tty39 crw--w---- 1 root tty 4, 4 Jan 7 10:53 tty4 crw--w---- 1 root tty 4, 40 Jan 7 10:53 tty40 crw--w---- 1 root tty 4, 41 Jan 7 10:53 tty41 crw--w---- 1 root tty 4, 42 Jan 7 10:53 tty42 crw--w---- 1 root tty 4, 43 Jan 7 10:53 tty43 crw--w---- 1 root tty 4, 44 Jan 7 10:53 tty44 crw--w---- 1 root tty 4, 45 Jan 7 10:53 tty45 crw--w---- 1 root tty 4, 46 Jan 7 10:53 tty46 crw--w---- 1 root tty 4, 47 Jan 7 10:53 tty47 crw--w---- 1 root tty 4, 48 Jan 7 10:53 tty48 crw--w---- 1 root tty 4, 49 Jan 7 10:53 tty49 crw--w---- 1 root tty 4, 5 Jan 7 10:53 tty5 crw--w---- 1 root tty 4, 50 Jan 7 10:53 tty50 crw--w---- 1 root tty 4, 51 Jan 7 10:53 tty51 crw--w---- 1 root tty 4, 52 Jan 7 10:53 tty52 crw--w---- 1 root tty 4, 53 Jan 7 10:53 tty53 crw--w---- 1 root tty 4, 54 Jan 7 10:53 tty54 crw--w---- 1 root tty 4, 55 Jan 7 10:53 tty55 crw--w---- 1 root tty 4, 56 Jan 7 10:53 tty56 crw--w---- 1 root tty 4, 57 Jan 7 10:53 tty57 crw--w---- 1 root tty 4, 58 Jan 7 10:53 tty58 crw--w---- 1 root tty 4, 59 Jan 7 10:53 tty59 crw--w---- 1 root tty 4, 6 Jan 7 10:53 tty6 crw--w---- 1 root tty 4, 60 Jan 7 10:53 tty60 crw--w---- 1 root tty 4, 61 Jan 7 10:53 tty61 crw--w---- 1 root tty 4, 62 Jan 7 10:53 tty62 crw--w---- 1 root tty 4, 63 Jan 7 10:53 tty63 crw--w---- 1 root tty 4, 7 Jan 7 10:53 tty7 crw--w---- 1 root tty 4, 8 Jan 7 10:53 tty8 crw--w---- 1 root tty 4, 9 Jan 7 10:53 tty9 crw-rw---- 1 root dialout 204, 64 Jan 7 10:53 ttyAMA0 crw------- 1 root root 5, 3 Jan 7 10:53 ttyprintk crw-rw---- 1 root dialout 4, 64 Jan 7 10:54 ttyS0 crw-rw---- 1 root dialout 188, 0 Jan 7 10:53 ttyUSB0 crw------- 1 root root 10, 239 Jan 7 10:53 uhid crw------- 1 root root 10, 223 Jan 7 10:53 uinput crw-rw-rw- 1 root root 1, 9 Jan 7 10:53 urandom crw-rw---- 1 root video 245, 0 Jan 7 10:53 vchiq crw-rw---- 1 root video 249, 0 Jan 7 10:53 vcio crw------- 1 root root 250, 0 Jan 7 10:53 vc-mem crw-rw---- 1 root tty 7, 0 Jan 7 10:53 vcs crw-rw---- 1 root tty 7, 1 Jan 7 10:53 vcs1 crw-rw---- 1 root tty 7, 2 Jan 7 10:53 vcs2 crw-rw---- 1 root tty 7, 3 Jan 7 10:53 vcs3 crw-rw---- 1 root tty 7, 4 Jan 7 10:53 vcs4 crw-rw---- 1 root tty 7, 5 Jan 7 10:53 vcs5 crw-rw---- 1 root tty 7, 6 Jan 7 10:53 vcs6 crw-rw---- 1 root tty 7, 128 Jan 7 10:53 vcsa crw-rw---- 1 root tty 7, 129 Jan 7 10:53 vcsa1 crw-rw---- 1 root tty 7, 130 Jan 7 10:53 vcsa2 crw-rw---- 1 root tty 7, 131 Jan 7 10:53 vcsa3 crw-rw---- 1 root tty 7, 132 Jan 7 10:53 vcsa4 crw-rw---- 1 root tty 7, 133 Jan 7 10:53 vcsa5 crw-rw---- 1 root tty 7, 134 Jan 7 10:53 vcsa6 crw-rw---- 1 root video 246, 0 Jan 7 10:53 vcsm crw------- 1 root root 10, 137 Jan 7 10:53 vhci crw-rw---- 1 root video 81, 0 Jan 7 10:54 video0 crw------- 1 root root 10, 130 Jan 7 10:53 watchdog crw------- 1 root root 252, 0 Jan 7 10:53 watchdog0 crw-rw-rw- 1 root root 1, 5 Jan 7 10:53 zero
Mittlerweile habe ich auch die USB Variante getestet. Die funktioniert hingegen problemlos. Allerdings würde ich die Variante ohne USB Adapter bevorzugen -
Danke erstmal. Leider hat es nicht zum gewünschten Erfolg geführt. Vermutlich ist es beim Raspi3 anders.
-
Ich habe mein Nextion über Kreuz an meinem Raspi angeschlossen, also rx Nextion an tx Raspi und umgekehrt. Des weiteren habe ich per raspi-config das Shell Login per Serial deaktiviert bzw. den Serial Port eingeschaltet. in dem Python Script habe ich
eingefügt. Der Upload funktioniert so leider nicht. Das Script bleibt bei
stehen. Hier noch meine cmdline.txtCodedwc_otg.lpm_enable=0 console=tty1 root=/dev/nfs nfsroot=192.168.178.31:/media/nfsboot/pi4 udp,vers=3 smsc95xx.turbo_mode=N rw ip=dhcp rootwait elevator=deadline
Gehören noch weitere Schritte dazu, um den Serial Port nutzen zu können? Wo könnte mein Fehler liegen?
-
Das Thema ist zwar schon etwas älter, aber vielleicht kann mir jemand trotzdem meine Frage beantworten. Funktioniert der Upload nur über einen USB-TTL oder ist das auch direkt über die Serial des Raspi (gpio 14,15) möglich?
-
Danke, habe es im Endeffekt genauso gemacht.
-
In Post 26 ist der Download, als Klingelbild muß nur dein eigenes rein.
Um das Klingelbild ging es mir. Im Endeffekt wollte ich dieses genauso gestalten (natürlich die Namen und die Strasse abändern). Wäre es möglich, wenn du dieses als .hmi Datei zur Verfügung stellen könntest?
Edit: Mittlerweile habe ich die Grundlegenden Funktionen des Editors verstanden, so dass ich ein passendes Klingelbild erstellen konnte.
-
@Wal Wäre es möglich, dass du die .hmi Datei, so wie im ersten Bild deines ersten Posts, hier zu veröffentlichst bzw zur Verfügung stellst?
-
z.B DIVUS Videophone
-
Per root sollte das problemlos funktionieren. Ändere doch einfach mal für root das Passwort
sudo passwd root
-
Unter welchem Benutzer hast du dich per WinSCP eingeloggt?
-
Hast du denn auch 0 und 1 Zuordnung geändert z.B.
[DTMF]
"#" = out:Tueroeffner,1,0,3statt
[DTMF]
"#" = out:Tueroeffner,0,1,3 -
Das Problem hatte ich auch. Ich konnte es so lösen
[onboardpins_keyboard]
polarity = 1Du musst dann gegebenenfalls 0 und 1 bei der Zuordnung deiner Eingänge bzw Ausgänge tauschen
-
Ich nutze DoorPi mit 2 Klingeltasten. Um das Problem zu vermeiden, dass beiden Tasten kurzzeitig hintereinander gedrückt werden können, wollte ich bouncetime dafür nutzen. Hier meine Konfiguration dazu
Code[keyboards] onboardpins = gpio [onboardpins_keyboard] bouncetime = 2000 mode = BCM polarity = 1 pressed_on_keydown = true pull_up_down = PUD_OFF
Ich bekomme es einfach nicht hin, dass die Taten für 2sek gesperrt werden. Man kann ohne Probleme hintereinander beide Tasten drücken, so dass der entsprechend definierte Ruf ausgeführt wird (habe etliche Kombinationen probiert). Wo liegt mein Fehler? Die Klingeltasten werden gegen GND geschaltet (beim Klingeln), also Vorwiderstand geht gegen +3,3V (GPIO).
-
Danke erstmal für die Antworten. Konnte nun alles lösen. Zwei Fragen sind dennoch geblieben
1. Der Lautsprecher wird am Ende des Gesprächs wieder "ausgeschaltet"
Das würde ich auch gerne, wenn die Leitung besetzt bzw auf Abweisen gedrückt wird.
Genau das funktioniert leider nicht. Habe ich ein falsches EVENT gewählt?2. Ich nutze 2 Klingeltasten. Wie kann ich es erreichen, dass bei der Betätigung der einen Taste, die andere Taste gesperrt wird?
-
Ich bin gerade dabei, eine Türsprechanlage per DoorPi zu bauen bzw belese mich gerade in das Thema ein. Zum Einsatz kommen ein Raspi2 (Debian Stretch) und DoorPi 2.5.1. Hier meine aktuell doorpi.ini
Code
Alles anzeigen[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 [keyboards] onboardpins = gpio [onboardpins_keyboard] bouncetime = 200 mode = BCM pressed_on_keydown = True pull_up_down = PUD_OFF polarity = 0 [EVENT_OnStartup] 10 = sleep:1 [EVENT_OnCallStateConnect] 10 = out:ls_power,1 [EVENT_OnCallStateDisconnect] 10 = out:ls_power,0 [EVENT_OnSipPhoneMakeCall] 10 = out:ls_power,1 [onboardpins_OutputPins] 20 = ls_power [onboardpins_InputPins] 11 = call:**620 [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 = mein_passwort sipserver_realm = 192.168.178.3 sipserver_server = 192.168.178.3 sipserver_username = doorpi01 stun_server = ua.max_calls = 2 video_codecs = VP8 video_device = StaticImage: Static picture video_display_enabled = False video_size = vga [AdminNumbers] **610 = active **620 = active **2 = active **622 = active call_timeout = 40
Folgende Fragen bzw Probleme habe ich. Ich habe in meine Fritzbox7490 (06.98-59782 BETA) eine neues Telefoniegerät eingerichtet (Türsprechanlage). Leider bekomme ich im Log folgende Meldung: "Internettelefonie mit doorpi01 über 192.168.178.38 war nicht erfolgreich. Ursache: Forbidden (403)". Die Logindaten habe ich eigentlich korrekt in der doorpi.ini eingetragen.Ich nutze für den Lautsprecher einen kleinen Verstärker. Da im Lautsprecher ein ständiges Brummgeräusch zu hören ist, wollte ich den Verstärker per sw Eingang Ein- bzw Ausschalten. Das funktioniert per
soweit auch problemlos. Nun wollte ich das per aplay /usr/local/etc/DoorPi/media/ShortDialTone.wav testen. Leider wird der Verstärker nicht eingeschaltet. Wie müsste ich die Konfig ändern bzw ergänzen, um das testen zu können?