DoorPi-Projekt

Begonnen von Syntaxterror, 25 Februar 2016, 18:39:59

Vorheriges Thema - Nächstes Thema

Prof. Dr. Peter Henning

#645
Et tu, Brute ?

Wenn FHEM-DoorPi ein neues Target setzt, wird in der DoorPi-Software der Befehl
#-- obtain the target call number from FHEM
[EVENT_OnKeyPressed_webservice.gettarget]
10 = os_execute:/home/doorpi/FHEMHelper.sh gettarget


gestartet. Der ruft im FHEMHelper-Skript auf
echo "{ReadingsVal('$FHEMDP','call_target','$default_target')}" | socat -t50 - TCP:$FHEMIP:7072 > $HOME/calltarget

und holt sich damit den ReadingsValue "call_target" via socat. Der wird dann in die lokale Datei calltarget geschrieben, und diese dient der DoorPi-Software als Quelle für die zu wählende Nummer.

Warum diese Zweistufigkeit ? Aus Gründen der Wart- und Testbarkeit. Nur durch diese Trennung kann man die DoorPi-Installation und die FHEM-Installation unabhängig voneinander testen, indem man das Skript bzw. sogar die Einzelbefehle von Hand aufruft.

LG

pah

Markus

Danke jetzt Funktioniert es ;D

Ich habe jetzt die FHEMHelper datei von github direkt auf den raspi geladen und mit nano
geändert und siehe da es Funktioniert sofort.
Zuvor habe ich es immer über windof und notepad++ gemacht :(

Nochmals Danke!
Markus
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Prof. Dr. Peter Henning

Hoc iuvat, Marcus Brutus.

8)

pah

illivanilli

Hallo Pah,
ich bräuchte bitte mal Ihre Hilfe bzgl. des Frontplattendesigners.

Auf dieser Seite haben Sie die dxf Datei der Frontplatte freundlicherweise zur Verfügung gestellt.
https://www.doorpi.org/forum/thread/420-doorpi-von-pah/?pageNo=2

Leider bekomme ich bei dem Einbinden der Datei in den Frontplatten Designer von Schaeffer AG den selben Fehler wie der Benutzer MiKn in dem o.g. Link.

Kennen Sie evtl. die Lösung für das Problem?

Vielen Dank für Ihre Rückmeldung!

LG Alex

Sailor

Moin zusammen

Zitat von: illivanilli am 28 November 2017, 19:27:33
ich bräuchte bitte mal Ihre Hilfe .

Jetzt siezen wir uns schon im Forum.

Nobel, et pereat mundus.  8)

Gruss
    Sailor
******************************
Man wird immer besser...

Markus

#650
Hallo

Ich habe noch einige Pobleme mit dem Arduino oder PiFace zumindest kommen nicht alle Signale vom Arduino im Raspberry an.
Die Verbindungen und Kabel habe ich durchgemessen das schaut gut aus.
Installiert habe ich die Pakete von Pah auf einen Raspberry 3 mit PIFace verbunden mit der Doorpi Platine von Farion.

Auf der Türseite:
Wenn ich den Falschen Code eingebe schalten die IrLeds ein aber es wird kein Foto gemacht, beim richtigen Code passiert gar nichts.
Bewegungsmelder und Photosensor Funktionieren nicht.
Verstärker ist immer eingeschaltet

Klingelknopf und Sabotagetaster Funktionieren Perfekt auch die beiden Briefkasten Schalter Funktionieren und schalten die Led richtig.

An der FHEM seite:
Funktioniert alles bis auf DashLightOn das Funktionieren auch nicht.

FHEMHelper.sh
# /bin/sh
#
# FHEMHelper.sh
#
# Script file to perform various external tasks for DoorPi
#
# Prof. Dr. Peter A. Henning, 2017
#
#  $Id: FHEMHelper 2017-05 - pahenning $
#
########################################################################################
#
#  This programm is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  The GNU General Public License can be found at
#  http://www.gnu.org/copyleft/gpl.html.
#  A copy is found in the textfile GPL.txt and important notices to the license
#  from the author is found in LICENSE.txt distributed with these scripts.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#########################################################################################
#  History
#  no_Legend 2016-09-28: Hinzufügen von verschiedenen Variablen, sowie bedingte Ausführung
#                        der Textausgaben auf einem TTS_Device.
#########################################################################################

checkstream() {
  streampid=`pidof mjpg_streamer`
  if [ -z "$streampid" ]; then
    stream="off"
  else
    stream="on"
  fi
}

FHEMDP="A.Door.Pi"              # FHEM Devicename for DoorPi
FHEMIP="192.x.x.x"            # IP address for DoorPi
FHEMPORT="8084"                 # Port number for DoorPi
FHEMHTTPS="false"               # true for HTTPS, false without HTTPS
curlprog="curl"
curlargs=""                     # -k to disable HTTPS certificate check,
                                # -u user:password for user and password
HOME="/home/doorpi"             # Doorpi Standard /usr/local/etc/DoorPi/
default_target="**2"         # default telephone number to be called
FHEMTTS="true"                  # true for TTS output, false without TTS
FHEMTTSDEVICE="AllTablets"      # FHEM Devicename for TTS device

### FHEM path ###
if [ $FHEMHTTPS = "true" ]; then
FHEM="https://$FHEMIP:$FHEMPORT/fhem?XHR=1&cmd.$FHEMDP"
else
FHEM="http://@$FHEMIP:$FHEMPORT/fhem?XHR=1&cmd.$FHEMDP"
fi

### execute commands ##
case $1 in

init) #-- send current target to FHEM
       target=`cat $HOME/calltarget`
       $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20call_target%20$target" &
       #-- send state of mjpg_streamer to FHEM
       streampid=`pidof mjpg_streamer`
       if [ -z "$streampid" ]; then
         $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20stream%20off" &
       else
         $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20stream%20on" &
       fi
       ;;

