Ich sehe da nur, das du doorpi gestartet hast.
Beiträge von Wal
-
-
-
Schau mal hier vorbei:
ioBroker -
Ah ,
ioBroker habe ich auch. Falls du eine Anbindung suchst, nachfragen. -
In älteren Fritzbox-Firmware konnte man sich noch ein Account mit Nummer erstellen, geht jetzt nicht mehr.
Den Dashboard findest du hier:
DashboardInstalliere ihn unter /srv und konfiguriere ihn so :
Code
Alles anzeigen[DoorPi] base_path = /usr/local/etc/DoorPi eventlog = !BASEPATH!/conf/eventlog.db is_alive_led = blinking_led last_snapshot = number_of_snapshots = 2 snapshot_path = /srv/DoorPiWeb/dashboard/snapshot [DoorPiWeb] indexfile = index.html ip = 192.168.xxx.xxx loginfile = login.html online_fallback = port = 80 public = AREA_public www = /srv/DoorPiWeb
Erstelle danach den Folder "/srv/DoorPiWeb/dashboard/snapshot" und mit der Config oben kannst du dann auch deine Snapshots im Dashboard sehen.
-
Nimm mal meine Erweiterungen von hier:
https://www.doorpi.org/forum/t…990-doorpi-erweiterungen/Du hast eine alte.
-
Zeig mal deine doorpi.ini
-
Du mußt ein Server laufen lassen, der dann die Befehle abarbeitet.
https://gist.github.com/majek/1763628 -
Evtl. muß das Webinterface installiert sein, kann ich aber nicht 100% tig sagen.
Die Snapshots incl. Webordner liegen bei mir hier, sonst konnte ich die Bilder nicht im Webordner anzeigen lassen:
ini:Code
Alles anzeigen[AREA_config] /control/config_get_configfile = None /control/config_save = None /control/config_value_delete = None /control/config_value_get = None /control/config_value_set = None [AREA_control] .* = None [AREA_dashboard] /dashboard/pages/.*html = None [AREA_public] .* = None [AREA_status] /mirror = None /status = None [DoorPi] base_path = /usr/local/etc/DoorPi eventlog = !BASEPATH!/conf/eventlog.db is_alive_led = blinking_led last_snapshot = number_of_snapshots = 2 snapshot_path = /srv/DoorPiWeb/dashboard/snapshot [DoorPiWeb] indexfile = index.html ip = 192.168.xxx.xxx loginfile = login.html online_fallback = http://motom001.github.io/DoorPiWeb port = 80 public = AREA_public www = /srv/DoorPiWeb
Webinterface:
https://github.com/motom001/DoorPiWeb -
TOP, vielen, vielen Dank!!!
Genau was ich brauchte...
Handynummer geht auch
11 = call:017618161615
Ok, habe ich dabei auch was gelernt.
-
Mit dem Dummy Keyboard kommst du da nicht weiter.
Du mußt ein z.B. gpio keyboard einrichten auch wenn du den gpio nicht nutzt.Code[keyboards] onboardpins = gpio [AdminNumbers] **611 = active [onboardpins_InputPins] 11 = call:**611
Codehttp://192.xxx.xxx.xxx/control/trigger_event?event_name=OnKeyPressed_onboardpins.11&event_source=doorpi.keyboard.from_gpio
Deine Handynummer kannst du nicht anrufen vom doorpi aus, das muß die Fritzbox für dich regeln.
-
Versuch das,
[EVENT_BeforeCallIncoming][EVENT_OnCallIncomming] hat bei mir auch nicht gefunzt.
-
-
Ich kann dir mal meine Konfig zeigen, ich habe da keine Probleme:
Code
Alles anzeigen[keyboards] prodsystem = piface [prodsystem_InputPins] 0 = call:**111 1 = call:**222 [prodsystem_OutputPins] 1 = Tueroeffner 2 = blinking_led [prodsystem_keyboard] bouncetime = 200 polarity = 0 pressed_on_keydown = True
Die InputPins werden gegen GND geschaltet.
Meistens ist es eine schlechte Masse(GND) die einstrahlt. Evtl. mal ein anderes Netzteil versuchen. -
Falls schon was drinnen steht das löschen und unten den Quellcode einfügen und speichern.
Bash: /etc/init.d/doorpi
Alles anzeigen#!/bin/sh ### BEGIN INIT INFO # Provides: DoorPi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: DoorPi # Description: VoIP Door-Intercomstation with Raspberry Pi ### END INIT INFO . /lib/lsb/init-functions NAME=DoorPi DESC="VoIP Door-Intercomstation with Raspberry Pi" DAEMON=/usr/local/bin/doorpi_cli DOORPI_PATH=/usr/local/etc/DoorPi DAEMON_ARGS="--configfile $DOORPI_PATH/conf/doorpi.ini" PIDFILE=/var/run/doorpi.pid SCRIPTNAME=/etc/init.d/doorpi # Exit if the package is not installed if [ none != "$DAEMON" ] && [ ! -x "$DAEMON" ] ; then exit 3 fi # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh if [ -t 0 ] ; then # Be verbose when called from a terminal VERBOSE=yes fi do_start_cmd() { status_of_proc "$DAEMON" "$NAME" > /dev/null && return 1 $DAEMON start $DAEMON_ARGS || return 2 } do_test_cmd() { status_of_proc "$DAEMON" "$NAME" > /dev/null && return 1 $DAEMON start $DAEMON_ARGS --test || return 2 } is_doorpi_running() { status_of_proc "$DAEMON" "$NAME" > /dev/null && return 0 return 1 } do_stop_cmd() { status_of_proc "$DAEMON" "$NAME" > /dev/null || return 1 $DAEMON stop || return 2 rm -f $PIDFILE return 0 } EX=0 case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start_cmd case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 EX=1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop_cmd case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 EX=1 ;; esac ;; restart) [ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME" do_stop_cmd # issue #132 echo waiting until DoorPi is stopped sleep 3 is_doorpi_running while [ $? -eq 0 ]; do echo DoorPi is still running - wait one more second is_doorpi_running sleep 1 done sleep 2 do_start_cmd case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 EX=1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && return 0 || return $? ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2 exit 3 ;; esac exit $EX
Jetzt:
Nach einem Reboot müßte doorpi laufen.
-
DoorPi hast du schon eingerichtet und läuft auch schon ohne Fehler ?
-
Falls du das hier eingebunden hast, ist das dein Problem.
Ich hatte das eingebunden und bekam danach Phantomklingeln.Edit: Upps, habe mich verlesen. Bei dir kommt kein Klingelevent, das hatte ich mit dem Piface noch nicht.
Der Link könnte dein Problem trotzdem lösen. -
Bitteschön,
es ist nur ein Namensschild mit einem Keypad, kein Klingelknopf.
Mit dem T und G kann ich 2 Türen öffnen, sie setzen dem Pin diese Buchstaben hinzu, die ich in der DoorPi.ini auswerten kann.Code
Alles anzeigen[keyboards] next = nextion webservice = filesystem [next_InputPins] 1234t = out:Tueroeffner,1,0,3 5678g = out:Garageoeffner,1,0,3 [next_OutputPins] page 1 = page 1 [webservice_InputPins] keypad = out:page 1,1 [webservice_keyboard] base_path_input = /home/doorpi/keyboard/inputs/ base_path_output = /home/doorpi/keyboard/outputs/ bouncetime = 2000 polarity = 0 pressed_on_keydown = True reset_input = false
so habe ich das in die doorpi.ini eingebunden.Das Page 1 rufe ich über eine Url auf, kann man auch anders machen.
Der Grund war, das kein anderer das Keypad aufrufen kann. Ich muß zwar das Handy in die Hand nehmen, aber es ist doppelt sicher.
Möglich wäre auch ein I-Button oder einen RFID-Button. -
Habt ihr das auch?
Nein
-
Mein FritzOS ist 6.87