Ankündigung

Einklappen
Keine Ankündigung bisher.

Freibier, Neues WG Plugin, Pushbullet Sender für WG

Einklappen
Dieses Thema ist geschlossen.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    [wiregate] Freibier, Neues WG Plugin, Pushbullet Sender für WG

    Ich habe seit ein paar Monaten auf meinem Android HTC M7 und Win8.1-PC Pushbullet laufen.
    Für das WG habe ich ein Plugin erstellt das Pushbullet Nachrichten ans Handy und PC sendet.

    pushbullet.config
    Code:
    # pushbullet.pl - Konfiguration
    #
    # GA=>'1/4/20', = GA die getriggert wird
    # type=>'note'
    # title=>''
    # body_on=>'' = Text wenn GA auf 1
    # body_off=>'' = Text wenn GA auf 0
    %push=(
    push =>{GA=>'1/3/74',type=>'note',title=>'WP',body_on=>'AUS',body_off=>'EIN'},
    push =>{GA=>'0/1/666',type=>'note',title=>'Ping Wetterstation',body_on=>'AUS',body_off=>'EIN'},
    );
    Plugin pushbullet.pl
    Code:
    # Pushbullet Sender für WG
    # In conf GA, title und body eintragen
    # wenn GA=1 dann werden title und body gesendet
    # by NetFritz KNX-Userforum
    # Konfigurationsfile einlesen
    my $conf=$plugname; $conf=~s/\.pl$/.conf/;
    $conf="/etc/wiregate/plugin/generic/conf.d/$conf";
    my %push=();
    my $err=read_from_config();
    return $err if $err;
    #
    # in $iso steht Datum-Zeit = 'd.m.Y H:M'
    my @dta = localtime(time);
    my $iso=sprintf('%02d.',$dta[3]);
    $iso.=sprintf('%02d.',$dta[4]+1);
    $iso.=($dta[5]+1900)." ";
    $iso.=sprintf('%02d:',$dta[2]);
    $iso.=sprintf('%02d',$dta[1]);
    #
    $plugin_info{$plugname.'_cycle'} = 3600;
    # Alle GAs aus der config abonnieren
    for my $r (grep ref($push{$_}), keys %push)
    {
       $plugin_subscribe{$push{$r}{GA}}{$plugname}=1;  
    }
    my $req = "";
    my $body = "";
    # BUS ueberwachen
    if ($msg{'apci'} eq "A_GroupValue_Write") {      # A_GroupValue_Write Telegramm eingetroffen
       for my $r (grep ref($push{$_}), keys %push){  # Ueberwachte GAs durchlaufen
          if ($msg{'dst'} eq $push{$r}{GA}){         # GAs vergleichen
          if($msg{'value'} == 1 && $plugin_info{$plugname.'_'.$r.'_alt'} == 0 ){
             $body = $push{$r}{body_on};
             $plugin_info{$plugname.'_'.$r.'_alt'} = 1;
          }elsif($msg{'value'} == 0){
             $body = $push{$r}{body_off};
             $plugin_info{$plugname.'_'.$r.'_alt'} = 0;
          }
          # Push senden  
          use LWP::UserAgent;
          use HTTP::Request::Common qw(POST);
          my $ua = LWP::UserAgent->new;
          my $req = POST 'https://api.pushbullet.com/v2/pushes',
             [
                type  => 'note',
                title => $push{$r}{title},
                body   => $iso."   ". $body
             ];
            $req->authorization_basic('wird von pushbullet vergeben');
            #return ($push{$r}{GA});
            print ($ua->request($req)->as_string);
            plugin_log($plugname, "$push{$r}{title} $push{$r}{body} $msg{'value'}");
          }
       }  
    }  
    return;
    # ------------- config einlesen ----------------------
    sub read_from_config
      {
      open CONFIG, "<$conf" || return "no config found";
         my @lines = <CONFIG>;
      close CONFIG;
      eval("@lines");
      return "config error" if $@;
    }
    Viel Spaß
    Gruß NetFritz
    Zuletzt geändert von NetFritz; 17.03.2016, 15:44.
    KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
    WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
    PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

    #2
    Bekomme das Plugin leider nicht zum laufen.
    Den Access Token gebe ich hier ein?
    .
    .
    .
    ];
    $req->authorization_basic('Access Token');
    #return ($push{$r}{GA}); print ($ua->request($req)->as_string)
    .
    .
    .

    Gruß Plusch

    Kommentar


      #3
      Hallo
      Hatte letzte Woche eine Änderung durchgeführt.
      Das Plugin sollte nur durchgeführt werden wenn sich die GrAdr von 0 auf 1 ändert.
      In meiner config steht eine GrAdr 0/1/166.
      Hast Du die confg Zeile gelöscht? , sie muss raus.

      Ändere diese Zeile mal so das nur noch die Abfrage auf $msg{'value'} ==1 drin ist.
      Und probiere dann nochmal.
      Code:
           #if($msg{'value'} == 1 && $plugin_info{$plugname.'_'.$r.'_alt'} == 0 ){
            if($msg{'value'} == 1){
      Gruß NetFritz
      KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
      WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
      PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

      Kommentar


        #4
        # Pushbullet Sender für WG
        # In conf GA, title und body eintragen
        # wenn GA=1 dann werden title und body gesendet
        # by NetFritz KNX-Userforum
        # Konfigurationsfile einlesen
        my $conf=$plugname; $conf=~s/\.pl$/.conf/;
        $conf="/etc/wiregate/plugin/generic/conf.d/$conf";
        my %push=();
        my $err=read_from_config();
        return $err if $err;
        #
        # in $iso steht Datum-Zeit = 'd.m.Y H:M'
        my @dta = localtime(time);
        my $iso=sprintf('%02d.',$dta[3]);
        $iso.=sprintf('%02d.',$dta[4]+1);
        $iso.=($dta[5]+1900)." ";
        $iso.=sprintf('%02d:',$dta[2]);
        $iso.=sprintf('%02d',$dta[1]);
        #
        $plugin_info{$plugname.'_cycle'} = 3600;
        # Alle GAs aus der config abonnieren
        for my $r (grep ref($push{$_}), keys %push)
        {
        $plugin_subscribe{$push{$r}{GA}}{$plugname}=1;
        }
        my $req = "";
        my $body = "";
        # BUS ueberwachen
        if ($msg{'apci'} eq "A_GroupValue_Write") { # A_GroupValue_Write Telegramm eingetroffen
        for my $r (grep ref($push{$_}), keys %push){ # Ueberwachte GAs durchlaufen
        if ($msg{'dst'} eq $push{$r}{GA}){ # GAs vergleichen
        if($msg{'value'} == 1){
        $body = $push{$r}{body_on};
        $plugin_info{$plugname.'_'.$r.'_alt'} = 1;
        }elsif($msg{'value'} == 0){
        $body = $push{$r}{body_off};
        $plugin_info{$plugname.'_'.$r.'_alt'} = 0;
        }
        # Push senden
        use LWP::UserAgent;
        use HTTP::Request::Common qw(POST);
        my $ua = LWP::UserAgent->new;
        my $req = POST 'https://api.pushbullet.com/v2/pushes',
        [
        type => 'note',
        title => $push{$r}{title},
        body => $iso." ". $body
        ];
        $req->authorization_basic('MEIN_ACCESS_TOKEN');
        #return ($push{$r}{GA});
        print ($ua->request($req)->as_string);
        plugin_log($plugname, "$push{$r}{title} $push{$r}{body} $msg{'value'}");
        }
        }
        }
        return;
        # ------------- config einlesen ----------------------
        sub read_from_config
        {
        open CONFIG, "<$conf" || return "no config found";
        my @lines = <CONFIG>;
        close CONFIG;
        eval("@lines");
        return "config error" if $@;
        }




        So sieht mein Plugin jetzt aus. Leider funktioniert es noch nicht.

        Die eine Zeile in der Config hatte ich gelöscht.


        Gruß Plusch

        Kommentar


          #5
          Hallo
          Dann zeige mal deine config ist die GA auch gültig und in WG in der KNX config-ga eingetragen?

          Füge plugin_log ein
          Code:
          if ($msg{'apci'} eq "A_GroupValue_Write") {      # A_GroupValue_Write Telegramm eingetroffen
          plugin_log($plugname, "subscribe wurde ausgefuehrt");
          ud schaue dann mal in Plugin-Logdatei anzeigen
          Gruß NetFritz

          KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
          WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
          PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

          Kommentar


            #6
            Meine Testconfig mit gültiger GA welche auch in der config-ga steht.:

            # pushbullet.pl - Konfiguration
            #
            # GA=&gt;'1/4/20', = GA die getriggert wird
            # type=&gt;'note'
            # title=&gt;''
            # body_on=&gt;'' = Text wenn GA auf 1
            # body_off=&gt;'' = Text wenn GA auf 0
            %push=(
            push =&gt;{GA=&gt;'9/1/22',type=&gt;'note',title=&gt;'WP',body_on=&gt;'AU S',body_o ff=&gt;'EIN'},
            );

            In der Logdatei taucht das Plugin überhaubt nicht auf ...

            hier ein Auszug:

            2015-06-29 18:03:23.958,Prowl,opened UDP-Socket 8,0.3s,
            2015-06-29 18:03:24.723,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:03:24.727,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]
            2015-06-29 18:03:24.727,Zeitschaltuhr,Starting plugin version 11, will execute with first time-slot.
            2015-06-29 18:03:24.749,Zeitschaltuhr,cycle time set to 35.351228 second
            2015-06-29 18:03:41.690,PluginDebugInfo, *DELETED*: Zeitschaltuhr.11.firstRun,0s,
            2015-06-29 18:04:00.589,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:04:00.593,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]
            2015-06-29 18:04:00.593,Zeitschaltuhr,Starting plugin version 11, will execute with first time-slot.
            2015-06-29 18:05:00.870,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:05:00.874,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]
            2015-06-29 18:05:24.457,Pingcheck Laptop Büro,Status: 0,0.9s,
            2015-06-29 18:05:25.474,Pingcheck Laptop Büro Wlan,Status: 0,0.9s,
            2015-06-29 18:06:01.886,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:06:01.890,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]
            2015-06-29 18:07:03.091,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:07:03.095,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]
            2015-06-29 18:07:03.102,Zeitschaltuhr,cycle time set to 56.99794 second
            2015-06-29 18:07:25.499,Pingcheck Laptop Büro,Status: 0,0.9s,
            2015-06-29 18:07:26.516,Pingcheck Laptop Büro Wlan,Status: 0,0.9s,
            2015-06-29 18:08:00.558,Zeitschaltuhr,reading conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf].
            2015-06-29 18:08:00.566,Zeitschaltuhr,conf file [/etc/wiregate/plugin/generic/conf.d/Zeitschaltuhr.conf] returned result[1]

            Kommentar


              #7
              Hallo
              Deine pushbullet.config schaut aber seltsam aus.
              Damit wird es wohl nicht gegen.

              Code:
              # pushbullet.pl - Konfiguration
              #
              # GA=>'1/4/20', = GA die getriggert wird
              # type=>'note'
              # title=>''
              # body_on=>''  = Text wenn GA auf 1
              # body_off=>'' = Text wenn GA auf 0
              %push=(
              push =>{GA=>'1/3/74',type=>'note',title=>'WP',body_on=>'AUS',body_off=>'EIN'},
              );
              Füge mal diese config in die pushbullet.config ein und ändere erst mal nur die GA auf deine.
              Ich nehme mal an das deine GA gar nicht an subscribe angemeldet wird und das Plugin daher
              gar nicht auf deine GA reagiert..
              In der config haben "&gt" und Leerzeichen nicht zu suchen.
              Gruß NetFritz
              KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
              WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
              PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

              Kommentar


                #8
                Wie die Sonderzeichen in meinen Post kommen kann ich leider nicht erklären. Im Plugin sind diese nicht vorhanden.
                Hier mein Plugin sowie die zugehörige conf.
                Code:
                # Pushbullet Sender für WG
                # In conf GA, title und body eintragen
                # wenn GA=1 dann werden title und body gesendet
                # by NetFritz KNX-Userforum
                # Konfigurationsfile einlesen
                my $conf=$plugname; $conf=~s/\.pl$/.conf/;
                $conf="/etc/wiregate/plugin/generic/conf.d/$conf";
                my %push=();
                my $err=read_from_config();
                return $err if $err;
                #
                # in $iso steht Datum-Zeit = 'd.m.Y H:M'
                my @dta = localtime(time);
                my $iso=sprintf('%02d.',$dta[3]);
                $iso.=sprintf('%02d.',$dta[4]+1);
                $iso.=($dta[5]+1900)." ";
                $iso.=sprintf('%02d:',$dta[2]);
                $iso.=sprintf('%02d',$dta[1]);
                #
                $plugin_info{$plugname.'_cycle'} = 3600;
                # Alle GAs aus der config abonnieren
                for my $r (grep ref($push{$_}), keys %push)
                {
                   $plugin_subscribe{$push{$r}{GA}}{$plugname}=1;   
                }
                my $req = "";
                my $body = "";
                # BUS ueberwachen
                if ($msg{'apci'} eq "A_GroupValue_Write") {      # A_GroupValue_Write Telegramm eingetroffen
                plugin_log($plugname, "subscribe wurde ausgefuehrt");
                   for my $r (grep ref($push{$_}), keys %push){  # Ueberwachte GAs durchlaufen
                      if ($msg{'dst'} eq $push{$r}{GA}){         # GAs vergleichen
                if($msg{'value'} == 1){
                         $body = $push{$r}{body_on};
                         $plugin_info{$plugname.'_'.$r.'_alt'} = 1;
                      }elsif($msg{'value'} == 0){
                         $body = $push{$r}{body_off};
                         $plugin_info{$plugname.'_'.$r.'_alt'} = 0;
                      }
                      # Push senden  
                      use LWP::UserAgent;
                      use HTTP::Request::Common qw(POST);
                      my $ua = LWP::UserAgent->new;
                      my $req = POST 'https://api.pushbullet.com/v2/pushes',
                         [
                            type  => 'note',
                            title => $push{$r}{title},
                            body   => $iso."   ". $body
                         ];
                        $req->authorization_basic('aA6KSJUvQD4tB4p0IlKXpc1Ft3ZXEtCi');
                        #return ($push{$r}{GA});
                        print ($ua->request($req)->as_string);
                        plugin_log($plugname, "$push{$r}{title} $push{$r}{body} $msg{'value'}");
                      }
                   }   
                }   
                return;
                # ------------- config einlesen ----------------------
                sub read_from_config
                  {
                  open CONFIG, "<$conf" || return "no config found";
                     my @lines = <CONFIG>;
                  close CONFIG;
                  eval("@lines");
                  return "config error" if $@;
                }
                Code:
                # pushbullet.pl - Konfiguration
                #
                # GA=>'1/4/20', = GA die getriggert wird
                # type=>'note'
                # title=>''
                # body_on=>''  = Text wenn GA auf 1
                # body_off=>'' = Text wenn GA auf 0
                %push=(
                push =>{GA=>'2/0/3',type=>'note',title=>'WP',body_on=>'AUS',body_off=>'EIN'},
                );
                In die Protokolldatei wird nichts eingetragen.

                Gruß Plusch

                Kommentar


                  #9
                  Hallo
                  Installiere mal dieses kleine Plugin.
                  Es zeigt alle aktiven Plugin-subscriptions an.
                  Schaue dann in die Log ob die GA "2/0/3" dabei ist.
                  Hast Du noch ein Plugin mit "$plugin_subscribe",
                  wenn ja dann nimm daraus eine GA und füge sie in die config ein.
                  Deine GA wird vom Plugin nicht erkannt.
                  Gruß NetFritz

                  subscribe_debug.pl
                  Code:
                  #return;
                  # Einfaches Plugin zum debuggen aller aktiven Plugin-subscriptions
                  # just zur Doku
                  
                  $plugin_info{$plugname.'_cycle'} = 3600;
                  my $ret;
                  
                  for my $k ( sort keys %plugin_subscribe ) {
                  for my $p ( keys %{$plugin_subscribe{ $k }} ) {
                  $ret .= "Plugin $p subscribed to $k\n";
                  }
                  }
                  
                  for my $k ( sort keys %plugin_socket_subscribe ) {
                  $ret .= "Plugin $plugin_socket_subscribe{$k} subscribed to socket $k\n";
                  }
                  
                  #return; # no debug out
                  return $ret;
                  KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
                  WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
                  PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

                  Kommentar


                    #10

                    Ich habe noch einige Plugins mit "$plugin_subscribe".
                    Selbst mit einer GA aus dem Log funktioniert Pushbullet bei mir nicht.

                    Gruß Plusch

                    Angehängte Dateien
                    Zuletzt geändert von Plusch; 30.06.2015, 16:26.

                    Kommentar


                      #11
                      Hallo
                      Habe mal deine config und das Plugin auf meinen WG installiert und ein paar Log Einträge eingefügt.
                      Nimm mal deinen authorization_basic Key aus deinem Beitrag #8 raus.
                      Hast Du die Pushbullet Nachricht von meinen WG bekommen?
                      Hier nochmal die config und das Plugin so wie es bei mir läuft.

                      config
                      Code:
                      # pushbullet.pl - Konfiguration
                      #
                      # GA=>'1/4/20', = GA die getriggert wird
                      # type=>'note'
                      # title=>''
                      # body_on=>''  = Text wenn GA auf 1
                      # body_off=>'' = Text wenn GA auf 0
                      %push=(
                      push =>{GA=>'1/3/74',type=>'note',title=>'NetFritz sendet',body_on=>'AUS',body_off=>'EIN'},
                      );
                      plugin
                      Code:
                      # Pushbullet Sender für WG
                      # In conf GA, title und body eintragen
                      # wenn GA=1 dann werden title und body gesendet
                      # by NetFritz KNX-Userforum
                      # Konfigurationsfile einlesen
                      my $conf=$plugname; $conf=~s/\.pl$/.conf/;
                      $conf="/etc/wiregate/plugin/generic/conf.d/$conf";
                      my %push=();
                      my $err=read_from_config();
                      return $err if $err;
                      
                      #
                      # in $iso steht Datum-Zeit = 'd.m.Y H:M'
                      my @dta = localtime(time);
                      my $iso=sprintf('%02d.',$dta[3]);
                      $iso.=sprintf('%02d.',$dta[4]+1);
                      $iso.=($dta[5]+1900)." ";
                      $iso.=sprintf('%02d:',$dta[2]);
                      $iso.=sprintf('%02d',$dta[1]);
                      #
                      $plugin_info{$plugname.'_cycle'} = 3600;
                      # Alle GAs aus der config abonnieren
                      for my $r (grep ref($push{$_}), keys %push)
                      {
                         $plugin_subscribe{$push{$r}{GA}}{$plugname}=1;
                         plugin_log($plugname, "plugin_subscribe $push{$r}{GA}");  
                      }
                      my $req = "";
                      my $body = "";
                      # BUS ueberwachen
                      if ($msg{'apci'} eq "A_GroupValue_Write") {      # A_GroupValue_Write Telegramm eingetroffen
                      plugin_log($plugname, "subscribe wurde ausgefuehrt");
                         for my $r (grep ref($push{$_}), keys %push){  # Ueberwachte GAs durchlaufen
                            if ($msg{'dst'} eq $push{$r}{GA}){         # GAs vergleichen
                      if($msg{'value'} == 1){
                               $body = $push{$r}{body_on};
                               $plugin_info{$plugname.'_'.$r.'_alt'} = 1;
                            }elsif($msg{'value'} == 0){
                               $body = $push{$r}{body_off};
                               $plugin_info{$plugname.'_'.$r.'_alt'} = 0;
                            }
                            # Push senden  
                            use LWP::UserAgent;
                            use HTTP::Request::Common qw(POST);
                            my $ua = LWP::UserAgent->new;
                            my $req = POST 'https://api.pushbullet.com/v2/pushes',
                               [
                                  type  => 'note',
                                  title => $push{$r}{title},
                                  body   => $iso."   ". $body
                               ];
                              $req->authorization_basic('Key');
                              #return ($push{$r}{GA});
                              print ($ua->request($req)->as_string);
                              plugin_log($plugname, "$push{$r}{title} $push{$r}{body} $msg{'value'}");
                            }
                         }   
                      }   
                      return;
                      # ------------- config einlesen ----------------------
                      sub read_from_config
                        {
                        open CONFIG, "<$conf" || return "no config found";
                           my @lines = <CONFIG>;
                        close CONFIG;
                        plugin_log($plugname, "lines @lines");
                        eval("@lines");
                        return "config error" if $@;
                      }
                      Füge dein Key ein.
                      Wenn Du das Plugin abspeichert dann mus Du etwa so eine Ausgabe in Log bekommen.
                      Code:
                        
                       2015-06-30 19:00:27.680,push.pl,lines # pushbullet.pl - Konfiguration  
                       #  # GA=>'1/4/20', = GA die getriggert wird  # type=>'note'  # title=>''  # body_on=>''  = Text wenn GA auf 1  # body_off=>'' = Text wenn GA auf 0  %push=(  push =>{GA=>'1/3/74',type=>'note',title=>'NetFritz sendet',body_on=>'AUS',body_off=>'EIN'},  ); 2015-06-30 19:00:27.681,push.pl,plugin_subscribe 1/3/74
                      wenn Du dann die GA aufrufst dann so
                      Code:
                        
                       2015-06-30 19:01:49.951,push.pl,lines # pushbullet.pl - Konfiguration  #  # GA=>'1/4/20', = GA die getriggert wird  # type=>'note'  # title=>''  # body_on=>''  = Text wenn GA auf 1  # body_off=>'' = Text wenn GA auf 0  %push=(  push =>{GA=>'1/3/74',type=>'note',title=>'NetFritz sendet',body_on=>'AUS',body_off=>'EIN'},  ); 2015-06-30 19:01:49.952,push.pl,plugin_subscribe 1/3/74 2015-06-30 19:01:49.953,push.pl,subscribe wurde ausgefuehrt 2015-06-30 19:01:50.230,push.pl,NetFritz sendet  1
                      Gruß NetFritz
                      KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
                      WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
                      PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

                      Kommentar


                        #12
                        Der Key in #8 ist modifiziert.
                        Nach dem speichern Deines oben geposteten Plugins erscheint im Log nur:

                        "2015-06-30 19:49:19.680,Pbullet,lines"

                        Bei Aufruf der GA passiert nichts. Auch im Log wird nichts angelegt.

                        Gruß Plusch
                        Zuletzt geändert von Plusch; 30.06.2015, 18:57.

                        Kommentar


                          #13
                          Hallo

                          Das sieht danach aus, das die config nicht eingelesen wird.

                          Wenn Du im Editor das Plugin ansiehst, was steht dort oben rechts vom Eingabefeld "Plugin Name"?
                          Und bei der config ebenfalls.

                          Ach so hast Du meine Pushbullet Nachricht bekommen?

                          Gruß NetFritz
                          KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
                          WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
                          PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

                          Kommentar


                            #14
                            Vielen Dank erstmal für Deine großartige Unterstützung.
                            Deine Pushbullet Nachrich konnte ich nicht erhalten da der Key in meinem ersten Post schon nicht der originale war .
                            Anbei mal zwei Screenshots des Plugins.

                            Gruß PluschZwischenablage02.jpgZwischenablage03.jpg
                            Angehängte Dateien

                            Kommentar


                              #15
                              Hallo
                              Ich glaube ich habe den Fehler gefunden.
                              Mach mal hinter den Plugin Namen ein ".pl" dahinter und speichere ab.
                              In deinem Fall "Pbullet.pl"
                              Es wird dann aber eine neues Plugin angelegt.
                              Das alte muss dann gelöscht werden.
                              Gruß NetFritz
                              KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
                              WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
                              PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP

                              Kommentar

                              Lädt...
                              X