No, there isn't, but it's a good idea. I've opened Issue #276 <https://github.com/weewx/weewx/issues/276> to discuss.
-tk On Sat, Sep 23, 2017 at 4:43 AM, Antony K. <[email protected]> wrote: > Is there someway with an extra tag so the weeWX can return 1 if it is > daylight or 0 if it is night using current time, sunrise and sunset? > > $current.isDaylight -> True or False. > > -- > 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.
