FS20 PIRI wieso?

Wieso arbeitet mein PIRI wie erwartet?
Des undanks die massenhafte berichte im forum lauft mein PIRI einwandfrei.
Habe dies laetzte tage mal gelogged :


26.01.06  07:13:15  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  07:22:26  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  07:40:24  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  07:57:45  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:09:20  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:13:13  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:14:09  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:17:19  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:32:16  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  08:42:20  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  12:06:50  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  12:10:34  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  12:23:23  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  13:14:56  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  13:44:34  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:01:50  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:02:47  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:11:23  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:47:09  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:48:04  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  19:56:19  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  20:14:24  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  21:56:41  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  21:59:07  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  22:16:02  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  22:32:43  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  22:43:41  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:04:59  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:14:13  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:15:11  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:33:02  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:34:33  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:55:10  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
26.01.06  23:58:28  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  07:16:24  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  07:35:07  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  07:37:42  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  07:38:38  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:07:54  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:10:27  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:23:54  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:24:50  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:26:27  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:35:12  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:41:14  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  08:45:54  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  12:19:08  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  12:21:16  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  13:18:40  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  13:25:44  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  18:49:18  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  18:50:14  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  18:53:36  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  20:00:10  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  20:01:11  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'
27.01.06  20:25:01  variable: 'tga0_ir' value: 'true ' data: '26' timer:'512'

Wie ihr sehen konnt lauft das ding einwandfrei. Mann kann sogar sehen wie spät wir austehen, essen kommen am mittag, abends zuhause kommen, Jean ins bett bringen und hier und da mal pipi machen.

Ich habe die Varta 15 minute charge & go batterien rein… die geben 1,44V= frisch geladen und unbelastet. Under belastung (in die Piri) geben die 1,36 - 1,44 Volt.

und weisst ihr … es lauft. :wink:

das script dazu (fuer den die es interesiert)


<?
/*
*******************************
 IP-SYMCON Event Scripting
*******************************
File     : sga0_ir.ips.php
Trigger  : vga0_ir, vga1_ir
Interval : 0
*/
include_once("scripts/GlobalDefines.ips.php");
$variable=$IPS_VARIABLE;
   //logfilepath
   $logfilepath=__myhome."log/$variable".".txt";
// ********** END OF USER SETTINGS ************************************

//debug
//$IPS_SENDER = "tga0_ir";

// MODIFIE BEYOND THESE LINE ON OWN RISK
// EXCEPT **DOTHESE**
//
$ldebug = GetValueBoolean("__debug");
if ($ldebug) $handle=fopen("$logfilepath", "a");

$value=GetValueBoolean($variable);
$data=GetValueInteger("v".substr($variable,1)."_data");
$timer=GetValueInteger("v".substr($variable,1)."_timer");
if ($value){
   $value="true ";
} else {
   $value="false";
}
if ($ldebug) fwrite($handle, date("d.m.y")."  ". date("H:i:s")."  variable: '$variable' value: '$value' data: '$data' timer:'$timer'
");

echo "
  ".time()."'";

?>

Meine ‚GlobalDefines‘:


<?
/*
*******************************
 IP-SYNCOM Event Scripting
*******************************
*/

//File: GlobalDefines.ips.php
/* use this format:
$arrr_ssss_desc
with 'a'
    t  for trigger
    v  for variable
    s  for script
    o  for output
    m  for multifunktion  like Velleman board
    c  for fixed value    calculations
and 'r' = room 
    f.i. ga0: gang 0
         sl1: bedroom 1
         or keu: kitchen

's' for 'sort-of' or kind
    f.i. lamp or IR or 1wire

'desc' (description)
    actual function : f.i. _timer, _status, ...
*/

define("oliv_music_mains", 59575);
define("oliv_bureel_lamp",33103);
define("osl2_hond",46637);
define("oliv_temp",18120);
define("okel_ch1",41512);
define("okel_ch2",57367);
define("okel_ch3",53117);
define("okel_ch4",62087);
define("okeu_temp",62482);
define("okeu_lamp_tltuin",10314);
define("osl1_temp",36508);
define("osl1_lamp_bedf",38002);
define("osl1_lamp_bedv",26686);
define("osl2_temp",19724);
define("mkel_vel",55413);
define("ckel_aifaktor",0.3440);

define("otuin_ch1",18635);
define("otuin_ch2",35271);
define("otuin_ch3",15555);

define("oTTS",48960);

define("tCom_Last",false);
define("sdefined",true);

define("__myhome","/__myhome/");
?>

naaaa, dann tu mal DURACELL rein (nicht die M-Power sondern die schwarzen mit dem Kupferkopf), und dann wirst du sehen, wie Happy Trigger die PIRI’s sind ! :smiley:

mfG Franz