AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.15k stars 180 forks source link

Troubles since installing gui #51

Closed rogergau closed 5 years ago

rogergau commented 5 years ago

I am having some troubles since installing the gui. I'm quite new to using this (installed a few days ago, then installed gui last night).

If I run "sudo service allsky status" it shows me that the service is running. If I run "sudo service allsky restart" it says: sudo: unable to resolve host allsky

Separately, I am finding that it is only saving images during night time although the DAYTIME="1" option in config.sh is set. For example the last image recorded was this morning at 04:39 (twilight) after which the mp4 was made, and no image was saved after that until 19:45 tonight at which point the 20181223 folder and first image was created. This has me wondering if it is still reading the same ~/allsky/config.sh file after installing the gui?

Thanks, Roger.

thomasjacquin commented 5 years ago

Hi Roger,

The command you typed should work. The error you're getting is not specific to the service, it looks more like a network error.

For the images not saving, it is normal, the camera is only saving images between sunset and sunrise. The DAYTIME=1 setting means that we display it in the liveview part of the GUI and upload it to a web host if you have one.

However, sunset and sunrise are specified in the settings.json file by changing the angle value. It is set to 6 degrees below horizon by default but if you change that to 90, it will capture all night and all day long because the sun will always be below 90 degrees.

Thomas

rogergau commented 5 years ago

Thank you Thomas. I've sorted out the host error on use of sudo, I just assumed because of the reference to "allsky" it was related, but I forgot I had recently renamed the Raspberry Pi its self to "allsky" and that was the cause.

Images last night did not save as the specified filename (saved as a default instead) and the mp4 (which generated as the specified filename) generated with empty content but I have reset to default settings, restarted the pi, and will see how tonight goes.

Regards, Roger.