John Smith schrieb am Mittwoch, 26. November 2025 um 15:14:43 UTC+1:

Thanks, after looking closer at your code and a little trial and error I 
came up with the same solution...


There is documentation available: Customization of WeeWX using the 
weewx-skyfield-almanac extension 
<https://github.com/roe-dl/weewx-skyfield-almanac?tab=readme-ov-file#customization-of-weewx-using-this-extension>.
 
It reads at the beginning:

$almanac(almanac_time=time,            ## Unix epoch time
         lat=latitude, lon=longitude,  ## degrees
         altitude=altitude,            ## meters
         pressure=pressure,            ## mbars
         horizon=horizon,              ## degrees
         temperature=temperature_C     ## degrees C
       ).heavenly_body(use_center=[01]).attribute

So replace heavenly_body by the name of the body you want (like moon), and 
attribute 
by the appropriate attribute (like next_rising). Which bodies and 
attributes are avaiable, you find there, too.

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/7008b50c-cac8-406d-9960-fe3614f010bdn%40googlegroups.com.

Reply via email to