×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

ZWO Drivers and Rasperry PI 4 for ALL SKY Getting started questions

  • Posts: 9
  • Thank you received: 1
Thank You Chirs :)

I will try that with a fresh install of Raspian.
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55161

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
I have been using this ready made package for my allsky camera for the past three and some years: github.com/thomasjacquin/allsky

It has both day and night time capturing with different parameters and can generate timelapse, star trails image and keogram every morning and upload them to my server.
The following user(s) said Thank You: Jose Corazon, Brian
3 years 10 months ago #55174

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Thanks Jpaana,

With that do I still install Astro PI3 scripts?
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
Last edit: 3 years 10 months ago by Brian.
3 years 10 months ago #55210

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
Not for this, this is a completely standalone project, you should have standard Raspbian buster installation and just run the install.sh script which installs some dependencies, compiles and installs the software and makes it run automatically on boot. There is also a script in gui/install.sh to install the web gui that makes it easier to configure and shows the live view and archives.
The following user(s) said Thank You: Brian
3 years 10 months ago #55215

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Oh Cool, I checked it out and that is exactly what I want to do. I see the cameras tested, now I plan on running a new/used ZWO either the 120mm or 224mc, but also may pop in my 385mc at least to test it out and get it working. Also I just did a clean install of Raspian from there download page. Got to check if it is buster. I am also using a 64gb card

With that said what would be the best camera for this application. My budget is around $250 . As I will be using my other ZWO cams for imaging while that is running.

Thanks Again :)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55217

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
The standard Raspbian currently is buster, older ones don't support Pi 4 so you most probably have it so it's good to go. I've used 120MM-S and 178MC, hard to say which one is better. Mono camera is more sensitive, so it's easier to spot clouds, which is what I mostly use it for as it's monitoring my remote observatory. Color camera has its own charm as the images look nicer. Also depends on the lens you are going to use. Currently I have the mono camera installed with a 180 degree fish-eye. The 120MM-S, or MC-S if you want color, both fit in your budget, probably with a wider lens too. The standard lens for 120 is quite wide, about 150 degrees, but doesn't quite cover horizon at my site so I got this one for it www.aliexpress.com/item/32911136144.html Stock lens for 178 is a bit wider, but doesn't give quite 180 degrees view either.
The following user(s) said Thank You: Brian
3 years 10 months ago #55223

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Thanks again,

Right now I am at teh part that says "Use of allsky on non-ARM platforms is unsupported (there isn't yet an easy, portable installer) but should be possible. Have a look at install.sh to see what needs to be done. Additionally, you'll need to download the SDK.

Now, run the install script:" Do I need the SDK from ZWO? This was where I ran into a problem when trying to connect before or does teh script by Thomas do this for you?

:)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55224

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
ZWO camera SDK is included in the allsky repo, so you don't need to download it separately, but only for ARM platforms which is why the warning is there. It should compile quite easily to other platforms too, but requires the ZWO SDK libraries and some modifications to the Makefile. Testing has been only done on Raspbian so anything else is wild west territory :)
The following user(s) said Thank You: Brian
3 years 10 months ago #55267

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Thx Jpaana, I think I finally got it working. Was able to view camera in GUI mode through IP address. Only issue Im having when I tried to use t terminal and go to the config.sh to change settings,, no settings would show. I was trying set the upload settings to true for everything. I ended up just doing a reinstall so there set now. But I did read that the directory would change when you put it in GUI. But I have no trouble with the settings in GUI mode

Also the next thing I am doing is putting a fan on my factory pi case, it was running at 85c lol. Then read an article on how the fan helps a lot.

Now the next thing I want to do is to hook it up to my website. So trying to learn that. :) I'm away for biz till Wednesday andby then hopefully all my parts arrived :)

Thanks again :)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55270

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
Good to hear you got it working. Yes, the settings are a bit spread around due to the way the system works. There is a main capture program (naturally called "capture" :) what is started by allsky.sh when the service is started. Capture then runs various shell scrips in /home/pi/allsky/scripts directory after each capture, at end of night and so on.

Main configuration file with paths to the others and options for shell scripts are in /home/pi/allsky/config.sh which you found. Camera settings and other parameters to the main capture program are in /etc/raspap/settings.json by default which is what the web gui modifies, the path is set in config.sh as well. Third file is /home/pi/allsky/scripts/ftp-settings.sh with settings for user name, password and so on used for uploading the files to remote server.

Unfortunately the installation location is hard coded in quite a few of the shell scripts so it's easiest to keep the install directory as /home/pi/allsky. Many of the options also require restarting the allsky service (sudo systemctl restart allsky or reboot of the Pi) to take effect as it only reads the configuration files once. So in case some change in options doesn't seem to have effect, reboot first before wondering about it more :)
The following user(s) said Thank You: Brian
3 years 10 months ago #55323

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Thanks for the clarification on that. I will keep the install directory /home/pi/allsky. Unfortunately when I was installing the case fan I just got and trying to put the board back in the bottom of the case I left the sd micro card in and accidentally snapped it when I pushed down so I got to wait till tomorrow until the new one arrives. Thank God there not too expensive.

Thanks again :)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55358

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Hi Japaana,

I just got the new sd card yesterday and installed everything again. Everything from the hardware end seems to be working. It is taking images and such. The one problem I am having now is setting it up to my website and getting it to connect to FTP.

I enabled "true" to everything and all the stuff that should make it work. I also downloaded the website package to my site. Also to note, I am not using the GUI interface since I had trouble before with it. As far as putting files on my site. I created a new folder under Public HTML and called it "allsky" and put Thomas's files there. I did not do anything on the website end to FTP. Also I just installed a fresh Wordpress with SSL.

So below is what I am seeing in the terminal. The only thing I edited was my login and username below.

Thanks again for your help :)


# FTP/SFTP settings
PROTOCOL='ftp'
USER='myusername'
PASSWORD='mypassword!'
HOST='astrometeor.com'
IMGDIR='/allsky/'
MP4DIR='/allsky/videos/'
KEOGRAM_DIR='/allsky/keograms/'
STARTRAILS_DIR='/allsky/startrails/'

llsky.service - All Sky Camera
Loaded: loaded (/lib/systemd/system/allsky.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-06-14 01:31:44 EDT; 13h ago
Main PID: 742 (allsky.sh)
Tasks: 6 (limit: 4915)
Memory: 290.1M
CGroup: /system.slice/allsky.service
├─742 /bin/bash /home/pi/allsky/allsky.sh
└─879 ./capture -angle -6 -autoexposure 1 -autogain 0 -bin 1 -brightness 50 -coolerEnabled 0 -darkframe 0 -daytimeDelay 5000 -delay 10 -exposure 10000 -filename image.jpg -flip 0 -fontcolor 255 255 255 -fontline 1 -fontname 0 -

Jun 14 15:11:59 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:11:59 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:18 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:19 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:40 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:41 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:58 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:59 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:13:18 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:13:19 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
~
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 10 months ago #55580

Please Log in or Create an account to join the conversation.

Time to create page: 0.671 seconds