Sun (and Moon) add-on #2112
Replies: 10 comments 26 replies
-
Interesting idea. What is it written in? The next release of Allsky has some features that may allow you to develop this as an addon. Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Reinstalling ig going a bit messy, but looks that it's progressing fine. |
Beta Was this translation helpful? Give feedback.
-
@ea1ii Would you also please try |
Beta Was this translation helpful? Give feedback.
-
Additional issue |
Beta Was this translation helpful? Give feedback.
-
@ea1ii I just posted an update to scripts/postData.sh that (I believe) fixes the problem. It works on my server where IMAGE_DIR="", and also when IMAGE_DIR="allsky". Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
@ea1ii Try the attached scripts/upload.sh file to see if it fixes you "quote PWD" issue. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Carlos,
If you’re running lftp in interactive mode, you are correct that the “echo” and quotes should NOT be there. The upload.sh script creates a file (tmp/lftp_cmds/SaveImage.txt) using “echo” to output to the file. It then has lftp read that file:
~~~
lftp -f /home/pi/allsky/tmp/lftp_cmds/SaveImage.txt
~~~
If you look at the file you’ll see exactly what lftp tried to do.
Eric
…--------------------------
From: ea1ii ***@***.***>
Sent: Wednesday, January 18, 2023 5:12 AM
To: thomasjacquin/allsky ***@***.***>
Cc: EricClaeys ***@***.***>; Comment ***@***.***>
Subject: Re: [thomasjacquin/allsky] Sun (and Moon) add-on (Discussion #2112)
True. That works. But unless I'm doing something wrong the open... must be not 'echoed'.
<https://user-images.githubusercontent.com/6370469/213156969-9b17871f-69fa-44d8-9c56-3f258701e8c1.png>
vs
<https://user-images.githubusercontent.com/6370469/213156664-244394c1-513e-4faf-a2ba-45b58c99eb1f.png>
|
Beta Was this translation helpful? Give feedback.
-
Hi Alex, I do have a v0.1 running version of a module with the light graph. Check it out in my cam. Still struggling with github to create a repository (visual code in desktop , editing via ssh in the Pi. https://cgastrophoto.co.uk/CG_allsky/index.php Kind regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is currently work in progress.

A lot of debugging still to be done (basically checking that it works properly for different times of the year and latitudes)
Basic features:
At the bottom: darkness graph for 24 hrs. (user can choose -12hrs to +12hrs or 0 to +24hrs). Size, location, transparency and colors can be customized. Shows suns transit and anti-transit as well as sunrise and sunset (astronomical, nautical, civil, true)
At the top: Sun (white) and Moon (blue-ish) elevations.
Not yet decided weather to merge both graphs into a single one.
Any suggestions are welcome
Beta Was this translation helpful? Give feedback.
All reactions