Beiträge von project

    Hi


    unfortunately I do not know how to make video video call from doorpi /linphone , i have to try it.


    For snapshot i use curl command in doorpi under [EVENT_.........


    10=os_execute:curl -s -o /dev/null http://localhost:port/camid/action/snapshot


    or when you use in motion protection with password then


    10=os_execute:curl -u user:password -s -o /dev/null http://localhost:port/camid/action/snapshot


    port: your port for web control
    camid: number of your camera


    when you will make video , use the same way with event and curl command in doorpi -


    10=os_execute:curl -s -o /dev/null http://localhost:port/camid/action/eventstart
    20=sleep 10 #depend how long should a video be.
    30=os_execute:curl -s -o /dev/null http://localhost:port/camid/action/eventend


    --check in motion setting the parameter : movie_output on

    Hi


    i see possible problem in the doorpi.ini with video_size = uxga , try set it to vga ?
    poststream_maxrate = 1 , post_capture=25, why this settings ?
    the snapshot_size is set up to 2048x1500 but you have the camera set to resolution 640x480 ?
    How do you handle or for what you use the video stream from the camera ?
    For the doorpi you need only snapshot or video stream too ?

    Hi


    can you post doorpi.ini and the motion.conf and when you use the separate conf file for camera then camera1.conf, too.
    What hw configuration do you use on rpi, what sound card , camera etc ?

    Hi


    i install motion from .deb package with gdebi ,


    from https://github.com/Motion-Project/motion/releases, you should find the right package for your system and install it.


    You should check the port for web_control and stream , if there in not some conflict with doorpi because in the basic setting is port 8080
    used. I m using one USB camera and one PI camera together without problem with doorpi , asterisk on the same RPI.
    Let me know if this help


    thank you

    Hardware:
    Raspberry 3
    UPS Pico HV3.0B HAT Stack Plus http://pimodules.com/products/…-hv3-0a-b-b/plus-advanced
    Piface2
    RPI Cam : PI Camera board V2 8MP
    USB-Cam:CANYON Fwc 120H
    USB Audio :AXAGON HQ
    Adafruit PAM8302A -mono 2.5W Amplifier https://www.adafruit.com/product/2130
    Mean Well LPV-60-12 – 12 V/5A


    Als Frontplate habe ich eine 20 jahre alte Tesla TT85 4line anlage benutz welche war schon in der tur montiert und nich mehr funtioniert.Von die Tesla habe ich benutz die klingetaster und Lautsprecher. Es ist noch immer produziert, un man kann einziche teilelemente kaufen.
    Die UPS pico hat moglichkeit direkt mit 7-28 V arbeiten, dann die stromversorgung ist direkt uber die UPSPico vorhanden, die ist angeschlosen zu der Mean Well trafo . Das ganze ist hinter der Ausentur und mit cca 30 m ethernet kabel zum router verbunden.
    Motion arbeitet mit beide kameras in 1280x720 auslosung mit cca 15-20 fps.


    UPS Pico hat eine watch dog Funktionalität basiert auf einem 8-Bit-Timer, dessen Wert sich jede Sekunde verringert, wenn der Wert von 0xff abweicht. Wenn es 0x00 erreicht, setzt UPS PIco die Raspberry zurück.

    Code: doorpi.ini
    [EVENT_OnTimeMinute]
    10 = os_execute:/usr/sbin/i2cset -y 1 0x6b 0x05 0xfe



    Weil ich motion detection momentan nicht brauche , schalte ich die funktion fur beide kameras nach start der doorpi aus :

    Code: doorpi.ini
    [EVENT_AfterStartup]
    10 = sleep:5
    20 = mailto:xxxxxx@gmail.com,DoorPi,Startup
    30 = os_execute:curl -u user:password -S -o /dev/null http://kamera_test:8083/1/detection/pause
    40 = sleep:2
    50 = os_execute:curl -u user:password -S -o /dev/null http://kamera_test:8083/2/detection/pause

    Wenn welches SIP user nicht ereichbar ist , habe ich in asterisk extension.conf eine regel einstellen ,welche eine Hangup state zuruckgibt

    und dann Doorpi uberspielt einem meldung und send email



    Code: doorpi.ini
    [EVENT_OnCallStateReject]
    10 = out:Zosil,1
    20 = os_execute:aplay -D plughw:0 /usr/local/etc/DoorPi/media/ShortDialTone.wav
    30 = os_execute:aplay -D plughw:0 /usr/local/etc/DoorPi/media/call_reject.wav
    40 = mailto:xxxxxxxxxx@gmail.com,xxxxx,xxxxxxxx

    snapshot bei taster drucken erstellen ist bei motion sehr einfach


    Code: doorpi.ini
    [EVENT_OnKeyPressed]
    10 = os_execute:curl -u user:password -S -o /dev/null http://kamera_test:8083/2/action/snapshot
    20 = sleep:2

    Alles funktioniert mehr wie ein jahr fast ohne probleme . Als innenstationen benutzen wir
    android gerate / mobilphone ,tablet ../ mit Elcom/Videofon 1.2 oderLinphone app.

    Hallo


    bei mir geht das steuerung I2C durch befehl "os_execute " . ich benutze eine UPS Pico HV3.0 welche durch i2c kommuniziert .
    In Elcom/Videofon app habe ich in DTFM Setting unter Send DTMF - SIP Info .


    in doorpi.ini bei EVENTS z.B.


    [EVENT_..........]
    10 = os_execute:/usr/sbin/i2cset -y 1 0x6b 0x05 0xfe


    oder DTMF


    [DTMF]
    "1" = os_execute:/usr/sbin/i2cset -y 1 0x6b 0x0b 0x01
    "#" = os_execute:/usr/sbin/i2cset -y 1 0x6b 0x0b 0x00