Benutzer-Werkzeuge

Webseiten-Werkzeuge


hardware:channels:sensors:1_wire_moisture

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
hardware:channels:sensors:1_wire_moisture [2018/01/25 15:58]
jau code
hardware:channels:sensors:1_wire_moisture [2022/04/26 14:36] (aktuell)
der_vitti [Perl Script]
Zeile 51: Zeile 51:
 my @alldevs; my @alldevs;
 my $onewire = '/sys/bus/w1/devices/';            # including last slash my $onewire = '/sys/bus/w1/devices/';            # including last slash
-my $VZURL = 'http://192.168.0.91/middleware.php/';  # including last slash+my $VZURL = 'http://INSERTYOURIP/middleware.php/';  # including last slash
  
 my $opt_d = 0;   # debug my $opt_d = 0;   # debug
Zeile 73: Zeile 73:
     log4perl.appender.Screen.layout=Log::Log4perl::Layout::SimpleLayout     log4perl.appender.Screen.layout=Log::Log4perl::Layout::SimpleLayout
     log4perl.appender.Email=Log::Dispatch::Email::MailSender     log4perl.appender.Email=Log::Dispatch::Email::MailSender
-    log4perl.appender.Email.smtp=spamcheck.pop-siegen.de+    log4perl.appender.Email.smtp=relay.mailserver.tld
     log4perl.appender.Email.subject=1Wire Humidity Read Script     log4perl.appender.Email.subject=1Wire Humidity Read Script
-    log4perl.appender.Email.to=1whumidity_script@oktasilan.de +    log4perl.appender.Email.to=foo@mail.de 
-    log4perl.appender.Email.from=1wirehumidity@oktasilan.de+    log4perl.appender.Email.from=bar@mail.de
     log4perl.appender.Email.Threshold=WARN     log4perl.appender.Email.Threshold=WARN
     log4perl.appender.Email.layout=Log::Log4perl::Layout::SimpleLayout     log4perl.appender.Email.layout=Log::Log4perl::Layout::SimpleLayout
Zeile 129: Zeile 129:
       my $req = HTTP::Request->new(POST => $server_endpoint);       my $req = HTTP::Request->new(POST => $server_endpoint);
       $req->header('content-type' => 'application/json');       $req->header('content-type' => 'application/json');
-      $req->header('x-auth-token' => 'kfksj48sdfj4jd9d');+      $req->header('x-auth-token' => '*********');
  
       # add POST data to HTTP request body       # add POST data to HTTP request body
hardware/channels/sensors/1_wire_moisture.txt · Zuletzt geändert: 2022/04/26 14:36 von der_vitti