doorunlockandopen)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20unlockandopen" &
       if [ $FHEMTTS = "true" ]; then
     $curlprog $curlargs "$FHEM=set%20$FHEMTTSDEVICE%20audioPlay%20Music/066_zutrittbewohner.mp3" &
       fi
       ;;

dooropened)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20opened" &
       ;;

wrongid)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20wrong_id" &
       if [ $FHEMTTS = "true" ]; then
   $curlprog $curlargs "$FHEM=set%20$FHEMTTSDEVICE%20audioPlay%20Music/065_zutrittsversuch.mp3" &
       fi
       ;;

softlock)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20softlock" &
       ;;

call)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20$2" &
       ;;

gettarget)
       echo "{ReadingsVal('$FHEMDP','call_target','$default_target')}" | socat -t50 - TCP:$FHEMIP:7072 > $HOME/calltarget
       ;;

purge)
       find $HOME/records/ -type f -ctime +1 -delete
       ;;

movement)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20movement" &
       ;;

sabotage)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20sabotage" &
       ;;

alive)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20alive" &
       ;;

postboxtrap)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20postboxtrap" &
       ;;

postboxdoor)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20postboxdoor" &
       ;;

esac


Arduino


/*----------------------------------------------------------------------------------
  Haustür

  Prof. Dr. Peter A. Henning, April 2016

  ------------------------------------------------------------------------------------*/
#include <OneWire.h>
#include <SPI.h>
#include <SD.h>
#include <SoftwareSerial.h>
// Make sure that in NexConfig.h nexSerial is configured properly !
#include "Nextion.h"
// Door Opener Subsystem
const int DoorOpen   =  8;  // output for door opening
const int LockState  =  6;  // output to indicate lock state
byte       softlock  =  0;
byte       hardlock  =  0;

// postbox
const int  PostBoxLED  = 2;   // LED for postbox
const int  PostBoxDoor = A2;   // input for postbox door
const int  PostBoxTrap = A3;   // input for postbox trap

// Security PIN
const int HardLock   =  5;  // input low = high security
String PIN           = "12345";
char   pin[10];
char   pindigit      =  ' ';
byte   pinctr        =  0;
long   pinMillis     =  0;
const int WrongID    =  7;  // indicator for false 1-Wire ID or PIN

// process variables
const int loopLED    = 13; // signal loop
byte phase           = 1;  // phase of test
long currentMillis   = 0;

// dimming
const int  Brightness  = A0;   // input pin for the dimming voltage
const int  Movement    = A1;   // input for movement detection
const int  DashDim     = 3;    // output for dimming further dashlights
const int  DashlightOn = 4;    // input pin for the dashlight signal
const long dimTimeout  = 60000;
byte       isDimmed   = 0;
long       dimMillis  = 0;    // timer
// 1-Wire subsystem
OneWire   ds(12);          // 1-Wire on pin 12 (a 4.7K resistor is necessary)
const int redLED     = 11; // LED on pins 9,10,11
const int greenLED   = 10;
const int blueLED    = 9;

typedef struct {
  char* name;
  byte  ROM[8];
  int   red;
  int   green;
  int   blue;
} iButton;

