[FHZ] wildcards implementation for 'fixedrange'

Begonnen von Guest, 26 Oktober 2008, 13:09:41

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

eg:
#gplot for the current year:
attr wl_AW4 fixedrange %Y-01-01 %Y-12-31
#gplot for the current month:
attr wl_AW3 fixedrange 2008-%m-01 2008-%m-31

replace line 1073 and 1074 within 01_FHEMWEB.pm with:
    my @t = localtime;
    $__devs{$d}{from} = ResolveDateWildcards($range[0], @t);
    $__devs{$d}{to} = ResolveDateWildcards($range[1], @t);

tested and runing.
Greets
Klaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-

rudolfkoenig

                                                   

Klingt gut, habe ich eingebaut. Danke!

Gruss,
  Rudi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-

Guest

Originally posted by: <email address deleted>

Hi Rudi,
hast' den Update noch nicht ins CVS eingecheckt...
Gruss
Klaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-

rudolfkoenig

                                                   

Stimmt, hab nur in den lokalen Quellen geaendert. Jetzt nachgeholt.
Fhem ist leider etwas ins Hintertreffen geraten, seitdem ich mit CUL/
CUR
spiele.

Gruss,
  Rudi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-