The code doesn't exist in the skin as it is right now, but it would be easy 
to add. 

Create a new function in the belchertown.js.tmpl file for the wind speed 
and the colors you want. You could copy something like this for the 
temperature 
<https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/js/belchertown.js.tmpl#L87-L120>.
 
Then have the wind speed go through that function 
<https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/js/belchertown.js.tmpl#L793-L804>
 
to change it's color. Use the temperature live section 
<https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/js/belchertown.js.tmpl#L751-L755>
 
for an example of this. 

On Saturday, August 31, 2019 at 5:53:06 AM UTC-4, Stefan wrote:
>
> Hello.
> I have a question. Can the wind speed in Belchertown also be colored? eg 
> from 40 km yellow and from 80 red and from 120 purple? I mean in live 
> view.
>
> [image: Unbenannt.PNG]
>
> Thanks for Help
>
>
>

-- 
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/ca710529-774a-4356-8b69-9213aeb0c3f0%40googlegroups.com.

Reply via email to