const byte iBnum = 2;     // Number of defined iButtons
const iButton iButtons[] = {
  {"iRed",   {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,HIGH,HIGH},
  {"iRed",   {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,HIGH,HIGH},
};
//#                          {"iRed",   {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,HIGH,HIGH},
//#                          {"iGreen", {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},HIGH,LOW,HIGH},
//#                          {"iBlue",  {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},HIGH,HIGH,LOW},
//#                          {"iOrange",{0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,LOW,HIGH},
//#                          {"iPink",  {0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,HIGH,LOW},
//#                          {"iPurple",{0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},LOW,HIGH,LOW}

// GUI
NexPage page0     = NexPage(0, 0, "page0");
NexPage page1     = NexPage(1, 0, "page1");

NexButton  p0    = NexButton(0, 1, "p0");
NexPicture p1     = NexPicture(0, 15, "p1");

NexButton num0    = NexButton(1, 2, "b0");
NexButton num1    = NexButton(1, 3, "b1");
NexButton num2    = NexButton(1, 4, "b2");
NexButton num3    = NexButton(1, 5, "b3");
NexButton num4    = NexButton(1, 6, "b4");
NexButton num5    = NexButton(1, 7, "b5");
NexButton num6    = NexButton(1, 8, "b6");
NexButton num7    = NexButton(1, 9, "b7");
NexButton num8    = NexButton(1, 10, "b8");
NexButton num9    = NexButton(1, 11, "b9");
NexButton cancel  = NexButton(1, 12, "b10");
NexProgressBar progress  = NexProgressBar(1, 13, "j0");

NexTouch *nex_Listen_List[] =
{
  &num0, &num1, &num2, &num3, &num4,
  &num5, &num6, &num7, &num8, &num9,
  &cancel, &p0, NULL
};

void p0Callback(void *ptr)
{
  dimLight(100);
  softlock = 1;
  if ( hardlock == 0) {
    showLock();
  }
}

void num0PushCallback(void *ptr)
{
  pindigit = '0';
}

void num1PushCallback(void *ptr)
{
  pindigit = '1';
}

void num2PushCallback(void *ptr)
{
  pindigit = '2';
}

void num3PushCallback(void *ptr)
{
  pindigit = '3';
}

void num4PushCallback(void *ptr)
{
  pindigit = '4';
}

void num5PushCallback(void *ptr)
{
  pindigit = '5';
}

void num6PushCallback(void *ptr)
{
  pindigit = '6';
}

void num7PushCallback(void *ptr)
{
  pindigit = '7';
}

void num8PushCallback(void *ptr)
{
  pindigit = '8';
}

void num9PushCallback(void *ptr)
{
  pindigit = '9';
}

void CancelCallback(void *ptr)
{
  pinctr = 0;
  progress.setValue(0);
}
void setup() {

  String cmd;

  // set the digital pins as output:
  pinMode(redLED, OUTPUT);
  pinMode(greenLED, OUTPUT);
  pinMode(blueLED, OUTPUT);
  pinMode(loopLED, OUTPUT);
  pinMode(DoorOpen, OUTPUT);
  pinMode(WrongID, OUTPUT);
  pinMode(LockState, OUTPUT);
  pinMode(HardLock, INPUT_PULLUP);
  pinMode(DashlightOn, INPUT_PULLUP);
  pinMode(PostBoxLED, OUTPUT);
  pinMode(PostBoxTrap, INPUT_PULLUP);
  pinMode(PostBoxDoor, INPUT_PULLUP);

  digitalWrite(redLED, HIGH);
  digitalWrite(greenLED, HIGH);
  digitalWrite(blueLED, HIGH);
  digitalWrite(loopLED, LOW);
  digitalWrite(DoorOpen, HIGH);
  digitalWrite(WrongID, HIGH);
  digitalWrite(LockState, HIGH);
  digitalWrite(PostBoxLED, HIGH);

  // initialize the GUI
  nexInit();

  p0.attachPush(p0Callback, &p0);
  num0.attachPush(num0PushCallback, &num0);
  num1.attachPush(num1PushCallback, &num1);
  num2.attachPush(num2PushCallback, &num2);
  num3.attachPush(num3PushCallback, &num3);
  num4.attachPush(num4PushCallback, &num4);
  num5.attachPush(num5PushCallback, &num5);
  num6.attachPush(num6PushCallback, &num6);
  num7.attachPush(num7PushCallback, &num7);
  num8.attachPush(num8PushCallback, &num8);
  num9.attachPush(num9PushCallback, &num9);
  cancel.attachPush(CancelCallback, &cancel);

  //dimming
  dimLight(100);

  //showlock
  if ( digitalRead(HardLock) == LOW) {
    showLock();
    hardlock = 1;
    softlock = 0;
  } else {
    hideLock();
    hardlock = 0;
    softlock = 0;
  }
}
void openDoor(int level) {
  digitalWrite(DoorOpen, LOW);
  delay(1000);
  digitalWrite(DoorOpen, HIGH);
}
void wrongID() {
  digitalWrite(WrongID, LOW);
  delay(1000);
  digitalWrite(WrongID, HIGH);
}
void showLock() {
  sendCommand("vis p1,1");
}
void hideLock() {
  sendCommand("vis p1,0");
}
void dimLight(int level) {
  uint16_t dimVal;
  String cmd = "dim=";
  // zero level - determine from lighting conditions
  if ( (level == 0) && (digitalRead(DashlightOn) == HIGH) ) {
    dimVal = (uint32_t) analogRead(Brightness);
    dimVal = map(dimVal, 0, 1023, 0, 100);
    isDimmed = 1;
    // nonzero level - take as it is
  } else {
    dimVal = 100;
    isDimmed = 0;
  }
  cmd += dimVal;
  //dbSerialPrint(cmd);
  sendCommand(cmd.c_str());
  dimVal = map(dimVal, 0, 100, 0, 255);
  //dbSerialPrint(" -- ");
  //dbSerialPrintln(dimVal);
  analogWrite(DashDim, dimVal);
  dimMillis = millis();
}
void loop(void) {
  byte i;
  byte j;
  boolean equiv;
  byte iBfound;
  byte present = 0;
  byte addr[8];
  char* device;

  // new for each loop
  currentMillis = millis();
  digitalWrite(loopLED, HIGH);

  // dimming
  if ( isDimmed == 1 ) {
    if ( analogRead(Movement) < 10 ) {
      dimLight(100);
    }
    if ( digitalRead(DashlightOn) == LOW) {
      //dbSerialPrintln(" DashlightOn = LOW");
      dimLight(100);
    }
  }
  if ( (currentMillis - dimMillis) > dimTimeout) {
    dimLight(0);
  }

  // postbox
  if( digitalRead(PostBoxDoor) == LOW ){
      digitalWrite(PostBoxLED, HIGH);
  }else {
    if( digitalRead(PostBoxTrap) == LOW ){
      digitalWrite(PostBoxLED, LOW);
    }
  }
  //Tauscht hintergrund gegen hintergrund mit schloss
  // void showLock() {
  //  sendCommand("p1.pic=15");
  //}
  //void hideLock() {
  //  sendCommand("p1.pic=13");
  //}
 
  // locking
  if ( digitalRead(HardLock) == LOW) {
    //change display only if hardlock has changed
    if ( hardlock == 0 ) {
      showLock();
    }
    hardlock = 1;
    softlock = 0;

  } else {
    //change display only if
    if ( (hardlock == 1) && (softlock == 0)) {
      hideLock();
    }
    hardlock = 0;
  }

  //lockState display
  if ( (hardlock == 0) && (softlock == 0)) {
    digitalWrite(LockState, HIGH);
  } else {
    digitalWrite(LockState, LOW);
  }

  //1-Wire bus access only in phase 1
  if ( phase == 1) {
    digitalWrite(redLED, HIGH);
    digitalWrite(greenLED, HIGH);
    digitalWrite(blueLED, HIGH);

    if ( !ds.search(addr)) {
      present = 0;
      ds.reset_search();
      digitalWrite(loopLED, LOW);
      delay(250);

    } else {
      digitalWrite(loopLED, LOW);
      // Invalid 1-Wire ID
      if (OneWire::crc8(addr, 7) != addr[7]) {
      } else {
        dimLight(100);

        // the first ROM byte indicates which chip
        switch (addr[0]) {
          case 0x01:
            device = "DS2401";
            present++;
            for (i = 0; i < iBnum; i++) {
              equiv = true;
              for (j = 0; j < 7; j++) {
                if (iButtons[i].ROM[j] != addr[j]) {
                  equiv = false;
                  break;
                }
              }
              if (equiv ) {
                iBfound = i;
                break;
              }
            }

            if ( equiv ) {
              digitalWrite(redLED, iButtons[iBfound].red);
              digitalWrite(greenLED, iButtons[iBfound].green);
              digitalWrite(blueLED, iButtons[iBfound].blue);
              // LowSec state => open door
              if ( (hardlock == 0) && (softlock == 0)) {
                openDoor(1);
                delay(4000);
                return;
                // HiSec state => go to phase 2
              } else {
                phase = 2;
                pinMillis = millis();
                page1.show();
                return;
              }
              //sabotage ? Unknown iButton
            } else {
              digitalWrite(redLED, LOW);
              digitalWrite(greenLED, LOW);
              digitalWrite(blueLED, LOW);
              wrongID();
            }
            break;
          default:
            device = "unknown";
            break;
        }
        ds.reset();
      }
    }
  }
  nexLoop(nex_Listen_List);
  if ( phase == 2 ) {
    // check for timeout
    if ( (currentMillis - pinMillis) > 30000 ) {
      progress.setValue(0);
      phase = 1;
      pinctr = 0;
      page0.show();
    }
  }

  // phase 2 and GUI input is a number
  if ( (phase == 2) && ( pindigit != ' ') ) {
    // push this number to the PIN buffer
    pin[pinctr] = pindigit;
    pindigit = ' ';
    pinctr++;
    progress.setValue(pinctr * 20);
    // PIN is complete
    if ( pinctr == 5) {
      // PIN is correct => open door
      if ( String(pin) == PIN ) {
        openDoor(2);
        // wrong PIN
      } else {
        wrongID();
      }
      // return to phase 1
      progress.setValue(0);
      phase = 1;
      pinctr = 0;
      page0.show();
    }
  }
}


Markus
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Markus

hier noch meine doorpi.ini

#
# doorpi.ini
#
# Configuration file for DoorPi
#
# Prof. Dr. Peter A. Henning, 2017
#
#  $Id: doorpi.ini 2017-05 - pahenning $
#
########################################################################################
#
#  This programm is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  The GNU General Public License can be found at
#  http://www.gnu.org/copyleft/gpl.html.
#  A copy is found in the textfile GPL.txt and important notices to the license
#  from the author is found in LICENSE.txt distributed with these scripts.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#########################################################################################
[DoorPi]
base_path = /usr/local/etc/DoorPi
snapshot_path = /home/doorpi/records
number_of_snapshots = 10
eventlog = /home/doorpi/log/eventlog.db
is_alive_led = blinking_led
last_snapshot =

[DoorPiWeb]
indexfile = index.html
loginfile = login.html
#online_fallback = URLURL:8083/fhem?detail=A.Door.Pi
port = 80
public = AREA_public
www = /home/doorpi/records

[AREA_public]
.*

[AREA_config]
/control/config_value_get
/control/config_value_set
/control/config_value_delete
/control/config_save
/control/config_get_configfile

[AREA_dashboard]
/dashboard/pages/.*html

[AREA_status]
/status
/mirror

[AREA_control]
.*

[User]
admin = admin
visitor = visitor

[Group]
administrators = admin
guests = visitor

[WritePermission]
administrators = dashboard,status,config

[ReadPermission]
guests = dashboard

[AdminNumbers]
**2 = active

[DTMF]
"*" = out:door,1,0,3
"#" = out:light,1,0,300

####################### SIP phone #######################
[SIP-Phone]
identity = Tuersprechanlage
local_port = xx
firewallpolicy = PolicyNoFirewall
#
sipphonetyp = linphone
sipserver_password = xxxxxxxxx
sipserver_realm = fritz.box
sipserver_server = xxx.xxx.xxx.xxx
sipserver_username = xxxxx
stun_server =
#
max_call_time = 300
call_timeout = 60
ua.max_calls = 2
#
capture_device=ALSA: USB Audio Device
playback_device=ALSA: USB Audio Device
#
audio_codecs = PCMA,PCMU
record_while_dialing = False
records = /home/doorpi/records/%Y-%m-%d_%H-%M-%S.wav
#
dialtone = /home/doorpi/sounds/bigben_mono.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = False
#
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga

####################### Events #######################
[EVENT_OnStartup]
10 = sleep:1
20 = os_execute:/home/doorpi/FHEMHelper.sh init
20 = os_execute:/home/doorpi/FHEMHelper.sh call init

[EVENT_BeforeSipPhoneMakeCall]
10 = out:irlight,1
20 = take_snapshot
30 = os_execute:/home/doorpi/FHEMHelper.sh call started
40 = out:irlight,0
50 = os_execute:/home/doorpi/sendphoto call

#[EVENT_OnCallStateConnect]
#10 = out:audio,0

[EVENT_OnCallStateDisconnect]
10 = os_execute:/home/doorpi/FHEMHelper.sh call ended
#20 = out:audio,1

[EVENT_OnCallStateDismissed]
10 = os_execute:/home/doorpi/FHEMHelper.sh call dismissed
#20 = out:audio,1

[EVENT_OnCallStateReject]
10 = os_execute:/home/doorpi/FHEMHelper.sh call rejected
20 = out:audio,1

[EVENT_OnTimeMinuteEvery5]
10 = statuswatchdog:/tmp/doorpi.watchdog
20 = os_execute:/home/doorpi/FHEMHelper.sh alive

####################### Keyboards ##############################
[keyboards]
webservice = filesystem
onboardpins = piface

####################### Virtual keyboard #######################
[webservice_keyboard]
base_path_input = /home/doorpi/keyboard/inputs/
base_path_output = /home/doorpi/keyboard/outputs/
reset_input=false

[webservice_InputPins]
dooropen        = sleep:0
doorlocked      = out:hardlock,1
doorunlocked    = out:hardlock,0
snapshot        = sleep:0
streamon        = sleep:0
streamoff       = sleep:0
lighton         = out:light,1
lightoff        = out:light,0
dashlighton     = out:dashlight,1
dashlightoff    = out:dashlight,0
gettarget       = sleep:0
purge           = sleep:0
clear           = sleep:0
button1         = sleep:0
button2         = sleep:0

#-- open door and communicate to FHEM that door has been opened
[EVENT_OnKeyPressed_webservice.dooropen]
10 = out:door,1,0,3
20 = os_execute:/home/doorpi/FHEMHelper.sh dooropened

#-- taks snapshot and communicate to FHEM that a snapshot has been taken
[EVENT_OnKeyPressed_webservice.snapshot]
10 = out:irlight,1
20 = os_execute:/home/doorpi/FHEMHelper.sh call snapshot
30 = take_snapshot
40 = out:irlight,0
50 = os_execute:/home/doorpi/sendphoto.sh snapshot

#-- start video stream
[EVENT_OnKeyPressed_webservice.streamon]
10 = os_execute:/etc/init.d/mjpg_streamer start

#-- stop video stream
[EVENT_OnKeyPressed_webservice.streamoff]
10 = os_execute:/etc/init.d/mjpg_streamer stop

#-- obtain the target call number from FHEM
[EVENT_OnKeyPressed_webservice.gettarget]
10 = os_execute:/home/doorpi/FHEMHelper.sh gettarget

#-- purge all files older than current PID file
[EVENT_OnKeyPressed_webservice.purge]
10 = os_execute:/home/doorpi/FHEMHelper.sh purge

#-- clear all files
[EVENT_OnKeyPressed_webservice.clear]
10 = os_execute:/home/doorpi/FHEMHelper.sh clear

[EVENT_OnKeyPressed_webservice.button1]
10 = os_execute:/home/doorpi/FHEMHelper.sh sabotage

[EVENT_OnKeyPressed_webservice.button2]
10 = file_call_value:/home/doorpi/calltarget

####################### Real keyboard #######################
[onboardpins_keyboard]
pull_up_down = PUD_UP

[onboardpins_OutputPins]
0 = door
1 = light
2 = dashlight
3 = irlight
4 = hardlock
5 = audio
7 = blinking_led

[onboardpins_InputPins]
0 = sleep:0
1 = sleep:0
4 = sleep:0
5 = sleep:0
6 = sleep:0
7 = sleep:0

#-- Ring the bell
[EVENT_OnKeyPressed_onboardpins.0]
10 = file_call_value:/home/doorpi/calltarget

#-- DoorOpen pin from Arduino
[EVENT_OnKeyPressed_onboardpins.1]
10 = os_execute:/home/doorpi/FHEMHelper.sh doorunlockandopen
#20 = os_execute:aplay -D plughw:1,0 /home/doorpi/sounds/067_willkommen.wav

#-- Open the door
[EVENT_OnKeyPressed_onboardpins.2]
10 =  out:door,1,0,5


#-- Cleared the mail in postbox
#[EVENT_OnKeyPressed_onboardpins.2]
#10 = os_execute:/home/doorpi/FHEMHelper.sh postboxdoor

#-- Got new mail in postbox
[EVENT_OnKeyPressed_onboardpins.3]
10 = os_execute:/home/doorpi/FHEMHelper.sh postboxtrap

#-- WrongID pin from Arduino
[EVENT_OnKeyPressed_onboardpins.4]
10 = out:irlight,1
20 = os_execute:/home/doorpi/FHEMHelper.sh wrongid
30 = take_snapshot
40 = out:irlight,0
50 = os_execute:/home/doorpi/sendphoto.sh wrongid

#-- LockState pin from Arduino - FHEM will transform softlock into hardlock
[EVENT_OnKeyPressed_onboardpins.5]
10 = os_execute:/home/doorpi/FHEMHelper.sh softlock

#-- Movement detection
[EVENT_OnKeyPressed_onboardpins.6]
10 = out:dashlight,1,0,1
20 = os_execute:/home/doorpi/FHEMHelper.sh movement

#-- Sabotage detection
[EVENT_OnKeyPressed_onboardpins.7]
10 = os_execute:/home/doorpi/FHEMHelper.sh sabotage

#-- nachricht bei anruf per mail
[OnCallIncomming]
10 = mailto:lang.markus@inext.at,Incoming call from !remote_uri!,DoorPi wurde von der Nummer !remote_uri! angerufen.
20 = sleep:1



Markus
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

halloween

Ich hätte dich noch eine Frage:

Wie dicht muss ein (Unterputz-) Gehäuse sein, wenn es nicht direkt hinregnet? IP65 66 oder eher was ohne Dichtungen?

Prof. Dr. Peter Henning

Ich habe mein 3D-Druck-Gehäuse mit umlaufender Nut und Gummischnur versehen.

LG

pah

mikrowelle

#654
Hallo zusammen,

ich habe dank des FHEM-Forums (!!) DoorPi v2.5.1 auf einem Raspberry 3 , Jessie, mit PiFace und Raspi NoIr Cam am laufen. Anrufe von und an DoorPi über SIP / FritzBox funktionieren inkl. Video (super!!). Ich verwende zudem die aktuellen Files von PAH aus dem SVN repository, alle entsprechend auf dem DoorPi Raspberry hinterlegt.

Leider erhalte ich in FHEM folgende Fehlermeldung, wie auch schon früher hier berichtet - ist das mittlerweile behoben? Bzw. gibt es einen funktionierenden Workaround?

jquery.min.js line 4:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data


Grundsätzlich scheint alles zu funktionieren (z.B. schaltet das Relais fürs Licht), nur die Fehlermeldung nervt.


[Nachtrag: Call-Liste geht, ich Depp sollte einfach die FHEM IP richtig setzen ;)]

Was auch nicht funktioniert, ist die Anzeige der Call-List. Laut FHEM Logfile:

2018.03.28 18:30:03 2: [DoorPi_GetHistory] Warning - has found an empty event history

ist die Event History leer? Anrufe funktionieren, wie gesagt... Ach ja: SQLite ist installiert, genauso wie Curl, JSON, Test:JSON, FHEM ist aktuell

Hier meine DoorPi Ini:

#
# doorpi.ini
#
# Configuration file for DoorPi
#
# Prof. Dr. Peter A. Henning, 2017
#
#  $Id: doorpi.ini 2017-05 - pahenning $
#
########################################################################################
#
#  This programm is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  The GNU General Public License can be found at
#  http://www.gnu.org/copyleft/gpl.html.
#  A copy is found in the textfile GPL.txt and important notices to the license
#  from the author is found in LICENSE.txt distributed with these scripts.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#########################################################################################
[DoorPi]
base_path = /usr/local/etc/DoorPi
snapshot_path = /home/doorpi/records
number_of_snapshots = 10
eventlog = /home/doorpi/log/eventlog.db
is_alive_led = blinking_led
last_snapshot =

[DoorPiWeb]
indexfile = index.html
loginfile = login.html
#online_fallback = URLURL:8083/fhem?detail=A.Door.Pi
port = 80
public = AREA_public
www = /home/doorpi/records

[AREA_public]
.*

[AREA_config]
/control/config_value_get
/control/config_value_set
/control/config_value_delete
/control/config_save
/control/config_get_configfile

[AREA_dashboard]
/dashboard/pages/.*html

[AREA_status]
/status
/mirror

[AREA_control]
.*

[User]
admin = admin
visitor = visitor

[Group]
administrators = admin
guests = visitor

[WritePermission]
administrators = dashboard,status,config

[ReadPermission]
guests = dashboard

[AdminNumbers]
**610 = active

[DTMF]
"#" = out:door,1,0,3

####################### SIP phone #######################
[SIP-Phone]
identity = DoorPi
local_port = 5060
firewallpolicy = PolicyNoFirewall
#
sipserver_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sipserver_realm = fritz.box
sipserver_server = 192.168.0.1
sipserver_username = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
stun_server =
#
max_call_time = 300
call_timeout = 60
ua.max_calls = 2
#
capture_device = ALSA: USB PnP Sound Device
playback_device = ALSA: USB PnP Sound Device
audio_codecs = PCMA,PCMU
record_while_dialing = False
records = /home/doorpi/records/%Y-%m-%d_%H-%M-%S.wav
#
dialtone = /home/doorpi/sounds/bigben_mono.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = False
#
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga

####################### Events #######################
[EVENT_OnStartup]
10 = sleep:1
20 = os_execute:/home/doorpi/FHEMHelper.sh init
20 = os_execute:/home/doorpi/FHEMHelper.sh call init

[EVENT_BeforeSipPhoneMakeCall]
10 = out:irlight,1
20 = os_execute:/etc/init.d/mjpg_streamer stop
30 = take_snapshot
40 = os_execute:/etc/init.d/mjpg_streamer start
50 = os_execute:/home/doorpi/FHEMHelper.sh call started
60 = out:irlight,0
70 = os_execute:/home/doorpi/sendphoto call

#[EVENT_OnCallStateConnect]
#10 = out:audio,0

[EVENT_OnCallStateDisconnect]
10 = os_execute:/home/doorpi/FHEMHelper.sh call ended
#20 = out:audio,1

[EVENT_OnCallStateDismissed]
10 = os_execute:/home/doorpi/FHEMHelper.sh call dismissed
#20 = out:audio,1

[EVENT_OnCallStateReject]
10 = os_execute:/home/doorpi/FHEMHelper.sh call rejected
20 = out:audio,1

[EVENT_OnTimeMinuteEvery5]
10 = statuswatchdog:/tmp/doorpi.watchdog
20 = os_execute:/home/doorpi/FHEMHelper.sh alive

####################### Keyboards ##############################
[keyboards]
webservice = filesystem
onboardpins = piface

####################### Virtual keyboard #######################
[webservice_keyboard]
base_path_input = /home/doorpi/keyboard/inputs/
base_path_output = /home/doorpi/keyboard/outputs/
reset_input=false

[webservice_InputPins]
dooropen        = sleep:0
doorlocked      = out:hardlock,1
doorunlocked    = out:hardlock,0
snapshot        = sleep:0
streamon        = sleep:0
streamoff       = sleep:0
lighton         = out:light,1
lightoff        = out:light,0
dashlighton     = out:dashlight,1
dashlightoff    = out:dashlight,0
gettarget       = sleep:0
purge           = sleep:0
clear           = sleep:0
button1         = sleep:0
button2         = sleep:0

#-- open door and communicate to FHEM that door has been opened
[EVENT_OnKeyPressed_webservice.dooropen]
10 = out:door,1,0,3
20 = os_execute:/home/doorpi/FHEMHelper.sh dooropened

#-- taks snapshot and communicate to FHEM that a snapshot has been taken
[EVENT_OnKeyPressed_webservice.snapshot]
10 = out:irlight,1
20 = os_execute:/home/doorpi/FHEMHelper.sh call snapshot
30 = take_snapshot
40 = out:irlight,0
50 = os_execute:/home/doorpi/sendphoto.sh snapshot

#-- start video stream
[EVENT_OnKeyPressed_webservice.streamon]
10 = os_execute:/etc/init.d/mjpg_streamer start

#-- stop video stream
[EVENT_OnKeyPressed_webservice.streamoff]
10 = os_execute:/etc/init.d/mjpg_streamer stop

#-- obtain the target call number from FHEM
[EVENT_OnKeyPressed_webservice.gettarget]
10 = os_execute:/home/doorpi/FHEMHelper.sh gettarget

#-- purge all files older than current PID file
[EVENT_OnKeyPressed_webservice.purge]
10 = os_execute:/home/doorpi/FHEMHelper.sh purge

#-- clear all files
[EVENT_OnKeyPressed_webservice.clear]
10 = os_execute:/home/doorpi/FHEMHelper.sh clear

[EVENT_OnKeyPressed_webservice.button1]
10 = os_execute:/home/doorpi/FHEMHelper.sh sabotage

[EVENT_OnKeyPressed_webservice.button2]
10 = file_call_value:/home/doorpi/calltarget

####################### Real keyboard #######################
[onboardpins_keyboard]
pull_up_down = PUD_UP

[onboardpins_OutputPins]
0 = door
1 = light
2 = dashlight
3 = irlight
4 = hardlock
6 = audio
7 = blinking_led

[onboardpins_InputPins]
0 = sleep:0
1 = sleep:0
4 = sleep:0
5 = sleep:0
6 = sleep:0
7 = sleep:0

#-- Ring the bell
[EVENT_OnKeyPressed_onboardpins.0]
10 = file_call_value:/home/doorpi/calltarget

#-- DoorOpen pin from Arduino
[EVENT_OnKeyPressed_onboardpins.1]
10 = os_execute:/home/doorpi/FHEMHelper.sh doorunlockandopen
20 = os_execute:aplay -D plughw:1,0 /home/doorpi/sounds/067_willkommen.wav

#-- Open the door
#[EVENT_OnKeyPressed_onboardpins.2]
#10 =  out:door,1,0,5

#-- WrongID pin from Arduino
[EVENT_OnKeyPressed_onboardpins.4]
10 = out:irlight,1
20 = os_execute:/home/doorpi/FHEMHelper.sh wrongid
30 = take_snapshot
40 = out:irlight,0
50 = os_execute:/home/doorpi/sendphoto.sh wrongid

#-- LockState pin from Arduino - FHEM will transform softlock into hardlock
[EVENT_OnKeyPressed_onboardpins.5]
10 = os_execute:/home/doorpi/FHEMHelper.sh softlock

#-- Movement detection
[EVENT_OnKeyPressed_onboardpins.6]
10 = out:dashlight,1,0,1
20 = os_execute:/home/doorpi/FHEMHelper.sh movement

#-- Sabotage detection 
[EVENT_OnKeyPressed_onboardpins.7]
10 = os_execute:/home/doorpi/FHEMHelper.sh sabotage



sowie die FHEMhelper:

# /bin/sh
#
# FHEMHelper.sh
#
# Script file to perform various external tasks for DoorPi
#
# Prof. Dr. Peter A. Henning, 2017
#
#  $Id: FHEMHelper 2017-05 - pahenning $
#
########################################################################################
#
#  This programm is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  The GNU General Public License can be found at
#  http://www.gnu.org/copyleft/gpl.html.
#  A copy is found in the textfile GPL.txt and important notices to the license
#  from the author is found in LICENSE.txt distributed with these scripts.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#########################################################################################
#  History
#  no_Legend 2016-09-28: Hinzufügen von verschiedenen Variablen, sowie bedingte Ausführung
#                        der Textausgaben auf einem TTS_Device.
#########################################################################################

checkstream() {
  streampid=`pidof mjpg_streamer`
  if [ -z "$streampid" ]; then
    stream="off"
  else
    stream="on"
  fi
}

FHEMDP="DoorPi"              # FHEM Devicename for DoorPi
FHEMIP="192.168.0.10"            # IP address for DoorPi
FHEMPORT="8090"                 # Port number for DoorPi
FHEMHTTPS="false"               # true for HTTPS, false without HTTPS
curlprog="curl"
curlargs=""                     # -k to disable HTTPS certificate check,
                                # -u user:password for user and password 
HOME="/home/doorpi"             # Doorpi Standard /usr/local/etc/DoorPi/
default_target="11"         # default telephone number to be called
FHEMTTS="true"                  # true for TTS output, false without TTS
FHEMTTSDEVICE="MyTTS"      # FHEM Devicename for TTS device

### FHEM path ###
if [ $FHEMHTTPS = "true" ]; then
    FHEM="https://$FHEMIP:$FHEMPORT/fhem?XHR=1&cmd.$FHEMDP"
  else
    FHEM="http://$FHEMIP:$FHEMPORT/fhem?XHR=1&cmd.$FHEMDP"
  fi
 
### execute commands ##
case $1 in

init) #-- send current target to FHEM
       target=`cat $HOME/calltarget`
       $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20call_target%20$target" &
       #-- send state of mjpg_streamer to FHEM
       streampid=`pidof mjpg_streamer`
       if [ -z "$streampid" ]; then
         $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20stream%20off" &
       else
         $curlprog $curlargs "$FHEM=setreading%20$FHEMDP%20stream%20on" &
       fi
       ;;

