Odd, I thought that had been fixed. OK, I'll take a look over the weekend.
Announcement
Collapse
No announcement yet.
Jon00 Weather Display For Homeseer 2, 3 & 4
Collapse
X
-
hi jon
further to above,
is it possible to also please check the following in your script...
Max gust last hour $133 - is displaying with no decimal place.
(first two digits correct - but no decimal place displayed in either device value or string)
eg 12.2 actual is displaying as 12 in your script device.
max gust last minute $140 - same as above.
ive confirmed that wdisplay is correctly showing above with a decimal place
ive also confirmed your script is correctly displaying below with one decimal place
the other wind related devices.
max gust today $71 , 10 min avg , current etc
much appreciated
Comment
-
hi jon, thanks for bearing with this as we unravel it..
1) checked clientraw file
for
$133 (max gust LAST HOUR) - note this appears incorrectly described in your doc
$140 (max gust in last min)
.. above two have NO decimal place in clientraw .. hence your script correctly rendering these in string AND value
2) checked clientraw file
for
$71 (max wind gust today) - clientraw value has NO decimal place..however your script displays this with a decimal place of zero (in the string)
and with a value that is ten times. eg clientraw=10 jon00 device string =10.0, jon00 device value =100
3) FYI - there are a few mismatches between your documentation and the wdisplay clientrawdescription doc.
$71 is max wind gust TODAY
$133 is max gust LAST HOUR
$134 is max gust last hour TIME
$135 max gust today TIME
summary :
$133 and $140 are displaying faithfully - no action required (my bad)
$71 strangely script is "adding a zero decimal place" and has the "decimal place zero" problem with device value
Original issue I reported - still exists : all other parameters when clientraw has a value with a decimal place of zero,
display correct string but INCORRECT device value (10x)
hope this helps a bit in unravelling it further..
Comment
-
I'm struggling to find the problem with the decimal place as all the tags go though exactly the same routines. There is nothing special with $71.
I think the best thing would be for you to send me copies of your ini file, clientraw.txt and clientrawextra.txt files when you see this happen. I can then debug this with actual data from your setup.
Comment
-
I'm trying out Weather-Display and this plug-in. It seems to be working ok except the outside temperature that shows in the HS3 virtual device is not the same as what Weather_Display shows or what I see on my Davis VP2 console. The virtual device is reporting 57.4 degrees F while everything else is 39.1. I looked at the Jon00WeatherDisplahyDateHS3.ini file and I see 4=14.1. 14.1 C is 39.1 F. The clientraw.txt file shows these numbers: 12345 0.0 0.0 295 3.9 78 990.2 ..... I'm guessing that the 3.9 is Celsius which is 39.1F. The 22019lg.txt file from Weather-Display shows 39.1 Somehow the virtual device value is being changed from this to 57.4. What might be causing this?
Comment
Comment