The *Customizing Guide* <http://weewx.com/docs/customizing.htm> has all this information.
If you want temperature without the unit tag, then use $current.inTemp.formatted. This will be a *string*. If you want a raw number, that is, something you can do arithmetic with, then use $current.inTemp.raw. See the section *Formatting Options <http://weewx.com/docs/customizing.htm#formatting_options>* for details. -tk On Mon, Dec 4, 2017 at 3:43 PM, Simone Urbani <[email protected]> wrote: > Hello, > i migrated from wview to weewx. > My default skin was heavly customized... > now i'm trying to do the same with weewx. > I have a question: > i used an xml file to interface weewx to the domotics. > The problem is that the data are not in raw format. > I need that data are > <temperatura>15,8</temperatura> > and not > <temperatura>15,8°C</temperatura> > > This is the xml data: > <temperatura>$current.inTemp</temperatura> > > Thanks in advance and sorry for the question; i try to check the guide but > didn't understand how to fix it > > > -- > 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. > -- 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.
