I may have found what was causing this, but I'm not entirely certain.
I think line 2442
usage_round = int(self.skin_dict['Units']['StringFormats'].get(obs_vt[2], 
"2f")[-2]) 
maybe should be
usage_round = int(self.skin_dict['Units']['StringFormats'].get(obs_vt[1], 
"2f")[-2])

because obs_vt[2] appears to show the observation group
and obs_vt[1] the observation type

It's working for me and doesn't seem to have broken anything. 


On Wednesday, 23 December 2020 at 20:08:38 UTC Al P wrote:

> Yep, I can see 3 digits in the UDP packets, and as I mentioned I can see 
> the 3 digits in the chart in the seasons skin. I've also added the current 
> value to my footer and can see the 3 digits there. It's only in the chart 
> that it seems to round to 2 digits. The stringformat is already %.3f for 
> the rest of it to work.
>
> On Wednesday, 23 December 2020 at 19:51:13 UTC vince wrote:
>
>> On Wednesday, December 23, 2020 at 8:28:11 AM UTC-8 Al P wrote:
>>
>>> I would like to chart a voltage value to 3 decimal places. Why you ask? 
>>> Because I've recently installed a WeatherFlow Tempest in an overcast 
>>> climate and I really want to see how much/little sunshine it takes for it 
>>> to charge!
>>>
>>>
>> Are you 'sure' the unit reports to three decimal points ?
>> My recollection is WF gear only reports to two (but my memory might be 
>> hazy).
>>
>> Remember, an archive record is an average of the data received over that 
>> archive period, so the average of a 2-digit actual measurement will seem to 
>> be a many-digit value.
>>
>> But that said, if you look in skin.conf you will see a section called 
>> StringFormats where you can set it to any number of digits you want.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/51541257-68fe-4dc1-b100-ee95851c486dn%40googlegroups.com.

Reply via email to