Beiträge von matze

    ach quatsch ist überhaupt nicht unverschämt


    guck mal rein vielleicht findest was interessantes


    jupi ich hab´s geschafft, das Problem war die falsche Beschriftung von rx und tx kabel umgedreht und alles klappt jetzt so simpel *lach *

    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

    Ja sorry ich werd mir mühe geben korky.

    Zu deiner Aussage meine doorpi startet von alleine nach einem reboot, aber verstehe nicht was das mit dem nextion Display zu tun haben könnte... Gruß matze

    guten morgen alex ja klar das mache ich ja ich versuch des ja schon ewig zum laufen zu bringen aber ich bekomme es einfach nicht hin weil ich nicht weis wo der fehler liegt.


    du sagst die port definition ist falsch !

    in der doorpi.ini ?

    /dev/ttyUSB0

    so hab das mal versucht und wie es aussieht wird das nextion erkannt aber funktionieren tut es immer noch nicht ;-((

    hab die doorpi.ini auch mal abgeändert


    [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_InputPins]

    54542121 = call:5000

    87875454 = call:4000

    87875454 = call:3000

    [nextion_OutputPins]

    show_pad0 = page 0

    show_pad1 = page 1

    show_pad2 = page 2

    show_pad3 = page 3

    show_pad4 = page 4

    sleep = sleep=1

    wakeup = sleep=0

    [nextion_keyboard]

    baudrate = 9600

    bouncetime = 2000

    input_max_size = 255

    input_stop_flag = \n

    polarity = 0

    port = /dev/ttyUSB0

    pressed_on_keydown = True

    [onboardpins_InputPins]

    11 = sleep:0

    [onboardpins_OutputPins]

    0 = Tueroffner

    1 = Klingel

    [onboardpins_keyboard]

    bouncetime = 200

    mode = BOARD

    polarity = 0

    pressed_on_keydown = True

    pull_up_down = PUD_OFF

    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

    Ja die suche hatte ich schon benutzt aber hat leider alles nicht geklappt.

    Ich posted heut abend mal mein kompletten Aufbau und danke für deine euere hilfsbereitschaft

    Gruß matze

    Hi Olaf danke das du geantwortet hast hab eine privatnachricht an Wal und Alex geschrieben leider aber keine Antwort erhalten.

    Vielleicht könntest du mir ja bei meinem Problem helfen ich will ein nextion Display als Klingel Button und namensscchild mit dem cp2102 an den pi anschließen aber bisher ohne funktion

    Gruß matze

    Servus Jungs ja es wäre schade um so ein tolles Projekt aber leider antwortet hier keiner wenn man fragen oder probleme hat.

    Ich bräuchte dringend hilfe mit der Einbindung meines nextion 7 Zoll displays gruß matze