author
16CommentsJoined January 10th, 2018

Tell us about yourself!

Complete Your Profile
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera8 weeks ago
    Wireless All Sky Camera

    Hi Thomas,I don't think it is an issue saving to the SD card, but perhaps larger files become a problem for the upload process ...Things I tried last night:1) Re-installed Allsky from scratch (renamed allsky directory first). Did not install GUI. Result: no change - still "stacking" the date/time on a "frozen" image.2) Tried increasing delay between images - 15sec exposure with 1 minute delay in-between. Result: No change.3) Turn off image upload (set "UPLOAD_IMG=false" in config.sh). Result: This actually seemed to work! Changed it about midnight and it ran successfully until dawn around 4am (one 15sec image per minute).Today I was going to set the images for shorter delay in-between but unfortunately I just now seem to have lost connection with the unit....

    see more »

    Hi Thomas,I don't think it is an issue saving to the SD card, but perhaps larger files become a problem for the upload process ...Things I tried last night:1) Re-installed Allsky from scratch (renamed allsky directory first). Did not install GUI. Result: no change - still "stacking" the date/time on a "frozen" image.2) Tried increasing delay between images - 15sec exposure with 1 minute delay in-between. Result: No change.3) Turn off image upload (set "UPLOAD_IMG=false" in config.sh). Result: This actually seemed to work! Changed it about midnight and it ran successfully until dawn around 4am (one 15sec image per minute).Today I was going to set the images for shorter delay in-between but unfortunately I just now seem to have lost connection with the unit. Not sure if it is a wifi problem, power issue or equipment. May not be able to experiment again until a week from now when I get reunited with the unit.For what it might be worth, earlier last evening when I was still having problems with the image freeze/date/time stacking, I was seeing these messages in the allsky.sh window:=====================Saving...20180621 22:28:012 (100%) 27b/s eta:0s [Waiting for response...] Resizing Uploadingsize.jpg' at 83732 (100%) [Waiting for response...]Saving...20180621 22:28:06MC/' [Connected] s [Waiting for response...]Resizingesize.jpg' at 83732 (0%) [Waiting for response...]for response...] Uploading Saving...20180621 22:28:12MC/' [Connecting...]Resizingesize.jpg' at 83732 (0%) [Waiting for response...]Uploading Saving...20180621 22:28:18 ResizingUploadingSaving...20180621 22:28:248 (0%) [Waiting for response...]Resizing =============It was all the "Waiting for response" messages that prompted me to have a closer look at the lftp and uploading process.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera2 months ago
    Wireless All Sky Camera

    Thanks Thomas. Card is 128GB and is more than half empty. I had similar thoughts about possible resource issues. And I wonder if the camera's relatively larger images (178MC - 6.4MB) is causing issues somehow. Exposures are 20s with essentially no gap in between (default 10ms). Maybe next I'll try adding a gap in between (perhaps a few seconds) to see if it makes a difference.If you thought it was helpful, I could provide you with remote access (via VNC) to the camera/Pi.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera2 months ago
    Wireless All Sky Camera

    Hi Thomas,Yes, used the # sign to comment out (and no evidence that allsky.sh is running on reboot). I checked for entr, capture and lftp processes but none evident before running allsky.sh manually.One example last night: after rebooting and starting manually (and making sure per above that no entr/capture/lftp was running beforehand), and then disconnecting VNC session.. Worked fine for about 15 minutes, then starts "stacking" the date/time.Here is example video from last night (example starts at 11:50pm):Also I am wondering:1) What exactly is the avahi-daemon: running [allsky.local] ?avahi 346 0.0 0.2 6532 2764 ? Ss 18:54 0:10 avahi-daemon: running [allsky.local]2) How can I turn off or uninstall the gui interface?ThanksDaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera2 months ago
    Wireless All Sky Camera

    Hi Thomas,Tried your suggestions (commented out the allsky line in autostart, rebooted Pi, started allsky manually in terminal window) but it did not go that well. After a couple attempts at starting allsky manually (stop and restart script), it seemed to be working but after about 1/2hour it started doing the "stacking" (of date/time) again. Tried rebooting a couple of times but no change.Each time I reboot, it will take a fresh picture for first capture but every subsequent capture just results in a duplicate of the first, but with the new date/time overwritten. I don't think it is "stacking" the whole picture because there is no sign of star trailing.Also I notice a couple of times the Pi seemed to reboot itself (ie. lost VNC connectivity and when reconnected, an...

    see more »

    Hi Thomas,Tried your suggestions (commented out the allsky line in autostart, rebooted Pi, started allsky manually in terminal window) but it did not go that well. After a couple attempts at starting allsky manually (stop and restart script), it seemed to be working but after about 1/2hour it started doing the "stacking" (of date/time) again. Tried rebooting a couple of times but no change.Each time I reboot, it will take a fresh picture for first capture but every subsequent capture just results in a duplicate of the first, but with the new date/time overwritten. I don't think it is "stacking" the whole picture because there is no sign of star trailing.Also I notice a couple of times the Pi seemed to reboot itself (ie. lost VNC connectivity and when reconnected, any open programs/windows including the allsky script were closed).I'll keep playing with it. Might try re-installing the Allsky code next. Open to any further suggestions you might have.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera2 months ago
    Wireless All Sky Camera

    Having a problem with image capture. Starting a couple days ago, the camera is not updating the image. It seems to be going through the motions of taking a picture, saving file, uploading image to my ftp site. But each image is just a repeat of the last, except the date/time stamp is added (overwriting the last, which becomes a jumble after a while).I have tried rebooting, checking settings etc but no effect. The only thing I had been messing with at the time (that I can recall!) was the gain setting.Appreciate any ideas short of power cycling - camera is currently a 2 hour drive away in a dark sky park :=).I ran into this once before with my 290MM camera - I think I ended up formatting the Pi3 and installing everything from scratch.Attached is an example (first image and 4th image afte...

    see more »

    Having a problem with image capture. Starting a couple days ago, the camera is not updating the image. It seems to be going through the motions of taking a picture, saving file, uploading image to my ftp site. But each image is just a repeat of the last, except the date/time stamp is added (overwriting the last, which becomes a jumble after a while).I have tried rebooting, checking settings etc but no effect. The only thing I had been messing with at the time (that I can recall!) was the gain setting.Appreciate any ideas short of power cycling - camera is currently a 2 hour drive away in a dark sky park :=).I ran into this once before with my 290MM camera - I think I ended up formatting the Pi3 and installing everything from scratch.Attached is an example (first image and 4th image after rebooting, plus close-up of data/time stamp).DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera2 months ago
    Wireless All Sky Camera

    I have seen discussion elsewhere regarding ASI (and other CMOS) camera gain and offset. I don't see anywhere in the all-sky camera code to set the 'offset'. Does this mean that an "appropriate default" is being used automatically (perhaps being set by the API)? Or is offset always defaulting to 0?As I understand it, there are ideal (or at least recommended) offset values for given gain values.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera4 months ago
    Wireless All Sky Camera

    Hmmm, Thomas's answer from yesterday seems to have disappeared? Anyway, you were right on the money Thomas. Images are the full 3096x2080 (~1.8M files). And the memory does drop from around 700MB to about 30MB before error (usually gets to about 40+ frames). Interestingly, when I watch the memory use on my 290MM based unit (smaller sensor/file sizes), the free memory also drops from 600-700MB down to 20-30MB (and stays in the range) , but it does not error out.I found these references:https://www.raspberrypi.org/forums/viewtopic.php?t...https://superuser.com/questions/1230666/why-do-i-r...So I tried increasing the CONF_SWAPSIZE from 100 to 1000 (swap space on SD Card) and it worked. However, the timelapse creation takes much longer to complete (3-4 hours). Not a problem for me as my P...

    see more »

    Hmmm, Thomas's answer from yesterday seems to have disappeared? Anyway, you were right on the money Thomas. Images are the full 3096x2080 (~1.8M files). And the memory does drop from around 700MB to about 30MB before error (usually gets to about 40+ frames). Interestingly, when I watch the memory use on my 290MM based unit (smaller sensor/file sizes), the free memory also drops from 600-700MB down to 20-30MB (and stays in the range) , but it does not error out.I found these references:https://www.raspberrypi.org/forums/viewtopic.php?t...https://superuser.com/questions/1230666/why-do-i-r...So I tried increasing the CONF_SWAPSIZE from 100 to 1000 (swap space on SD Card) and it worked. However, the timelapse creation takes much longer to complete (3-4 hours). Not a problem for me as my Pi has nothing else to do during daylight hours!However, downsizing the images before timelapse processing might be a more elegant solution (as you suggested). Any suggestions on how to downsize images on-the-fly before being fed into avconv? Perhaps an imagemagik command?DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera4 months ago
    Wireless All Sky Camera

    Setting up a second (colour) unit based on 178MC. Everything seems to be working fine except the timelapse creation is not working (creates 0 length mp4 file). If I run avconv command manually, I get this error:...frame= 42 fps=1.8 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 43 fps=1.8 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 44 fps=1.7 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= x264 [error]: malloc of size 20515824 failedVideo encoding failed[libx264 @ 0xceda40] final ratefactor: 30.79Conversion failed!This is the manual command I am using:pi@allsky:~/allsky $ avconv -y -f image2 -r 25 -i images/20180410/%04d.jpg -vcodec libx264 -b:v 2000k -pix_fmt yuv420p images/20180410/allskytest-20180410.mp4individual images di...

    see more »

    Setting up a second (colour) unit based on 178MC. Everything seems to be working fine except the timelapse creation is not working (creates 0 length mp4 file). If I run avconv command manually, I get this error:...frame= 42 fps=1.8 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 43 fps=1.8 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 44 fps=1.7 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= x264 [error]: malloc of size 20515824 failedVideo encoding failed[libx264 @ 0xceda40] final ratefactor: 30.79Conversion failed!This is the manual command I am using:pi@allsky:~/allsky $ avconv -y -f image2 -r 25 -i images/20180410/%04d.jpg -vcodec libx264 -b:v 2000k -pix_fmt yuv420p images/20180410/allskytest-20180410.mp4individual images did get numbered sequentially and there are no 0-size files. They are all jpg's.Any ideas?Dave

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Hi Ron,Yes - I too would be interested in seeing results of your efforts to use ImageMagick on-the-fly.And your efforts to install a heater as I'm also having challenges with dew/frost.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Update - looks like this was an issue with the dark subtraction process. The dark.png file created is mostly white! Which explains things ... :=) Unit was covered while taking the dark so not sure why this happened.

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Hi Thomas,This is first clear night since setting up GUI and re-assembling the unit. For some reason the images are all coming out dark (faint signs of signal but looks "unstretched"). However, the live view on the Pi desktop (nodisplay=0, window with title "Video") looks fine. I've tried changing the Image Type and multiple re-boots but no change). Suggestions?Thanks,DaveNL

    View Instructable »
  • dnube made the instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Hi Thomas,As mentioned previously, I had been looking for something like this on a practical basis. And combining the astronomy and computer/Raspberry Pi aspects of this build made it a hoot (1st time using a Pi). I have successfully built one using an ASI270MM. Video's seem to be running in the 70MB size range so far (currently ~12 hours of darkness).Have moderately light polluted skies (approx 19.5 mpsas) so will need to experiment more with exp/gain settings (next new moon cycle).Here is sample video:https://youtu.be/CxU0KsJNIGcand focusing process:https://youtu.be/EDKKoHlIaxEBiggest challenges were:- finding a right angle usb 3.0 cable- getting focus (I've become spoiled by bahtinov mask which I don't think can work for this size/type lens)A couple questions:- I wonder how hot this ...

    see more »

    Hi Thomas,As mentioned previously, I had been looking for something like this on a practical basis. And combining the astronomy and computer/Raspberry Pi aspects of this build made it a hoot (1st time using a Pi). I have successfully built one using an ASI270MM. Video's seem to be running in the 70MB size range so far (currently ~12 hours of darkness).Have moderately light polluted skies (approx 19.5 mpsas) so will need to experiment more with exp/gain settings (next new moon cycle).Here is sample video:https://youtu.be/CxU0KsJNIGcand focusing process:https://youtu.be/EDKKoHlIaxEBiggest challenges were:- finding a right angle usb 3.0 cable- getting focus (I've become spoiled by bahtinov mask which I don't think can work for this size/type lens)A couple questions:- I wonder how hot this will get in the summer where it is an enclosed/sealed unit? Perhaps painting it white would help.- I wonder if temperature changes (esp seasonal) will impact the focus point?Next Steps for me:- Install at location outside home network (VNC hosting and ftp/firewall config will need to be sorted)- Deal with storage space issues for unattended operation (perhaps above-mentioned auto deleting of files - maybe a cron job will work for this ...)- Build a couple more units (one for meteor/transient recording, one to experiment for "pretty pictures" if I can find a suitable dark sky location)Suggestions for advancements:- automatically delete older files/folders (on Pi) based on date (ie. older than one week etc.). Would prevent memory issues when running unattended for longer periods.- very interested in the meteor tracking idea - not sure how this would work with respect to image capture, I guess would aim for shorter exp time (and higher gain). Then perhaps identify range of frames containing the transient to produce a separate movie?- include other camera makes, such as QHY (SDK info here: http://www.qhyccd.com/SDK.html). I have a spare QHY5Lii and willing to be a tester :=)DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Thanks for the quick reply. This worked except I had to replace php7-cgi with php7.0-cgiAnd I probably could have used php7.1-cgi as 7.1 is now released (and maybe 7.2?).By the way, this project has been a real blast. Thanks again for posting.DaveNL

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera6 months ago
    Wireless All Sky Camera

    Hi Thomas,I've got this up and running in cli mode, but just tried installing the gui from the github page instructions and there was an error along the way about php5 (Package 'php5-cgi' has no installation candidate).I am using Stretch and I understand that Stretch has now moved to php7. Any suggestions?

    View Instructable »
  • dnube commented on ThomasJ1's instructable Wireless All Sky Camera7 months ago