Not understanding your question. The $unit tag is designed to retrieve the
reporting unit being used by an observation type. Why would you want to
retrieve something different?

If you want the value of a type in a different unit, you can do something
like:

*$day.rain.sum.cm <http://day.rain.sum.cm>*

This will give the rain since midnight in cm. Is this what you are looking
for?

-tk


On Mon, Nov 29, 2021 at 8:46 AM František Slimařík <[email protected]>
wrote:

> Hello,
>
> I have question regarding tag $unit. When I have for example tag
> $unit.label.rain it will show me " mm". Is there any way how to show
> different type of unit in case I want to show snow in my highchart graph
> and use this tag option? Like $unit.label.rain.cm?
>
> Thanks for answer.
>
> --
> 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/6ef88b26-06fb-464f-bee1-0968a91234a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/6ef88b26-06fb-464f-bee1-0968a91234a4n%40googlegroups.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/CAPq0zEAayqiE_32gEAqkLtsxJo3mHCLrhOkgDWKLAaJveCD-LA%40mail.gmail.com.

Reply via email to