Originally posted by: <email address deleted>
I'm running FHEM on strawberry perl on a windows 2k box - I'm a novice
and have never managed to get plots to function correctly - they are
always blank. Like the Windows 7 user who posted last year I get the
following errors:
Use of uninitialized value $linf in -f at ./FHEM/92_FileLog.pm line
185.
Use of uninitialized value in concatenation (.) or string at ./FHEM/
92_FileLog.p
m line 186.
Use of uninitialized value in concatenation (.) or string at ./FHEM/
92_FileLog.p
m line 186.
My config doesn't contain any windows path \ but I am clearly doing
something wrong - any help would be much appreciated.
Many thanks
Nick
attr global autoload_undefined_devices 1
attr global logfile /fhem-%Y-%m.log
attr global modpath .
attr global nofork 1
attr global port 7072 global
attr global statefile /fhem.save
attr global userattr webCmd
attr global verbose 5
define MyCUL CUL com5@9600 1234
attr MyCUL room CUL
define CUL_RFR_02 CUL_RFR 02 01
attr CUL_RFR_02 room CUL
define lamp2 FS20 1234 56
define WEB FHEMWEB 8083 global
define WEBphone FHEMWEB 8084 global
attr WEBphone smallscreen 1
define WEBtablet FHEMWEB 8085 global
attr WEBtablet touchpad 1
define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate weblink 1
attr autocreate weblink_room Plots
define Study FHT 3a04
attr Study retrycount 3
define Playroom FHT 2b35
attr Playroom retrycount 3
define LivingRoom FHT 6363
attr LivingRoom retrycount 3
define MaddieHalls FHT 5804
attr MaddieHalls retrycount 3
define DiningRoom FHT 3048
attr DiningRoom retrycount 3
define MasterBedroom FHT 015e
attr MasterBedroom retrycount 3
define SpareBedroom FHT 435f
attr SpareBedroom retrycount 3
define CaitlinBedroom FHT 5b2e
attr CaitlinBedroom retrycount 3
define Studylog FileLog .Study-%Y-%U.log Study:.*(desired-temp|
measured-temp|actuator|warnings).*
define Playroomlog FileLog .Playroom-%Y-%U.log Playroom:.*(desired-
temp|measured-temp|actuator|warnings).*
define Playroom1 FileLog .Playroom1-%Y-%U.log Playroom:.*(temp|
actuator).*
attr Playroom1 logtype fht:Temp
define LivingRoomlog FileLog .LivingRoom-%Y-%U.log
LivingRoom:.*(desired-temp|measured-temp|actuator|warnings).*
define MasterBedroomlog FileLog .MasterBedroom-%Y-%U.log
MasterBedroom:.*(desired-temp|measured-temp|actuator|warnings).*
define SpareBedroomlog FileLog .SpareBedroom-%Y-%U.log
SpareBedroom:.*(desired-temp|measured-temp|actuator|warnings).*
define CaitlinBedroomlog FileLog .CaitlinBedroom-%Y-%U.log
CaitlinBedroom:.*(desired-temp|measured-temp|actuator|warnings).*
define DiningRoomlog FileLog .DiningRoom-%Y-%U.log
DiningRoom:.*(desired-temp|measured-temp|actuator|warnings).*
define MaddieHallslog FileLog .MaddieHalls-%Y-%U.log
MaddieHalls:.*(desired-temp|measured-temp|actuator|warnings).*
define Study_refresh at *04:00:00 set Study report1 255 report2 255
define Playroom_refresh at *04:00:00 set Playroom report1 255 report2
255
define LivingRoom_refresh at *04:00:00 set Livingroom report1 255
report2 255
define MasterBedroom_refresh at *04:00:00 set MasterBedroom report1
255 report2 255
define SpareBedroom_refresh at *04:00:00 set SpareBedroom report1 255
report2 255
define CaitlinBedroom_refresh at *04:00:00 set CaitlinBedroom report1
255 report2 255
define MaddieHalls_refresh at *04:00:00 set MaddieHalls report1 255
report2 255
define FS20_7b5805 FS20 7b58 05
attr FS20_7b5805 room FS20
define StudyOn at *06:30:00 set Study 19
define StudyOff at *09:00:00 set Study 6
define LivingRoomOn at *06:00:00 set LivingRoom 19
define LivingRoomOff at *09:00:00 set LivingRoom 6
define MaddieHallsOn at *07:00:00 set MaddieHalls 19
define MaddieHallsOff at *09:00:00 set MaddieHalls 6
define PlayroomOn at *08:55:00 set Playroom 19
define PlayroomOff at *09:00:00 set Playroom 6
define MasterBedroomOn at *08:55:00 set MasterBedroom 19
define MasterBedroomOff at *09:00:00 set MasterBedroom 6
define SpareBedroomOn at *08:55:00 set SpareBedroom 19
define SpareBedroomOff at *09:00:00 set SpareBedroom 6
define CaitlinBedroomOn at *08:55:00 set CaitlinBedroom 19
define CaitlinBedroomOff at *09:00:00 set CaitlinBedroom 6
define DiningRoomOn at *08:55:00 set DiningRoom 19
define DiningRoomOff at *09:00:00 set DiningRoom 6
define weblink_LivingRoom weblink fileplot LivingRoomlog:fht:CURRENT
attr weblink_LivingRoom label "LivingRoom Min $data{min1}, Max
$data{max1}, Current
define weblink_MasterBedroom weblink fileplot
MasterBedroomlog:fht:CURRENT
attr weblink_MasterBedRoom label "MasterBedRoom Min $data{min1}, Max
$data{max1}, Last
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
> Use of uninitialized value $linf in -f at ./FHEM/92_FileLog.pm line
> 185.
The problem is that the FileLog parameter filename does not have a "/" in it.
I've changed the SVN version, so that in this case no "uninitialized" message
will apeear.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Thanks very much Rudolf for all your work
Does this mean I just need to append / to my config file everywhere
that has a define FileLog line?
Kind Regards
Nick
On Feb 17, 12:33 pm, Rudolf Koenig wrote:
> > Use of uninitialized value $linf in -f at ./FHEM/92_FileLog.pm line
> > 185.
>
> The problem is that the FileLog parameter filename does not have a "/" in it.
> I've changed the SVN version, so that in this case no "uninitialized" message
> will apeear.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Just tried my own stupid suggestion below which was based on Rudolph's
kind help.. HOORAY I finally have axes... so pleased... unfortunately
no data yet although I have plenty of log files saved... so I still
have to work out how the path system works / differs between fhem/
linux/windows but progess has been made at last and I am so pleased!!!
Thanks guys
Nick
On Feb 18, 9:27 pm, NickC wrote:
> Thanks very much Rudolf for all your work
>
> Does this mean I just need to append / to my config file everywhere
> that has a define FileLog line?
>
> Kind Regards
>
> Nick
>
> On Feb 17, 12:33 pm, Rudolf Koenig wrote:
>
>
>
> > > Use of uninitialized value $linf in -f at ./FHEM/92_FileLog.pm line
> > > 185.
>
> > The problem is that the FileLog parameter filename does not have a "/" in it.
> > I've changed the SVN version, so that in this case no "uninitialized" message
> > will apeear.- Hide quoted text -
>
> - Show quoted text -
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com