On Monday, September 3, 2018 at 2:32:12 PM UTC-7, mwall wrote:
>
> On Monday, September 3, 2018 at 5:13:37 PM UTC-4, vince wrote:
>>
>>
>> Fodder for an extension update by mwall, I suppose....
>>
>
> it has been quite some time since i touched that code, but i seem to 
> recall that i had to make everything a string in order to get things to 
> work.  i think that was the reason for the line:
>
> s = fmt % v
>
> or maybe that was to do the formatting for decimal places (the weewx-mqtt 
> uploader follows patterns that are used in other uploaders such as emoncms 
> and smartenergygroups and thingspeak.  but maybe those are not all 
> appropriate...)
>
>
>

My quick read was that since weewx uses strings, you probably did that for 
the unit conversion stuff.  The patch I did un-stringizes the values before 
doing the actual publishing after the unit conversion has happened.
 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to