Yes, I found out before. Since version 3.9.0, weewx.conf takes precedence over skin.conf, so I had to remove all [unit] sections etc. from weewx.conf and move them to skin.conf of each skin. I didn't think it not worked with w34. The second option is to add the [units] section to define each skin in weewx.conf, which didn't seem to me appropriate because weewx.conf grew disproportionately (not only because of units, but also labels, etc.) and also because of every minor change in weewx.conf it was necessary to restart weewx, but the change in skin.conf does not need restart. Radek
Dne pátek 21. června 2019 7:00:10 UTC+2 gjr80 napsal(a): > > Hi, > > If you were running a a pre-3.9.0 version of WeeWX you may have been > affected by the changes to skin defaults > <http://weewx.com/docs/upgrading.htm#Skin_defaults> introduced in WeeWX > 3.9.0. The upshot is if you had previously customised a skin.conf to use > non-US customary units then the upgrade to 3.9.x would override those > customisations and revert to US customary units. The solution, as you have > found, is to do those customisations/overrides in weewx.conf. > > Gary > > On Friday, 21 June 2019 14:52:21 UTC+10, Radoslav Drdla wrote: >> >> Hi All >> Fault removed. In weewx.conf I missed the [[Units]] section of the w34 >> skin definition. I assumed that it is enough to place it in the skin.conf, >> because I have some skins in Czech and some in English and I solved it in >> skin.conf for individual skins. >> All I have to do is replace some of the labels, because not everything >> can be done with "langxx.php". >> Thank you all for trying to help. >> >> Dne úterý 18. června 2019 19:27:25 UTC+2 Radoslav Drdla napsal(a): >>> >>> Hi, I have weewx 3.9.1 installed and I added W34 skin. I had a few >>> problems I solved, but with one I don't know how to go on. The thing is >>> that the data from weewx database is in Imperial units (recommended) and >>> templates are converted to metric. But the W34skin data from "realtime.txt" >>> is displayed correctly, but leaves the data it receives directly from the >>> database in its original units and then the skin displays nonsense. E.g. >>> the current temperature is 25.1 ° C, but the Max / min temperatures are >>> 81.7 ° C / 59.9 ° C (which are actually temperatures in ° F), similarly the >>> wind speed is in km / h, but the values correspond to mph etc. >>> My database has data since 2013 and I don't want to lose data or convert >>> it to a metric system. Is it possible to solve it or is W34 skin unusable >>> for me? >>> >>> You can see here: http://www.pocasi-kucerov.cz/w34/index.php >>> >>> -- 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/a93ff417-d90b-4f65-8a25-c19003cc90e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
