New extension sunset/rise times

Continuing the discussion from About the #Extensions category:
My extension on Calculating Sunrise /Sunset times for geographic location.
mmh.edu.ng.ext.SunriSetTimes.aix (7.5 KB)
Below is the block on how to use it:


Below is the screenshot:

Future release will be an astronomy related extension…
Special thanks to all thunks members and other open source members for guiding me through the setup especially evans…

17 Likes

Hashami great extention :+1: . Please add Dawn , Solar noon and Dusk

3 Likes

Okey, I will add later today

1 Like

Nice Extension, but you should take a look at your package name.

Okey I will look through… Thanks

1 Like

You should use something like com.marzukalhashimi.SunriSetTimes

Thanks so much… I will correct it in the next update

1 Like

I found out it’s giving me errors while on emulator… How will I solve this problem…?

Could you show me the error, please?

Restarting the companion solve the isuues…Thanks

2 Likes

How do you get time zone from a phone (what component do I need to use?)

use the clock component
How to get a date in format YYYY-MM-DD
For all possible patterns, see here.
Try pattern Z

Taifun

3 Likes

great extension, but unfortunately the sunset it’s not working with negative values in time zone

Can you please fix it?
Thank you!

2 Likes

Im Waiting :slight_smile:
what about that new release?
sun or moon location in the sky?
Thanks