doorunlockandopen)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20unlockandopen" &
       if [ $FHEMTTS = "true" ]; then
       $curlprog $curlargs "$FHEM=set%20$FHEMTTSDEVICE%20audioPlay%20Music/066_zutrittbewohner.mp3" &     
       fi
       ;;

dooropened)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20opened" &
       ;;

wrongid)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20wrong_id" &
       if [ $FHEMTTS = "true" ]; then
     $curlprog $curlargs "$FHEM=set%20$FHEMTTSDEVICE%20audioPlay%20Music/065_zutrittsversuch.mp3" &
       fi
       ;;

softlock)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20door%20softlock" &
       ;;

call)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20$2" &
       ;;

gettarget)
       echo "{ReadingsVal('$FHEMDP','call_target','$default_target')}" | socat -t50 - TCP:$FHEMIP:7072 > $HOME/calltarget
       ;;

purge)
       find $HOME/records/ -type f -ctime +1 -delete
       ;;

movement)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20movement" &
       ;;

sabotage)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20sabotage" &
       ;;

alive)
       $curlprog $curlargs "$FHEM=set%20$FHEMDP%20call%20alive" &
       ;;


esac


Vielen Dank für Eure Hilfe!

Prof. Dr. Peter Henning

Was ergibt denn die Abfrage der URL

