AllskyTeam / allsky-website

Web interface displaying an image from an allsky camera.
54 stars 42 forks source link

Trying to enable the do not display image during the day. #23

Closed Dentonknifeworks closed 4 years ago

Dentonknifeworks commented 4 years ago

What do I need to be changed and or correct for turning off the day time image at the web site. I would like it to only show evening images and during the day the count down to dark.

I see in controller.js that it has the code to do this and data.json has a option set to true/false but not been able to get it to work so I am thinking I am missing a setting. Thanks Brad site is www.dentonknifeworks.com/allsky

thomasjacquin commented 4 years ago

Hi Brad,

To achieve that, you need to:

Then you should start seeing a data.json file at the root of your website at the end of each night. To force it the first time, just call scripts/postData.sh

Dentonknifeworks commented 4 years ago

Thanks Worked like as it was intended. Looks like I had to also set the upload image during day to "0"

Brad.