Putting Allsky camera on map with other cameras #1003
Replies: 40 comments 59 replies
-
Please add me to this list
Michael A. Serowik
…Sent from my iPhone
On Feb 6, 2022, at 1:51 PM, EricClaeys ***@***.***> wrote:
On the main Allsky GitHub page the README.md file has a map of the location of other Allsky cameras.
As of early February, 2022 we are working on an easy way to allow you to add your own camera to the map. This will probably be done via a new setting in Allsky that will add your information and keep it up to date on a monthly basis. The map will automatically delete entries that have not been updated in a month or two.
We will need people to test this - if you would like to help, please reply to this Discussions topic. You do not need to enter any information at this time.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
@EricClaeys |
Beta Was this translation helpful? Give feedback.
-
Love to be a Beta tester |
Beta Was this translation helpful? Give feedback.
-
I would be glad to help out. |
Beta Was this translation helpful? Give feedback.
-
When updating the map pins, I'd like to suggest they link to the persons web so others could simply click to see their sky conditions. A user when providing their data for the map would provide the web address. |
Beta Was this translation helpful? Give feedback.
-
Please let me add to my comment that I'd be more than glad to help out with the testing. The camera I am building is for the Oil Region Astronomical Society, and would love to add their pin to the collection. |
Beta Was this translation helpful? Give feedback.
-
@astrodan02 The map on the main GitHub page is confusing. It shouldn't be a link to anything. If you click on the word "map" above it, it'll take you to the actual map. Clicking over an icon displays a pop-up with info and a picture; clicking on the picture takes you to their allsky site. |
Beta Was this translation helpful? Give feedback.
-
Thank you Eric, that works great. I agree, the map confuses the issue and causes users to overlook the MAP link. Even though it shows as a link, I never considered it with the map being there. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Ready to help ! :-) |
Beta Was this translation helpful? Give feedback.
-
Add me to the list. I have a map running on my website using the Leaflet javascript app and a json file to post user locations, images and links similar to what you are looking for perhaps? Happy to help (https://usradioguy.com/ground-station-map/) |
Beta Was this translation helpful? Give feedback.
-
Folks, thanks for volunteering. I haven't forgotten about you - just haven't had a chance to work on this yet. |
Beta Was this translation helpful? Give feedback.
-
Hi there, I added some code to enable the automatic posting of cameras on the map. If you guys would like to beta test the new feature before I document it publicly in the README, that would be awesome. There are a few new options at the bottom of the settings page that need to be filled. Your details on the map will get updated at the end of every other day (which means your camera may not show up on the map right away. Give it a couple days). Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello @thomasjacquin |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks a lot, I'll try that asap. |
Beta Was this translation helpful? Give feedback.
-
Thomas, All seems to work now,, thanks again, |
Beta Was this translation helpful? Give feedback.
-
Eric,
I tried 2 already (max 5 tries per day) ;)
But this link, works, but does not end up on the mappage
http://allskycambelgium.net/image.jpg
Best regards
Luke
Op wo 23 mrt. 2022 om 23:06 schreef EricClaeys ***@***.***>:
… @ON2ON-HAM <https://github.com/ON2ON-HAM>
It looks like your Image URL field in the WebUI is incorrect. When I
click on your pin on the map, it doesn't display the image because there
were too many redirects.
You currently have https://allskycambelgium.net/image.jpg but if you look
in /var/www/html/allsky/config.js, you'll see that imageName is
/current/tmp/image.jpg, so your Image URL should be
https://allskycambelgium.net/current/tmp/image.jpg.
Let me know how that works.
—
Reply to this email directly, view it on GitHub
<#1003 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGVCHYRXZE4X46IOGDPOGCLVBOIUVANCNFSM5NVVTI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just did an update,
The link, allskycambelgium.net works fine here, Firefox and Chrome tested
Op vr 25 mrt. 2022 om 08:56 schreef EricClaeys ***@***.***>:
… @maserowik <https://github.com/maserowik> Mike, your *Website URL* and *Image
URL* need to start with http:// or https://. Without them the map page
looks for your files on the map server.
—
Reply to this email directly, view it on GitHub
<#1003 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGVCHYVBFGIZVOXQR5GKSJ3VBVWSDANCNFSM5NVVTI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Very strange, I also tested with some friends, (other providers) and they
all could get to my page, except like stated above, the small image is not
yet showing up.
Just did a try out again, and still works fine, using a vpn, to get out of
my own providers limitation.
Op vr 25 mrt. 2022 om 09:19 schreef Steffen ***@***.***>:
… @ON2ON-HAM <https://github.com/ON2ON-HAM>
Hmmm... I still can't see your page - same messages from Chrome and
Firefox.
Browser cache was deleted in each case.
—
Reply to this email directly, view it on GitHub
<#1003 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGVCHYRV4BCSEYRIHPAPGJTVBVZJHANCNFSM5NVVTI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@thomasjacquin, @AndreasLMeg, @linuxkidd We could do something similar. Red pins for "no image", green for RPiHQ camera, blue for ZWO, and different colors for different Pi versions. Once we move to one config file with different versions for different cameras, we can standardize some of the fields like camera name and Pi version so it's easier to parse. But we could parse now and be pretty accurate. I believe we can use smaller pins, which would help when there are a lot of them. Once we figure out how to handle Allsky versions (e.g., what does a version mean when it's possible to update part of the package? What does version 0.8.3.3 apply to? etc.), I'd really like postToMap.sh to send the version and then have it available to developers. Actually, thinking about it, I can get the capture* version now. Thomas, I'll try sending it in an @thomasjacquin, if the map page used ajax to grab an image only when a user clicked on a pin, the page would load super fast since it wouldn't grab any images initially. There would be a slight delay when a user clicked on a pin while the picture is loaded, unless someone already clicked on that pin recently (which realistically probably won't happen very often - I assume the page doesn't get hundreds of hits a day?). I also assume a single user doesn't click on all the pins, so getting all of them "in case" someone clicked on its pin wouldn't be needed. Interesting idea about having each allsky website have a thumbnail. It would be pretty easy to implement. One of my to-do items is to optionally create keogram, startrails and especially timelapse thumbnails and upload to websites, since most commercial websites don't support the php "exec()" function so can't create timelapse thumbnails. Creating them on the Pi and uploading should be easy and neatly solves that problem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@lumdiniz Welcome! |
Beta Was this translation helpful? Give feedback.
-
With the current allsky version, more and more camera stickers are appearing on the map. Unfortunately, most are in the wrong locations and/or not linked to any image. Would it be possible to make the creation of a sticker dependent on the settings? I'm thinking of checking "Website URL" and/or "Image URL". If nothing is specified there, no sticker should be placed on the map. Steffen |
Beta Was this translation helpful? Give feedback.
-
@eric While the one for Oil Region Astronomical Society in PA has a link
to the current picture, I goofed up and can't seem to get the directory
locations correct. Can you
please post a generic ftp config file for anyone installing and serving
with just the Pi? Same thing with adding the image, though, I am sure its
the same problem.
Thanks in advance,
Dan
…On Wed, Apr 13, 2022 at 4:26 AM EricClaeys ***@***.***> wrote:
@jimjackii <https://github.com/jimjackii> A lot of people's Pi's are not
available on the Internet so they don't have a URL, but we still wanted to
show where they are.
I do agree that the usefulness of the map is decreased by so many pins
without an image. I suggested to Thomas that it would be nice to have
different color pins for people with and without an image.
—
Reply to this email directly, view it on GitHub
<#1003 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI4GPCLKUGYAOHPRAJP4GDVE2AK7ANCNFSM5NVVTI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@EricClaeys Just a remark for my camera which is showing its position at N 44 37 and E 0 16 instead of being at but i must says that for the use of it the East was set at 0 16, then i changed it for 0 28, but it never shows correctly now |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys but if i look on the Pi Zero which is reading the files in the Pi4 through the Samba share, i see the good coordinates when i edit the config.js file, but the display is still with th old value unclear... they should display the same, i did reboot the Pi Zero but it stays with old values |
Beta Was this translation helpful? Give feedback.
-
@bemo47 The map has |
Beta Was this translation helpful? Give feedback.
-
Thanks @EricClaeys and @ON2ON-HAM but i don't how i can explain more .... But maybe it is because my webserver is difficult to reach from internet ? How is the map updated ? Do we need to access it from internet at least once to get the map updated ? |
Beta Was this translation helpful? Give feedback.
-
Press F5 and update the mapscreen in your browser.
…On Fri, May 13, 2022, 11:08 bemo47 ***@***.***> wrote:
@EricClaeys <https://github.com/EricClaeys>
Here the output of these commands
***@***.***:~ $ cd ~/allsky/scripts
***@***.***:~/allsky/scripts $ ./postToMap.sh --debug
postToMap.sh: Week day doesn't match Machine ID ending - don't upload.
***@***.***:~/allsky/scripts $
The last update of longitude was yesterday morning, maybe we should wait a
little bit more ?
—
Reply to this email directly, view it on GitHub
<#1003 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGVCHYWNF6VH3LKBGKQCKRDVJYLZHANCNFSM5NVVTI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@EricClaeys result of your command here below, and i confirm that now the location is ok, and also i can change values and they are updated immediately. why it was not working before ? anyway it works now ! Thks again a lot ! pi@localhost:~/allsky/scripts $ ./postToMap.sh --force --debug
postToMap.sh: Uploading map data.
Executing:
curl --silent -i -H 'Accept: application/json' -H 'Content-Type:application/json' --data '{
"location": "Gonthiers",
"owner": "BM",
"latitude": "44.62N",
"longitude": "0.48E",
"website_url": "http://gonthiers.freeboxos.fr/allsky/",
"image_url": "http://fgonthiers.freeboxos.fr/allsky/image.jpg",
"camera": "ZWO ASI224MC",
"lens": "Fisheye 1.55mm",
"computer": "Rapsberry PI4",
"machine_id": "5ba875610fe64d169297ad26d4e3c6ee"
}' 'https://www.thomasjacquin.com/allsky-map/postToMap.php'
Returned:
HTTP/2 200
date: Fri, 13 May 2022 11:29:31 GMT
server: Apache
x-powered-by: PHP/8.0.12
content-type: text/html; charset=UTF-8
via: 1.1 varnish (Varnish/6.3), 1.1 varnish (Varnish/6.3)
vary: Accept-Encoding
x-cache-hits: 0
x-cache: MISS
accept-ranges: bytes
content-length: 8
age: 0
UPDATED.
postToMap.sh: Map data UPDATED.
pi@localhost:~/allsky/scripts $ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
On the main Allsky GitHub page the README.md file has a map of the location of other Allsky cameras.
As of early February, 2022 we are working on an easy way to allow you to add your own camera to the map. This will probably be done via a new setting in Allsky that will add your information and keep it up to date on a monthly basis. The map will automatically delete entries that have not been updated in a month or two.
We will need people to test this - if you would like to help, please reply to this Discussions topic. You do not need to enter any information at this time.
Beta Was this translation helpful? Give feedback.
All reactions