<doorpi-ipadresse>/status?module=history_event&name=OnCallStateChange&value=1000

LG

pah

mikrowelle

#656
Wow - vielen Dank für die schnelle Antwort, PAH!!

Hier der Auszug:


{
    "history_event": [
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "MR70IC",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258810.64
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NQR6TR",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258810.52
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Streams running', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "07JU3S",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258805.95
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "O0M5QN",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258805.93
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "IHPL9J",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258800.23
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "7UMEUT",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258800.0
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "XB5K31",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258799.98
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "YTQO8B",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258528.01
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "F84XOZ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258527.89
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Connected (streams running)', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "CWLIVK",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258522.87
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "A8QZNF",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258522.81
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "8PTDW4",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258522.75
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "C2WHDK",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258357.17
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "9JE3GK",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258357.05
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "F08FHR",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258351.36
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "F06DZQ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258339.79
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "E8TA8B",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258339.55
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "LU1QBT",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522258339.53
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NKTBIJ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522255196.04
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "E2AEJY",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522255189.0
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NSLZ2L",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522255188.58
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "SC0A33",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254939.07
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NNWJIC",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254912.88
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "00UW9Y",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254912.62
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "5EYHIK",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254855.98
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "GOWGWL",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254855.8
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "SVVOJK",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254845.38
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "K9VF6R",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254845.25
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "LPZJYB",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522254845.2
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "7KQY8F",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522251780.12
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "CIS8ZW",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522251774.56
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "58SRN2",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522251773.97
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "OVIQKO",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522251773.95
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "K5QVJC",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243649.6
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "LG30OM",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243649.48
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "6PQGJG",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243643.77
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "7IHOKM",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243643.73
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "2Z2ZEM",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243586.56
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "DUWDXM",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243586.43
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "GF893L",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243586.41
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "A0PYWI",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243491.77
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "E8368R",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243491.63
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "J7QIBJ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243491.58
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NY6WA3",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243387.02
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "AQKLVV",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243386.88
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "SY0VHF",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243380.91
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "CAB1Q0",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243372.09
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "Q8JFX5",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243371.55
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "IJQK1D",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522243371.54
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "BW6W9D",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522240235.74
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "OQXD3R",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522240207.87
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "5Y3E52",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522240207.86
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "GGF7AL",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522238949.45
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "MZOXKA",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522238949.34
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Streams running', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "J601QU",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522238935.31
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "95Z0D6",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522238935.3
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "ZOY9UJ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522238928.14
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "YY47BN",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237216.8
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "0A5L3H",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237216.68
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "W5DRPU",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237216.67
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "NJYSE5",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237209.32
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "G2P7SL",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237209.14
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "DPOEEE",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237209.13
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call terminated', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "1AUQU7",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237125.06
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "2WVTHZ",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237101.75
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "3LE9K2",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237101.59
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "NO9G16",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522237101.59
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "86IE49",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235844.03
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "WUTTAF",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235843.92
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "27AU9V",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235761.42
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Streams running', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "4W1RZ7",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235761.42
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "A4COSB",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235738.46
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "U56ULO",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522235738.45
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "4K7UPN",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233310.16
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "J4QYC4",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233310.05
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "1Y881K",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233304.44
        },
        {
            "additional_infos": "{'call_state': 1, 'state': 'Incoming call', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "JX2C9Z",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233304.43
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "YE5UIR",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233291.0
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "MXZJ7W",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233290.89
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "RIGEBE",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233279.64
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Streams running', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "5RCGNH",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233279.64
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "45QTP5",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233265.52
        },
        {
            "additional_infos": "{'call_state': 3, 'state': 'Outgoing call in progress', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "6QBIMV",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233265.38
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "OWA1Y3",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522233265.37
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "4J7ZMW",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232287.28
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "6LHKNS",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232287.18
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "J3LUTG",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232268.34
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Streams running', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "7V0H5R",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232268.34
        },
        {
            "additional_infos": "{'call_state': 5, 'state': 'Early media', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "5VEPS9",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232260.18
        },
        {
            "additional_infos": "{'call_state': 2, 'state': 'Starting outgoing call', 'remote_uri': 'sip:11@192.168.0.1'}",
            "event_id": "UPXRPS",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522232259.47
        },
        {
            "additional_infos": "{'call_state': 18, 'state': 'Call released', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "V1PVLU",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522226800.34
        },
        {
            "additional_infos": "{'call_state': 13, 'state': 'Call ended', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "QENYWL",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522226800.23
        },
        {
            "additional_infos": "{'call_state': 7, 'state': 'Connected (streams running)', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "SVHQ44",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522226788.14
        },
        {
            "additional_infos": "{'call_state': 6, 'state': 'Connected', 'remote_uri': 'sip:**610@fritz.box'}",
            "event_id": "FGVZSY",
            "event_name": "OnCallStateChange",
            "fired_by": "doorpi.sipphone.linphone_lib.CallBacks",
            "start_time": 1522226787.42
        },



mikrowelle

nur die Fehlermeldung



jquery.min.js line 4:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data



besteht weiterhin...

Prof. Dr. Peter Henning

Was soll das denn jetzt bitte bedeuten - ist die angezeigte history immer noch leer ?

Und die Fehlermeldung ist keine Fehlermeldung, kann man ignorieren.


pah

mikrowelle

History geht jetzt, war mein Fehler (falsche IP des Fhem Servers).

Lässt sich die JSON Meldung / PopUp  irgendwie abstellen?

Danke!