If you just want the raw number, use the "raw" suffix: $current.sunshine_hours.raw
-tk On Mon, Jul 22, 2019 at 5:48 AM Stefan Schnidrig <sschnid...@bluewin.ch> wrote: > Hello Thomas. > Thanks for your message. No. I would like to use the solar sensor to > display the sunshine time. But I want that in numbers, so I can put it in > my xml. > > Thank you > > Am Montag, 22. Juli 2019 13:47:39 UTC+2 schrieb Thomas Keffer: >> >> I'm not sure what you mean by "show this value in numbers." Do you mean >> formatting the value as "4:15 h", versus "4.25"? >> >> -tk >> >> On Mon, Jul 22, 2019 at 2:50 AM Stefan Schnidrig <sschn...@bluewin.ch> >> wrote: >> >>> Hello everybody. >>> >>> I have found this link ( >>> https://github.com/brewster76/util-archer/blob/master/user/radiationhours.py) >>> where is described how to display the sunshine time. Now I would like >>> to show this value in numbers (eg 4:15 h). Is that possible? >>> >>> Thank you >>> >>> >>> -- >>> 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 weewx...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/e4b49519-f227-4cfa-9151-7a3aafccc813%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/e4b49519-f227-4cfa-9151-7a3aafccc813%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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/5dfbcab1-9b7a-4b0c-9048-8a9add486ce9%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/5dfbcab1-9b7a-4b0c-9048-8a9add486ce9%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB-2t7ZZhJcLy1HxUHFuayzck%3DPSkSt7nwsFF8oYBq0mw%40mail.gmail.com.