The extension works out whether the sun is shining (one of the fields in Cumulus's realtime.txt file) by comparing SolarMax - another field in the file, which appears to be the calculated solar radiation if the sun were out at the current time and location in a cloudless sky - with the current solar radiation value from the latest data, but I can't see where the value of SolarMax comes from. From the code, it looks as if it comes from database data, but there is no such field in the database. Where is it calculated, and how could one access its value from another plugin, if one were to wish to?
-- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-development/8e6d0976-3edf-42b7-bb6a-7123cfcb210en%40googlegroups.com.
