I apologize for it not being very obvious where to change this. You need to
change it in weewx.conf.
[StdReport]
[[Defaults]]
[[[Units]]]
[[[[Labels]]]]
mm_per_hour = " mm/h"
It is not necessary to restart weewx. The changes will be picked up at the
next reporting cycle.
-tk
On Sun, Dec 29, 2019 at 11:14 AM p q <[email protected]> wrote:
> If all else fails, you can edit the template to put out the number with no
> formatting (.raw) and put in your own text for the unit. There should be a
> simple way to do this that doesn't require hacking the python code or doing
> the formatting manually, but I don't know where it is in your setup. I
> would have thought overriding the label in the skin would be the way to go.
>
> On Sun, Dec 29, 2019 at 10:08 AM Eugen Affolter <[email protected]>
> wrote:
>
>> Sure, more than once.
>>
>> TypeApp for Android <http://www.typeapp.com/r?b=15723> herunterladen
>> Am 29. Dez. 2019, um 19:03, p q <[email protected]> schrieb:
>>>
>>> Did you restart weewx?
>>>
>>> On Sun, Dec 29, 2019 at 10:00 AM Geni <[email protected]> wrote:
>>>
>>>> I have edit units.py and make the change in line 405,
>>>> "mm_per_hour" : " mm/h",.
>>>> But it has not changed on my webpage!
>>>>
>>>> Am Sonntag, 29. Dezember 2019 16:05:12 UTC+1 schrieb Geni:
>>>>>
>>>>> Hello,
>>>>>
>>>>> i use weewx 3.9.2 on a raspberry 3+ with a mysql database, the
>>>>> template is season.
>>>>> unfortunately since switching to a new raspberry the rainrate is
>>>>> displayed with xx mm/hr but i want mm/h.
>>>>> What do I have to change so that the rain rate is displayed in mm/h?
>>>>>
>>>>> Thanks, Geni
>>>>>
>>>>> Livesite is https://affolter.familyds.net/wetter/index.html
>>>>>
>>>> --
>>>> 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/3623b22b-f58f-484f-8a98-9808b7454300%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/weewx-user/3623b22b-f58f-484f-8a98-9808b7454300%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>> Peter Quinn
>>> (415)794-2264
>>>
>>> --
>> 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/cc10fff6-e840-45e6-b7f2-c95a7280bb53%40gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/cc10fff6-e840-45e6-b7f2-c95a7280bb53%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Peter Quinn
> (415)794-2264
>
> --
> 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/CAA1SM23vuP4M%2By0cnOcXnSHmXzgDgQ9EsXysCfg2H1TvYfO2Rw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAA1SM23vuP4M%2By0cnOcXnSHmXzgDgQ9EsXysCfg2H1TvYfO2Rw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAPq0zEDb9C__FZ2dk6PuLEt%2BVmcMv3Cg028Smu9dgkJKqF2h4Q%40mail.gmail.com.