Hi,
to avoid spilling my log with messages from a "ghost" FHT device, I
added a definition to the config file and banned the device to the room
hidden. I constantly receive messages for the device which leads to an
incomplete set of readings.
list x.hzg
Internals:
CODE 5e3b
DEF 5e3b
IODev FHZ
NAME x.hzg
NR 50
RAWMSG 810c04fb0909a0015e3b040001aa
STATE ???
TYPE FHT
Readings:
2009-07-25 09:10:18 actuator4 99%
Measured-temp:
Attributes:
retrycount 3
room hidden
The incomplete "measured-temp" reading leads to the warning "Use of
uninitialized value in sprintf at
/data/Homeautomation/fhem/FHEM/99_XmlList.pm line 79." in the log. I
suggest suppressing the tag in the XmlList in such cases to
avoid the warning message in the log. Before I change the source (and
commit it to CVS), I would like to know if a missing state line could
break anything else.
Regards,
Boris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users on Linux" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
> I suggest suppressing the tag in the XmlList in such cases to
> avoid the warning message in the log.
I hope not. I changed the source and checked it in myself.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users on Linux" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-