New extension sunset/rise times


#1

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…


#2

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


#3

Okey, I will add later today


#4

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


#5

Okey I will look through… Thanks


#6

You should use something like com.marzukalhashimi.SunriSetTimes


#7

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


#8

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


#9

Could you show me the error, please?


#10

Restarting the companion solve the isuues…Thanks


#11

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


#12

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

Taifun


#13

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

Can you please fix it?
Thank you!


#14

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