Problem mit Ubuntu Start-Stop Script

Begonnen von Guest, 23 Januar 2011, 12:26:03

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hallo,

so langsam wird das mit meinem FHEM immer besser allerdings hab ich
noch ein paar Probleme.

das Ubuntu Start-Stop Script scheint nicht richtig zu funtkionieren.
<http://fhemwiki.de/index.php/Start-Stop-Skript_f%C3%BCr_Ubuntu>
Wenn ich versuche ein laufendes FHEM zu stoppen funktioniert das nicht
(unabhängig wieviel Zeit zwischen dem Stop und dem Status vergeht,
bleibt der Status "running".
hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem stop
Stopping fhem...
hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem status
fhem is running

Weiterhin hab ich oft das Problem, dass ich nach einem Neustart des
Servers (aufgrund von Ubuntu Updates), ich immer wieder den TTYUSB0
bzg. chmod die Schreib-Lese Rechte neu zuordnen muss, bzw. das FHEM
System nicht sauber startet (FHZ1 not defined Meldungen, ....).

Und zum Schluss hat vielleicht noch jemand einen tip, warum bei mir
die Examples nicht funktionieren ?
Kann ich mit die Example Configs irgendwo direkt mit einem Editor
anschauen ? --> Wo liegen die ?

Ach ja, meine Report Files würde ich auch gerne separat speichern, da
die Logs doch über einen Monat Zeitraum extrem lang werden. Tips (ich
find halt die Examples bei mir nicht :-( ....)

Ausserdem hat mein Nachbar jetzt auch ein paar FS20 Komponenten, die
immer wieder durch den autocreate gefunden werden, und ich diese dann
wieder löschen muss. Welche Autocreate Zeilen muss ich
auskommentieren, damit nur meine in der Config angegebenen Komponenten
angezeigt werden ?

Anbei meine fhem.cfg  --- falls es hilft.

attr global autoload_undefined_devices 1
attr global logfile /var/log/fhem/fhem-%Y-%m.log
attr global modpath /usr/share/fhem
attr global port 7072 global
attr global statefile /var/log/fhem/fhem.save
attr global verbose 3

define WEBS FHEMWEB 8084
attr WEBS smallscreen 1

define WEB FHEMWEB 8083 global

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog /var/log/fhem/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

define FHZ1 FHZ /dev/ttyUSB0
attr FHZ1 fhtsoftbuffer 0

define FHT_Bad_U FHT 0b0b
attr FHT_Bad_U retrycount 3
attr FHT_Bad_U room UG

define FileLog_FHT_Bad_U FileLog /var/log/fhem/FHT_Bad_U-%Y-%m.log
FHT_Bad_U
attr FileLog_FHT_Bad_U logtype fht:Temp/Act,text
attr FileLog_FHT_Bad_U room UG

define weblink_FHT_Bad_U weblink fileplot
FileLog_FHT_Bad_U:fht:CURRENT
attr weblink_FHT_Bad_U label "FHT_Bad_U Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_Bad_U room UG

define FHT_SchlafZ_U FHT 0b0c
attr FHT_SchlafZ_U retrycount 3
attr FHT_SchlafZ_U room UG

define FileLog_FHT_SchlafZ_U FileLog /var/log/fhem/FHT_SchlafZ_U-%Y-
%m.log FHT_SchlafZ_U
attr FileLog_FHT_SchlafZ_U logtype fht:Temp/Act,text
attr FileLog_FHT_SchlafZ_U room UG

define weblink_FHT_SchlafZ_U weblink fileplot
FileLog_FHT_SchlafZ_U:fht:CURRENT
attr weblink_FHT_SchlafZ_U label "FHT_SchlafZ_U Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_SchlafZ_U room UG

define FHT_Kueche FHT 0b0d
attr FHT_Kueche retrycount 3
attr FHT_Kueche room UG

define FileLog_FHT_Kueche FileLog /var/log/fhem/FHT_Kueche-%Y-%m.log
FHT_Kueche
attr FileLog_FHT_Kueche logtype fht:Temp/Act,text
attr FileLog_FHT_Kueche room UG

define weblink_FHT_Kueche weblink fileplot
FileLog_FHT_Kueche:fht:CURRENT
attr weblink_FHT_Kueche label "FHT_Kueche Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_Kueche room UG

define FHT_WohnZ FHT 0b0e
attr FHT_WohnZ retrycount 3
attr FHT_WohnZ room UG

define FileLog_FHT_WohnZ FileLog /var/log/fhem/FHT_WohnZ-%Y-%m.log
FHT_WohnZ
attr FileLog_FHT_WohnZ logtype fht:Temp/Act,text
attr FileLog_FHT_WohnZ room UG

define weblink_FHT_WohnZ weblink fileplot
FileLog_FHT_WohnZ:fht:CURRENT
attr weblink_FHT_WohnZ label "FHT_WohnZ Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_WohnZ room UG

define FHT_KiZi FHT 0b0f
attr FHT_KiZi retrycount 3
attr FHT_KiZi room UG

define FileLog_FHT_KiZi FileLog /var/log/fhem/FHT_KiZi-%Y-%m.log
FHT_KiZi
attr FileLog_FHT_KiZi logtype fht:Temp/Act,text
attr FileLog_FHT_KiZi room UG

define weblink_FHT_KiZi weblink fileplot FileLog_FHT_KiZi:fht:CURRENT
attr weblink_FHT_KiZi label "FHT_KiZi Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_KiZi room UG

define FHT_Bad_O FHT 1b0b
attr FHT_Bad_O retrycount 3
attr FHT_Bad_O room OG

define FileLog_FHT_Bad_O FileLog /var/log/fhem/FHT_Bad_O-%Y-%m.log
FHT_Bad_O
attr FileLog_FHT_Bad_O logtype fht:Temp/Act,text
attr FileLog_FHT_Bad_O room OG

define weblink_FHT_Bad_O weblink fileplot
FileLog_FHT_Bad_O:fht:CURRENT
attr weblink_FHT_Bad_O label "FHT_Bad_O Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_Bad_O room OG

define FHT_SchlafZ_O FHT 1b0c
attr FHT_SchlafZ_O retrycount 3
attr FHT_SchlafZ_O room OG

define weblink_FHT_SchlafZ_O weblink fileplot
FileLog_FHT_SchlafZ_O:fht:CURRENT
attr weblink_FHT_SchlafZ_O label "FHT_SchlafZ_O Min $data{min1}, Max
$data{max1}, Last $data{currval1}"
attr weblink_FHT_SchlafZ_O room OG

define FileLog_FHT_SchlafZ_O FileLog /var/log/fhem/FHT_SchlafZ_O-%Y-
%m.log FHT_SchlafZ_O
attr FileLog_FHT_SchlafZ_O logtype fht:Temp/Act,text
attr FileLog_FHT_SchlafZ_O room OG

define lime_reset notify .*lime-protection {
     my $d = $defs{@}{READINGS}{"desired-temp"}{VAL};
     my $m = $defs{@}{READINGS}{"measured-low"}{VAL};
     if($m gt $d) {
       $m = ($m + 5)/10;
     } else {
       $m = ($m - 5)/10;
     }
       fhem("deleteattr @ lazy");
       fhem("set @ desired-temp $m");
       fhem("set @ desired-temp $d");
       fhem("attr @ lazy");
   }


define fht_report_WoZ at +*12:00:00 set FHT_WohnZ report1 255 report2
255

define fht_report_Kue at +*12:00:00 set FHT_Kueche report1 255 report2
255

define fht_report_Bad at +*12:00:00 set FHT_Bad_U report1 255 report2
255

define fht_report_SchlZ at +*12:00:00 set FHT_SchlafZ report1 255
report2 255

define fht_report_KiZi at +*12:00:00 set FHT_KiZi report1 255 report2
255

define fht_report_SchlZO at +*12:00:00 set FHT_SchlafZ_O report1 255
report2 255

define fht_report_BadO at +*12:00:00 set FHT_Bad_O report1 255 report2
255

define fhz_timer at +*00:01:00 set FHZ1 time

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.

Guest

Originally posted by: <email address deleted>

Hi Holger

On 23 jan, 12:26, Holger wrote:
> Hallo,
>
> so langsam wird das mit meinem FHEM immer besser allerdings hab ich
> noch ein paar Probleme.
>
> das Ubuntu Start-Stop Script scheint nicht richtig zu funtkionieren.
> <http://fhemwiki.de/index.php/Start-Stop-Skript_f%C3%BCr_Ubuntu>
> Wenn ich versuche ein laufendes FHEM zu stoppen funktioniert das nicht
> (unabhängig wieviel Zeit zwischen dem Stop und dem Status vergeht,
> bleibt der Status "running".
> hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem stop
> Stopping fhem...
> hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem status
> fhem is running

Das stimt (that's all about the german you'll get from me)...
Ubuntu has switched to the upstartsystem. So if you want to stop/start
fhem you shouldn't use a /etc/init.d/fhem document.
Check the location /etc/init./fhem.conf
If you've installed fhem using the .deb file, you'll find the start/
stop script over there.

Now you can start/stop fhem using: initctl stop/start fhem


Kind regards,

Jelle Kalf


> Weiterhin hab ich oft das Problem, dass ich nach einem Neustart des
> Servers (aufgrund von Ubuntu Updates), ich immer wieder den TTYUSB0
> bzg. chmod die Schreib-Lese Rechte neu zuordnen muss, bzw. das FHEM
> System nicht sauber startet (FHZ1 not defined Meldungen, ....).
>
> Und zum Schluss hat vielleicht noch jemand einen tip, warum bei mir
> die Examples nicht funktionieren ?
> Kann ich mit die Example Configs irgendwo direkt mit einem Editor
> anschauen ? --> Wo liegen die ?
>
> Ach ja, meine Report Files würde ich auch gerne separat speichern, da
> die Logs doch über einen Monat Zeitraum extrem lang werden. Tips (ich
> find halt die Examples bei mir nicht :-( ....)
>
> Ausserdem hat mein Nachbar jetzt auch ein paar FS20 Komponenten, die
> immer wieder durch den autocreate gefunden werden, und ich diese dann
> wieder löschen muss. Welche Autocreate Zeilen muss ich
> auskommentieren, damit nur meine in der Config angegebenen Komponenten
> angezeigt werden ?
>
> Anbei meine fhem.cfg  --- falls es hilft.
>
> attr global autoload_undefined_devices 1
> attr global logfile /var/log/fhem/fhem-%Y-%m.log
> attr global modpath /usr/share/fhem
> attr global port 7072 global
> attr global statefile /var/log/fhem/fhem.save
> attr global verbose 3
>
> define WEBS FHEMWEB 8084
> attr WEBS smallscreen 1
>
> define WEB FHEMWEB 8083 global
>
> define autocreate autocreate
> attr autocreate autosave 1
> attr autocreate device_room %TYPE
> attr autocreate filelog /var/log/fhem/%NAME-%Y.log
> attr autocreate weblink 1
> attr autocreate weblink_room Plots
>
> define FHZ1 FHZ /dev/ttyUSB0
> attr FHZ1 fhtsoftbuffer 0
>
> define FHT_Bad_U FHT 0b0b
> attr FHT_Bad_U retrycount 3
> attr FHT_Bad_U room UG
>
> define FileLog_FHT_Bad_U FileLog /var/log/fhem/FHT_Bad_U-%Y-%m.log
> FHT_Bad_U
> attr FileLog_FHT_Bad_U logtype fht:Temp/Act,text
> attr FileLog_FHT_Bad_U room UG
>
> define weblink_FHT_Bad_U weblink fileplot
> FileLog_FHT_Bad_U:fht:CURRENT
> attr weblink_FHT_Bad_U label "FHT_Bad_U Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_Bad_U room UG
>
> define FHT_SchlafZ_U FHT 0b0c
> attr FHT_SchlafZ_U retrycount 3
> attr FHT_SchlafZ_U room UG
>
> define FileLog_FHT_SchlafZ_U FileLog /var/log/fhem/FHT_SchlafZ_U-%Y-
> %m.log FHT_SchlafZ_U
> attr FileLog_FHT_SchlafZ_U logtype fht:Temp/Act,text
> attr FileLog_FHT_SchlafZ_U room UG
>
> define weblink_FHT_SchlafZ_U weblink fileplot
> FileLog_FHT_SchlafZ_U:fht:CURRENT
> attr weblink_FHT_SchlafZ_U label "FHT_SchlafZ_U Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_SchlafZ_U room UG
>
> define FHT_Kueche FHT 0b0d
> attr FHT_Kueche retrycount 3
> attr FHT_Kueche room UG
>
> define FileLog_FHT_Kueche FileLog /var/log/fhem/FHT_Kueche-%Y-%m.log
> FHT_Kueche
> attr FileLog_FHT_Kueche logtype fht:Temp/Act,text
> attr FileLog_FHT_Kueche room UG
>
> define weblink_FHT_Kueche weblink fileplot
> FileLog_FHT_Kueche:fht:CURRENT
> attr weblink_FHT_Kueche label "FHT_Kueche Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_Kueche room UG
>
> define FHT_WohnZ FHT 0b0e
> attr FHT_WohnZ retrycount 3
> attr FHT_WohnZ room UG
>
> define FileLog_FHT_WohnZ FileLog /var/log/fhem/FHT_WohnZ-%Y-%m.log
> FHT_WohnZ
> attr FileLog_FHT_WohnZ logtype fht:Temp/Act,text
> attr FileLog_FHT_WohnZ room UG
>
> define weblink_FHT_WohnZ weblink fileplot
> FileLog_FHT_WohnZ:fht:CURRENT
> attr weblink_FHT_WohnZ label "FHT_WohnZ Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_WohnZ room UG
>
> define FHT_KiZi FHT 0b0f
> attr FHT_KiZi retrycount 3
> attr FHT_KiZi room UG
>
> define FileLog_FHT_KiZi FileLog /var/log/fhem/FHT_KiZi-%Y-%m.log
> FHT_KiZi
> attr FileLog_FHT_KiZi logtype fht:Temp/Act,text
> attr FileLog_FHT_KiZi room UG
>
> define weblink_FHT_KiZi weblink fileplot FileLog_FHT_KiZi:fht:CURRENT
> attr weblink_FHT_KiZi label "FHT_KiZi Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_KiZi room UG
>
> define FHT_Bad_O FHT 1b0b
> attr FHT_Bad_O retrycount 3
> attr FHT_Bad_O room OG
>
> define FileLog_FHT_Bad_O FileLog /var/log/fhem/FHT_Bad_O-%Y-%m.log
> FHT_Bad_O
> attr FileLog_FHT_Bad_O logtype fht:Temp/Act,text
> attr FileLog_FHT_Bad_O room OG
>
> define weblink_FHT_Bad_O weblink fileplot
> FileLog_FHT_Bad_O:fht:CURRENT
> attr weblink_FHT_Bad_O label "FHT_Bad_O Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_Bad_O room OG
>
> define FHT_SchlafZ_O FHT 1b0c
> attr FHT_SchlafZ_O retrycount 3
> attr FHT_SchlafZ_O room OG
>
> define weblink_FHT_SchlafZ_O weblink fileplot
> FileLog_FHT_SchlafZ_O:fht:CURRENT
> attr weblink_FHT_SchlafZ_O label "FHT_SchlafZ_O Min $data{min1}, Max
> $data{max1}, Last $data{currval1}"
> attr weblink_FHT_SchlafZ_O room OG
>
> define FileLog_FHT_SchlafZ_O FileLog /var/log/fhem/FHT_SchlafZ_O-%Y-
> %m.log FHT_SchlafZ_O
> attr FileLog_FHT_SchlafZ_O logtype fht:Temp/Act,text
> attr FileLog_FHT_SchlafZ_O room OG
>
> define lime_reset notify .*lime-protection {
>      my $d = $defs{@}{READINGS}{"desired-temp"}{VAL};
>      my $m = $defs{@}{READINGS}{"measured-low"}{VAL};
>      if($m gt $d) {
>        $m = ($m + 5)/10;
>      } else {
>        $m = ($m - 5)/10;
>      }
>        fhem("deleteattr @ lazy");
>        fhem("set @ desired-temp $m");
>        fhem("set @ desired-temp $d");
>        fhem("attr @ lazy");
>    }
>
> define fht_report_WoZ at +*12:00:00 set FHT_WohnZ report1 255 report2
> 255
>
> define fht_report_Kue at +*12:00:00 set FHT_Kueche report1 255 report2
> 255
>
> define fht_report_Bad at +*12:00:00 set FHT_Bad_U report1 255 report2
> 255
>
> define fht_report_SchlZ at +*12:00:00 set FHT_SchlafZ report1 255
> report2 255
>
> define fht_report_KiZi at +*12:00:00 set FHT_KiZi report1 255 report2
> 255
>
> define fht_report_SchlZO at +*12:00:00 set FHT_SchlafZ_O report1 255
> report2 255
>
> define fht_report_BadO at +*12:00:00 set FHT_Bad_O report1 255 report2
> 255
>
> define fhz_timer at +*00:01:00 set FHZ1 time

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.

Guest

Originally posted by: <email address deleted>

Hoi Jelle,

bedankt voor de informatie.

Het lijkt te werken (ik zal nog een beetje moeten spelen om de oude
script uit zetten)

Houdoe !!

Holger

On 23 Jan., 14:09, Jelle Kalf wrote:
> Hi Holger
>
> On 23 jan, 12:26, Holger wrote:
>
> > Hallo,
>
> > so langsam wird das mit meinem FHEM immer besser allerdings hab ich
> > noch ein paar Probleme.
>
> > das Ubuntu Start-Stop Script scheint nicht richtig zu funtkionieren.
> > <http://fhemwiki.de/index.php/Start-Stop-Skript_f%C3%BCr_Ubuntu>
> > Wenn ich versuche ein laufendes FHEM zu stoppen funktioniert das nicht
> > (unabhängig wieviel Zeit zwischen dem Stop und dem Status vergeht,
> > bleibt der Status "running".
> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem stop
> > Stopping fhem...
> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem status
> > fhem is running
>
> Das stimt (that's all about the german you'll get from me)...
> Ubuntu has switched to the upstartsystem. So if you want to stop/start
> fhem you shouldn't use a /etc/init.d/fhem document.
> Check the location /etc/init./fhem.conf
> If you've installed fhem using the .deb file, you'll find the start/
> stop script over there.
>
> Now you can start/stop fhem using: initctl stop/start fhem
>
> Kind regards,
>
> Jelle Kalf
>
> > Weiterhin hab ich oft das Problem, dass ich nach einem Neustart des
> > Servers (aufgrund von Ubuntu Updates), ich immer wieder den TTYUSB0
> > bzg. chmod die Schreib-Lese Rechte neu zuordnen muss, bzw. das FHEM
> > System nicht sauber startet (FHZ1 not defined Meldungen, ....).
>
> > Und zum Schluss hat vielleicht noch jemand einen tip, warum bei mir
> > die Examples nicht funktionieren ?
> > Kann ich mit die Example Configs irgendwo direkt mit einem Editor
> > anschauen ? --> Wo liegen die ?
>
> > Ach ja, meine Report Files würde ich auch gerne separat speichern, da
> > die Logs doch über einen Monat Zeitraum extrem lang werden. Tips (ich
> > find halt die Examples bei mir nicht :-( ....)
>
> > Ausserdem hat mein Nachbar jetzt auch ein paar FS20 Komponenten, die
> > immer wieder durch den autocreate gefunden werden, und ich diese dann
> > wieder löschen muss. Welche Autocreate Zeilen muss ich
> > auskommentieren, damit nur meine in der Config angegebenen Komponenten
> > angezeigt werden ?
>
> > Anbei meine fhem.cfg  --- falls es hilft.
>
> > attr global autoload_undefined_devices 1
> > attr global logfile /var/log/fhem/fhem-%Y-%m.log
> > attr global modpath /usr/share/fhem
> > attr global port 7072 global
> > attr global statefile /var/log/fhem/fhem.save
> > attr global verbose 3
>
> > define WEBS FHEMWEB 8084
> > attr WEBS smallscreen 1
>
> > define WEB FHEMWEB 8083 global
>
> > define autocreate autocreate
> > attr autocreate autosave 1
> > attr autocreate device_room %TYPE
> > attr autocreate filelog /var/log/fhem/%NAME-%Y.log
> > attr autocreate weblink 1
> > attr autocreate weblink_room Plots
>
> > define FHZ1 FHZ /dev/ttyUSB0
> > attr FHZ1 fhtsoftbuffer 0
>
> > define FHT_Bad_U FHT 0b0b
> > attr FHT_Bad_U retrycount 3
> > attr FHT_Bad_U room UG
>
> > define FileLog_FHT_Bad_U FileLog /var/log/fhem/FHT_Bad_U-%Y-%m.log
> > FHT_Bad_U
> > attr FileLog_FHT_Bad_U logtype fht:Temp/Act,text
> > attr FileLog_FHT_Bad_U room UG
>
> > define weblink_FHT_Bad_U weblink fileplot
> > FileLog_FHT_Bad_U:fht:CURRENT
> > attr weblink_FHT_Bad_U label "FHT_Bad_U Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_Bad_U room UG
>
> > define FHT_SchlafZ_U FHT 0b0c
> > attr FHT_SchlafZ_U retrycount 3
> > attr FHT_SchlafZ_U room UG
>
> > define FileLog_FHT_SchlafZ_U FileLog /var/log/fhem/FHT_SchlafZ_U-%Y-
> > %m.log FHT_SchlafZ_U
> > attr FileLog_FHT_SchlafZ_U logtype fht:Temp/Act,text
> > attr FileLog_FHT_SchlafZ_U room UG
>
> > define weblink_FHT_SchlafZ_U weblink fileplot
> > FileLog_FHT_SchlafZ_U:fht:CURRENT
> > attr weblink_FHT_SchlafZ_U label "FHT_SchlafZ_U Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_SchlafZ_U room UG
>
> > define FHT_Kueche FHT 0b0d
> > attr FHT_Kueche retrycount 3
> > attr FHT_Kueche room UG
>
> > define FileLog_FHT_Kueche FileLog /var/log/fhem/FHT_Kueche-%Y-%m.log
> > FHT_Kueche
> > attr FileLog_FHT_Kueche logtype fht:Temp/Act,text
> > attr FileLog_FHT_Kueche room UG
>
> > define weblink_FHT_Kueche weblink fileplot
> > FileLog_FHT_Kueche:fht:CURRENT
> > attr weblink_FHT_Kueche label "FHT_Kueche Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_Kueche room UG
>
> > define FHT_WohnZ FHT 0b0e
> > attr FHT_WohnZ retrycount 3
> > attr FHT_WohnZ room UG
>
> > define FileLog_FHT_WohnZ FileLog /var/log/fhem/FHT_WohnZ-%Y-%m.log
> > FHT_WohnZ
> > attr FileLog_FHT_WohnZ logtype fht:Temp/Act,text
> > attr FileLog_FHT_WohnZ room UG
>
> > define weblink_FHT_WohnZ weblink fileplot
> > FileLog_FHT_WohnZ:fht:CURRENT
> > attr weblink_FHT_WohnZ label "FHT_WohnZ Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_WohnZ room UG
>
> > define FHT_KiZi FHT 0b0f
> > attr FHT_KiZi retrycount 3
> > attr FHT_KiZi room UG
>
> > define FileLog_FHT_KiZi FileLog /var/log/fhem/FHT_KiZi-%Y-%m.log
> > FHT_KiZi
> > attr FileLog_FHT_KiZi logtype fht:Temp/Act,text
> > attr FileLog_FHT_KiZi room UG
>
> > define weblink_FHT_KiZi weblink fileplot FileLog_FHT_KiZi:fht:CURRENT
> > attr weblink_FHT_KiZi label "FHT_KiZi Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_KiZi room UG
>
> > define FHT_Bad_O FHT 1b0b
> > attr FHT_Bad_O retrycount 3
> > attr FHT_Bad_O room OG
>
> > define FileLog_FHT_Bad_O FileLog /var/log/fhem/FHT_Bad_O-%Y-%m.log
> > FHT_Bad_O
> > attr FileLog_FHT_Bad_O logtype fht:Temp/Act,text
> > attr FileLog_FHT_Bad_O room OG
>
> > define weblink_FHT_Bad_O weblink fileplot
> > FileLog_FHT_Bad_O:fht:CURRENT
> > attr weblink_FHT_Bad_O label "FHT_Bad_O Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_Bad_O room OG
>
> > define FHT_SchlafZ_O FHT 1b0c
> > attr FHT_SchlafZ_O retrycount 3
> > attr FHT_SchlafZ_O room OG
>
> > define weblink_FHT_SchlafZ_O weblink fileplot
> > FileLog_FHT_SchlafZ_O:fht:CURRENT
> > attr weblink_FHT_SchlafZ_O label "FHT_SchlafZ_O Min $data{min1}, Max
> > $data{max1}, Last $data{currval1}"
> > attr weblink_FHT_SchlafZ_O room OG
>
> > define FileLog_FHT_SchlafZ_O FileLog /var/log/fhem/FHT_SchlafZ_O-%Y-
> > %m.log FHT_SchlafZ_O
> > attr FileLog_FHT_SchlafZ_O logtype fht:Temp/Act,text
> > attr FileLog_FHT_SchlafZ_O room OG
>
> > define lime_reset notify .*lime-protection {
> >      my $d = $defs{@}{READINGS}{"desired-temp"}{VAL};
> >      my $m = $defs{@}{READINGS}{"measured-low"}{VAL};
> >      if($m gt $d) {
> >        $m = ($m + 5)/10;
> >      } else {
> >        $m = ($m - 5)/10;
> >      }
> >        fhem("deleteattr @ lazy");
> >        fhem("set @ desired-temp $m");
> >        fhem("set @ desired-temp $d");
> >        fhem("attr @ lazy");
> >    }
>
> > define fht_report_WoZ at +*12:00:00 set FHT_WohnZ report1 255 report2
> > 255
>
> > define fht_report_Kue at +*12:00:00 set FHT_Kueche report1 255 report2
> > 255
>
> > define fht_report_Bad at +*12:00:00 set FHT_Bad_U report1 255 report2
> > 255
>
> > define fht_report_SchlZ at +*12:00:00 set FHT_SchlafZ report1 255
> > report2 255
>
> > define fht_report_KiZi at +*12:00:00 set FHT_KiZi report1 255 report2
> > 255
>
> > define fht_report_SchlZO at +*12:00:00 set FHT_SchlafZ_O report1 255
> > report2 255
>
> > define fht_report_BadO at +*12:00:00 set FHT_Bad_O report1 255 report2
> > 255
>
> > define fhz_timer at +*00:01:00 set FHZ1 time

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.

Guest

Originally posted by: <email address deleted>

Holger,

If you want to disable the old script. Just delete it and remove the
references in the corresponding /etc/rc?.d directories.


Jelle

2011/1/23 Holger :
> Hoi Jelle,
>
> bedankt voor de informatie.
>
> Het lijkt te werken (ik zal nog een beetje moeten spelen om de oude
> script uit zetten)
>
> Houdoe !!
>
> Holger
>
> On 23 Jan., 14:09, Jelle Kalf wrote:
>> Hi Holger
>>
>> On 23 jan, 12:26, Holger wrote:
>>
>> > Hallo,
>>
>> > so langsam wird das mit meinem FHEM immer besser allerdings hab ich
>> > noch ein paar Probleme.
>>
>> > das Ubuntu Start-Stop Script scheint nicht richtig zu funtkionieren.
>> > <http://fhemwiki.de/index.php/Start-Stop-Skript_f%C3%BCr_Ubuntu>
>> > Wenn ich versuche ein laufendes FHEM zu stoppen funktioniert das nicht
>> > (unabhängig wieviel Zeit zwischen dem Stop und dem Status vergeht,
>> > bleibt der Status "running".
>> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem stop
>> > Stopping fhem...
>> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem status
>> > fhem is running
>>
>> Das stimt (that's all about the german you'll get from me)...
>> Ubuntu has switched to the upstartsystem. So if you want to stop/start
>> fhem you shouldn't use a /etc/init.d/fhem document.
>> Check the location /etc/init./fhem.conf
>> If you've installed fhem using the .deb file, you'll find the start/
>> stop script over there.
>>
>> Now you can start/stop fhem using: initctl stop/start fhem
>>
>> Kind regards,
>>
>> Jelle Kalf
>>
>> > Weiterhin hab ich oft das Problem, dass ich nach einem Neustart des
>> > Servers (aufgrund von Ubuntu Updates), ich immer wieder den TTYUSB0
>> > bzg. chmod die Schreib-Lese Rechte neu zuordnen muss, bzw. das FHEM
>> > System nicht sauber startet (FHZ1 not defined Meldungen, ....).
>>
>> > Und zum Schluss hat vielleicht noch jemand einen tip, warum bei mir
>> > die Examples nicht funktionieren ?
>> > Kann ich mit die Example Configs irgendwo direkt mit einem Editor
>> > anschauen ? --> Wo liegen die ?
>>
>> > Ach ja, meine Report Files würde ich auch gerne separat speichern, da
>> > die Logs doch über einen Monat Zeitraum extrem lang werden. Tips (ich
>> > find halt die Examples bei mir nicht :-( ....)
>>
>> > Ausserdem hat mein Nachbar jetzt auch ein paar FS20 Komponenten, die
>> > immer wieder durch den autocreate gefunden werden, und ich diese dann
>> > wieder löschen muss. Welche Autocreate Zeilen muss ich
>> > auskommentieren, damit nur meine in der Config angegebenen Komponenten
>> > angezeigt werden ?
>>
>> > Anbei meine fhem.cfg  --- falls es hilft.
>>
>> > attr global autoload_undefined_devices 1
>> > attr global logfile /var/log/fhem/fhem-%Y-%m.log
>> > attr global modpath /usr/share/fhem
>> > attr global port 7072 global
>> > attr global statefile /var/log/fhem/fhem.save
>> > attr global verbose 3
>>
>> > define WEBS FHEMWEB 8084
>> > attr WEBS smallscreen 1
>>
>> > define WEB FHEMWEB 8083 global
>>
>> > define autocreate autocreate
>> > attr autocreate autosave 1
>> > attr autocreate device_room %TYPE
>> > attr autocreate filelog /var/log/fhem/%NAME-%Y.log
>> > attr autocreate weblink 1
>> > attr autocreate weblink_room Plots
>>
>> > define FHZ1 FHZ /dev/ttyUSB0
>> > attr FHZ1 fhtsoftbuffer 0
>>
>> > define FHT_Bad_U FHT 0b0b
>> > attr FHT_Bad_U retrycount 3
>> > attr FHT_Bad_U room UG
>>
>> > define FileLog_FHT_Bad_U FileLog /var/log/fhem/FHT_Bad_U-%Y-%m.log
>> > FHT_Bad_U
>> > attr FileLog_FHT_Bad_U logtype fht:Temp/Act,text
>> > attr FileLog_FHT_Bad_U room UG
>>
>> > define weblink_FHT_Bad_U weblink fileplot
>> > FileLog_FHT_Bad_U:fht:CURRENT
>> > attr weblink_FHT_Bad_U label "FHT_Bad_U Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_Bad_U room UG
>>
>> > define FHT_SchlafZ_U FHT 0b0c
>> > attr FHT_SchlafZ_U retrycount 3
>> > attr FHT_SchlafZ_U room UG
>>
>> > define FileLog_FHT_SchlafZ_U FileLog /var/log/fhem/FHT_SchlafZ_U-%Y-
>> > %m.log FHT_SchlafZ_U
>> > attr FileLog_FHT_SchlafZ_U logtype fht:Temp/Act,text
>> > attr FileLog_FHT_SchlafZ_U room UG
>>
>> > define weblink_FHT_SchlafZ_U weblink fileplot
>> > FileLog_FHT_SchlafZ_U:fht:CURRENT
>> > attr weblink_FHT_SchlafZ_U label "FHT_SchlafZ_U Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_SchlafZ_U room UG
>>
>> > define FHT_Kueche FHT 0b0d
>> > attr FHT_Kueche retrycount 3
>> > attr FHT_Kueche room UG
>>
>> > define FileLog_FHT_Kueche FileLog /var/log/fhem/FHT_Kueche-%Y-%m.log
>> > FHT_Kueche
>> > attr FileLog_FHT_Kueche logtype fht:Temp/Act,text
>> > attr FileLog_FHT_Kueche room UG
>>
>> > define weblink_FHT_Kueche weblink fileplot
>> > FileLog_FHT_Kueche:fht:CURRENT
>> > attr weblink_FHT_Kueche label "FHT_Kueche Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_Kueche room UG
>>
>> > define FHT_WohnZ FHT 0b0e
>> > attr FHT_WohnZ retrycount 3
>> > attr FHT_WohnZ room UG
>>
>> > define FileLog_FHT_WohnZ FileLog /var/log/fhem/FHT_WohnZ-%Y-%m.log
>> > FHT_WohnZ
>> > attr FileLog_FHT_WohnZ logtype fht:Temp/Act,text
>> > attr FileLog_FHT_WohnZ room UG
>>
>> > define weblink_FHT_WohnZ weblink fileplot
>> > FileLog_FHT_WohnZ:fht:CURRENT
>> > attr weblink_FHT_WohnZ label "FHT_WohnZ Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_WohnZ room UG
>>
>> > define FHT_KiZi FHT 0b0f
>> > attr FHT_KiZi retrycount 3
>> > attr FHT_KiZi room UG
>>
>> > define FileLog_FHT_KiZi FileLog /var/log/fhem/FHT_KiZi-%Y-%m.log
>> > FHT_KiZi
>> > attr FileLog_FHT_KiZi logtype fht:Temp/Act,text
>> > attr FileLog_FHT_KiZi room UG
>>
>> > define weblink_FHT_KiZi weblink fileplot FileLog_FHT_KiZi:fht:CURRENT
>> > attr weblink_FHT_KiZi label "FHT_KiZi Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_KiZi room UG
>>
>> > define FHT_Bad_O FHT 1b0b
>> > attr FHT_Bad_O retrycount 3
>> > attr FHT_Bad_O room OG
>>
>> > define FileLog_FHT_Bad_O FileLog /var/log/fhem/FHT_Bad_O-%Y-%m.log
>> > FHT_Bad_O
>> > attr FileLog_FHT_Bad_O logtype fht:Temp/Act,text
>> > attr FileLog_FHT_Bad_O room OG
>>
>> > define weblink_FHT_Bad_O weblink fileplot
>> > FileLog_FHT_Bad_O:fht:CURRENT
>> > attr weblink_FHT_Bad_O label "FHT_Bad_O Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_Bad_O room OG
>>
>> > define FHT_SchlafZ_O FHT 1b0c
>> > attr FHT_SchlafZ_O retrycount 3
>> > attr FHT_SchlafZ_O room OG
>>
>> > define weblink_FHT_SchlafZ_O weblink fileplot
>> > FileLog_FHT_SchlafZ_O:fht:CURRENT
>> > attr weblink_FHT_SchlafZ_O label "FHT_SchlafZ_O Min $data{min1}, Max
>> > $data{max1}, Last $data{currval1}"
>> > attr weblink_FHT_SchlafZ_O room OG
>>
>> > define FileLog_FHT_SchlafZ_O FileLog /var/log/fhem/FHT_SchlafZ_O-%Y-
>> > %m.log FHT_SchlafZ_O
>> > attr FileLog_FHT_SchlafZ_O logtype fht:Temp/Act,text
>> > attr FileLog_FHT_SchlafZ_O room OG
>>
>> > define lime_reset notify .*lime-protection {
>> >      my $d = $defs{@}{READINGS}{"desired-temp"}{VAL};
>> >      my $m = $defs{@}{READINGS}{"measured-low"}{VAL};
>> >      if($m gt $d) {
>> >        $m = ($m + 5)/10;
>> >      } else {
>> >        $m = ($m - 5)/10;
>> >      }
>> >        fhem("deleteattr @ lazy");
>> >        fhem("set @ desired-temp $m");
>> >        fhem("set @ desired-temp $d");
>> >        fhem("attr @ lazy");
>> >    }
>>
>> > define fht_report_WoZ at +*12:00:00 set FHT_WohnZ report1 255 report2
>> > 255
>>
>> > define fht_report_Kue at +*12:00:00 set FHT_Kueche report1 255 report2
>> > 255
>>
>> > define fht_report_Bad at +*12:00:00 set FHT_Bad_U report1 255 report2
>> > 255
>>
>> > define fht_report_SchlZ at +*12:00:00 set FHT_SchlafZ report1 255
>> > report2 255
>>
>> > define fht_report_KiZi at +*12:00:00 set FHT_KiZi report1 255 report2
>> > 255
>>
>> > define fht_report_SchlZO at +*12:00:00 set FHT_SchlafZ_O report1 255
>> > report2 255
>>
>> > define fht_report_BadO at +*12:00:00 set FHT_Bad_O report1 255 report2
>> > 255
>>
>> > define fhz_timer at +*00:01:00 set FHZ1 time
>
> --
> Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
> Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
> Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
> Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
>
>



--
Living on Earth is expensive, but it does include a free trip around the sun.

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.

Guest

Originally posted by: <email address deleted>

Hello Jelle,

thanks a lot ! It works perfectly as described by you.

On 23 Jan., 14:40, Jelle Kalf wrote:
> Holger,
>
> If you want to disable the old script. Just delete it and remove the
> references in the corresponding /etc/rc?.d directories.
>
> Jelle
>
> 2011/1/23 Holger :
>
>
>
> > Hoi Jelle,
>
> > bedankt voor de informatie.
>
> > Het lijkt te werken (ik zal nog een beetje moeten spelen om de oude
> > script uit zetten)
>
> > Houdoe !!
>
> > Holger
>
> > On 23 Jan., 14:09, Jelle Kalf wrote:
> >> Hi Holger
>
> >> On 23 jan, 12:26, Holger wrote:
>
> >> > Hallo,
>
> >> > so langsam wird das mit meinem FHEM immer besser allerdings hab ich
> >> > noch ein paar Probleme.
>
> >> > das Ubuntu Start-Stop Script scheint nicht richtig zu funtkionieren.
> >> > <http://fhemwiki.de/index.php/Start-Stop-Skript_f%C3%BCr_Ubuntu>
> >> > Wenn ich versuche ein laufendes FHEM zu stoppen funktioniert das nicht
> >> > (unabhängig wieviel Zeit zwischen dem Stop und dem Status vergeht,
> >> > bleibt der Status "running".
> >> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem stop
> >> > Stopping fhem...
> >> > hs@Server:/var/log/fhem$ sudo invoke-rc.d fhem status
> >> > fhem is running
>
> >> Das stimt (that's all about the german you'll get from me)...
> >> Ubuntu has switched to the upstartsystem. So if you want to stop/start
> >> fhem you shouldn't use a /etc/init.d/fhem document.
> >> Check the location /etc/init./fhem.conf
> >> If you've installed fhem using the .deb file, you'll find the start/
> >> stop script over there.
>
> >> Now you can start/stop fhem using: initctl stop/start fhem
>
> >> Kind regards,
>
> >> Jelle Kalf
>
> >> > Weiterhin hab ich oft das Problem, dass ich nach einem Neustart des
> >> > Servers (aufgrund von Ubuntu Updates), ich immer wieder den TTYUSB0
> >> > bzg. chmod die Schreib-Lese Rechte neu zuordnen muss, bzw. das FHEM
> >> > System nicht sauber startet (FHZ1 not defined Meldungen, ....).
>
> >> > Und zum Schluss hat vielleicht noch jemand einen tip, warum bei mir
> >> > die Examples nicht funktionieren ?
> >> > Kann ich mit die Example Configs irgendwo direkt mit einem Editor
> >> > anschauen ? --> Wo liegen die ?
>
> >> > Ach ja, meine Report Files würde ich auch gerne separat speichern, da
> >> > die Logs doch über einen Monat Zeitraum extrem lang werden. Tips (ich
> >> > find halt die Examples bei mir nicht :-( ....)
>
> >> > Ausserdem hat mein Nachbar jetzt auch ein paar FS20 Komponenten, die
> >> > immer wieder durch den autocreate gefunden werden, und ich diese dann
> >> > wieder löschen muss. Welche Autocreate Zeilen muss ich
> >> > auskommentieren, damit nur meine in der Config angegebenen Komponenten
> >> > angezeigt werden ?
>
> >> > Anbei meine fhem.cfg  --- falls es hilft.
>
> >> > attr global autoload_undefined_devices 1
> >> > attr global logfile /var/log/fhem/fhem-%Y-%m.log
> >> > attr global modpath /usr/share/fhem
> >> > attr global port 7072 global
> >> > attr global statefile /var/log/fhem/fhem.save
> >> > attr global verbose 3
>
> >> > define WEBS FHEMWEB 8084
> >> > attr WEBS smallscreen 1
>
> >> > define WEB FHEMWEB 8083 global
>
> >> > define autocreate autocreate
> >> > attr autocreate autosave 1
> >> > attr autocreate device_room %TYPE
> >> > attr autocreate filelog /var/log/fhem/%NAME-%Y.log
> >> > attr autocreate weblink 1
> >> > attr autocreate weblink_room Plots
>
> >> > define FHZ1 FHZ /dev/ttyUSB0
> >> > attr FHZ1 fhtsoftbuffer 0
>
> >> > define FHT_Bad_U FHT 0b0b
> >> > attr FHT_Bad_U retrycount 3
> >> > attr FHT_Bad_U room UG
>
> >> > define FileLog_FHT_Bad_U FileLog /var/log/fhem/FHT_Bad_U-%Y-%m.log
> >> > FHT_Bad_U
> >> > attr FileLog_FHT_Bad_U logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_Bad_U room UG
>
> >> > define weblink_FHT_Bad_U weblink fileplot
> >> > FileLog_FHT_Bad_U:fht:CURRENT
> >> > attr weblink_FHT_Bad_U label "FHT_Bad_U Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_Bad_U room UG
>
> >> > define FHT_SchlafZ_U FHT 0b0c
> >> > attr FHT_SchlafZ_U retrycount 3
> >> > attr FHT_SchlafZ_U room UG
>
> >> > define FileLog_FHT_SchlafZ_U FileLog /var/log/fhem/FHT_SchlafZ_U-%Y-
> >> > %m.log FHT_SchlafZ_U
> >> > attr FileLog_FHT_SchlafZ_U logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_SchlafZ_U room UG
>
> >> > define weblink_FHT_SchlafZ_U weblink fileplot
> >> > FileLog_FHT_SchlafZ_U:fht:CURRENT
> >> > attr weblink_FHT_SchlafZ_U label "FHT_SchlafZ_U Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_SchlafZ_U room UG
>
> >> > define FHT_Kueche FHT 0b0d
> >> > attr FHT_Kueche retrycount 3
> >> > attr FHT_Kueche room UG
>
> >> > define FileLog_FHT_Kueche FileLog /var/log/fhem/FHT_Kueche-%Y-%m.log
> >> > FHT_Kueche
> >> > attr FileLog_FHT_Kueche logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_Kueche room UG
>
> >> > define weblink_FHT_Kueche weblink fileplot
> >> > FileLog_FHT_Kueche:fht:CURRENT
> >> > attr weblink_FHT_Kueche label "FHT_Kueche Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_Kueche room UG
>
> >> > define FHT_WohnZ FHT 0b0e
> >> > attr FHT_WohnZ retrycount 3
> >> > attr FHT_WohnZ room UG
>
> >> > define FileLog_FHT_WohnZ FileLog /var/log/fhem/FHT_WohnZ-%Y-%m.log
> >> > FHT_WohnZ
> >> > attr FileLog_FHT_WohnZ logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_WohnZ room UG
>
> >> > define weblink_FHT_WohnZ weblink fileplot
> >> > FileLog_FHT_WohnZ:fht:CURRENT
> >> > attr weblink_FHT_WohnZ label "FHT_WohnZ Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_WohnZ room UG
>
> >> > define FHT_KiZi FHT 0b0f
> >> > attr FHT_KiZi retrycount 3
> >> > attr FHT_KiZi room UG
>
> >> > define FileLog_FHT_KiZi FileLog /var/log/fhem/FHT_KiZi-%Y-%m.log
> >> > FHT_KiZi
> >> > attr FileLog_FHT_KiZi logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_KiZi room UG
>
> >> > define weblink_FHT_KiZi weblink fileplot FileLog_FHT_KiZi:fht:CURRENT
> >> > attr weblink_FHT_KiZi label "FHT_KiZi Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_KiZi room UG
>
> >> > define FHT_Bad_O FHT 1b0b
> >> > attr FHT_Bad_O retrycount 3
> >> > attr FHT_Bad_O room OG
>
> >> > define FileLog_FHT_Bad_O FileLog /var/log/fhem/FHT_Bad_O-%Y-%m.log
> >> > FHT_Bad_O
> >> > attr FileLog_FHT_Bad_O logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_Bad_O room OG
>
> >> > define weblink_FHT_Bad_O weblink fileplot
> >> > FileLog_FHT_Bad_O:fht:CURRENT
> >> > attr weblink_FHT_Bad_O label "FHT_Bad_O Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_Bad_O room OG
>
> >> > define FHT_SchlafZ_O FHT 1b0c
> >> > attr FHT_SchlafZ_O retrycount 3
> >> > attr FHT_SchlafZ_O room OG
>
> >> > define weblink_FHT_SchlafZ_O weblink fileplot
> >> > FileLog_FHT_SchlafZ_O:fht:CURRENT
> >> > attr weblink_FHT_SchlafZ_O label "FHT_SchlafZ_O Min $data{min1}, Max
> >> > $data{max1}, Last $data{currval1}"
> >> > attr weblink_FHT_SchlafZ_O room OG
>
> >> > define FileLog_FHT_SchlafZ_O FileLog /var/log/fhem/FHT_SchlafZ_O-%Y-
> >> > %m.log FHT_SchlafZ_O
> >> > attr FileLog_FHT_SchlafZ_O logtype fht:Temp/Act,text
> >> > attr FileLog_FHT_SchlafZ_O room OG
>
> >> > define lime_reset notify .*lime-protection {
> >> >      my $d = $defs{@}{READINGS}{"desired-temp"}{VAL};
> >> >      my $m = $defs{@}{READINGS}{"measured-low"}{VAL};
> >> >      if($m gt $d) {
> >> >        $m = ($m + 5)/10;
> >> >      } else {
> >> >        $m = ($m - 5)/10;
> >> >      }
> >> >        fhem("deleteattr @ lazy");
> >> >        fhem("set @ desired-temp $m");
> >> >        fhem("set @ desired-temp $d");
> >> >        fhem("attr @ lazy");
> >> >    }
>
> >> > define fht_report_WoZ at +*12:00:00 set FHT_WohnZ report1 255 report2
> >> > 255
>
> >> > define fht_report_Kue at +*12:00:00 set FHT_Kueche report1 255 report2
> >> > 255
>
> >> > define fht_report_Bad at +*12:00:00 set FHT_Bad_U report1 255 report2
> >> > 255
>
> >> > define fht_report_SchlZ at +*12:00:00 set FHT_SchlafZ report1 255
> >> > report2 255
>
> >> > define fht_report_KiZi at +*12:00:00 set FHT_KiZi report1 255 report2
> >> > 255
>
> >> > define fht_report_SchlZO at +*12:00:00 set FHT_SchlafZ_O report1 255
> >> > report2 255
>
> >> > define fht_report_BadO at +*12:00:00 set FHT_Bad_O report1 255 report2
> >> > 255
>
> >> > define fhz_timer at +*00:01:00 set FHZ1 time
>
> > --
> > Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
> > Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
> > Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
> > Besuchen Sie die Gruppe unterhttp://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
>
> --
> Living on Earth is expensive, but it does include a free trip around the sun.

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.