thomasjacquin / allsky-portal

A simple, responsive web interface to control an allsky camera connected to a Raspberry Pi
GNU General Public License v3.0
34 stars 22 forks source link

Suggestion: switch on/off of daylight saving #6

Closed ChrisFromDE closed 2 years ago

ChrisFromDE commented 5 years ago

Hi Thomas, i would like to set the possibility of switching on/off the daylight saving. I can do so by adding the Code in the daylight.sh, but with so switch this via the gui.

Is it possible?

Regards Christian

thomasjacquin commented 4 years ago

Sorry I missed that message. There is currently no setting for this but it there was one, I think it would be located in config.sh because it's not really a camera setting. Eventually, I would like to bring the config.sh to the GUI (editable text or individual settings, not sure yet). That would make things easier to configure without ussing SSH and the terminal. However I need to clean the code a little in order to do this.

EricClaeys commented 3 years ago

Thomas, did you ever do any work toward merging config.sh and the GUI? If not, I'd be happy to do it.

thomasjacquin commented 3 years ago

@EricClaeys Since I wrote that message, I created the editor tab that lets you modify scripts manually. That was a good first step. However, I think config.sh could be rendered into a better user experience. A lot of the settings are either booleans, numbers or text. It shouldn't be too difficult to create a page for these settings. I just haven't put too much thoughts into it because it touches a lot of other bash scripts and I am not sure what data representation would be best (keeping the sh file vs using a json object). If you want to take a stab at it, please go ahead.

EricClaeys commented 3 years ago

Thomas,

I clearly don’t know what I’m doing with GitHub.

I submitted a Pull Request for a minor change to capture.cpp to check for Carriage Return in addition to Linefeed, but the PR is just sitting there.

My master branch says it is 2 commits behind yours and 27 ahead. I would have thought it would be the same after you merged them a few days ago. Shouldn’t it be?

I I did a PR to allow users to specify the timelapse bitrate, but am not sure if it worked. It also gave the message about ahead and behind. Anyway, it updates config.sh.repro. README.md, and scripts/timelapse.sh.

Also, scripts/copy_notification_image.sh is not executable so people are getting errors. How do we specify that it should be executable? I didn’t see anything in GitHub.

Thanks - Eric

From: Thomas Jacquin @.> Sent: Friday, August 6, 2021 3:12 AM To: thomasjacquin/allsky-portal @.> Cc: EricClaeys @.>; Mention @.> Subject: Re: [thomasjacquin/allsky-portal] Suggestion: switch on/off of daylight saving (#6)

@EricClaeys https://github.com/EricClaeys Since I wrote that message, I created the editor tab that lets you modify scripts manually. That was a good first step. However, I think config.sh could be rendered into a better user experience. A lot of the settings are either booleans, numbers or text. It shouldn't be too difficult to create a page for these settings. I just haven't put too much thoughts into it because it touches a lot of other bash scripts and I am not sure what data representation would be best (keeping the sh file vs using a json object). If you want to take a stab at it, please go ahead.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomasjacquin/allsky-portal/issues/6#issuecomment-894086664 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2PYK5WDFU3WCIOTKC73WDT3OKL7ANCNFSM4IWO52RQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AT2PYKZY5JYIYGDZOVTWQUTT3OKL7A5CNFSM4IWO52R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGVFK4CA.gif

thomasjacquin commented 3 years ago

Hi Eric, Once you've submitted a PR and it's been merged, you should do a git fetch to retrieve the latest changes from the repo then git checkout master to get on the master branch, git pull to pull the most recent changes of that branch.

Then you can start modifying code and submit new PRs. I'll try to fix the script permission. It's probably just a matter of chmod +x and then submit that change. I don't think you can change it on gitHub itself.

EricClaeys commented 3 years ago

Thomas,

Where do I do those commands? From the Pi command prompt? I don’t see any way of doing those from the GitHub web site.

I already modified some files which may be causing problems.

Eric

From: Thomas Jacquin @.> Sent: Monday, August 9, 2021 12:43 AM To: thomasjacquin/allsky-portal @.> Cc: EricClaeys @.>; Mention @.> Subject: Re: [thomasjacquin/allsky-portal] Suggestion: switch on/off of daylight saving (#6)

Hi Eric, Once you've submitted a PR and it's been merged, you should do a git fetch to retrieve the latest changes from the repo then git checkout master to get on the master branch, git pull to pull the most recent changes of that branch.

Then you can start modifying code and submit new PRs. I'll try to fix the script permission. It's probably just a matter of chmod +x and then submit that change. I don't think you can change it on gitHub itself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomasjacquin/allsky-portal/issues/6#issuecomment-894964816 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2PYK6ZYZ2LBZEDQSL7NILT35TFJANCNFSM4IWO52RQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AT2PYK24YGG3UOMG56C6PADT35TFJA5CNFSM4IWO52R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGVMBIUA.gif

thomasjacquin commented 3 years ago

Yes, you type these commands in the terminal from the allsky directory. If you've already made changes, git stash will put them aside. git stash pop will bring them back.

EricClaeys commented 3 years ago

I did those commands but on the "Eric Claeys / allsky" web page I still get the message: "This branch is 28 commits ahead, 3 commits behind thomasjacquin:master." If I click on "Fetch upstream" it says I'm 3 commits behind and there are conflicts that need to be resolved, and I need to do a Pull Request to fetch upstream.

EricClaeys commented 2 years ago

Closing - original question was answered.

bbillp commented 2 years ago

I am of the opinion only a few folks should be making changes to the allsky programs otherwise its going to get very messy and hard for everyday users to solve problems and enjoy the software. Bill Prats

Sent from my iPad

On Sep 23, 2021, at 4:09 PM, EricClaeys @.***> wrote:

 Closing - original question was answered.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

EricClaeys commented 2 years ago

Bill, Right now it's pretty much just Chris and me with Thomas doing all the merges. Chris suggested to one person that they do a PR for a suggestion they have but last I checked they hadn't.

Eric


From: Bill P. @.> Sent: Thursday, September 23, 2021 7:03:58 PM To: thomasjacquin/allsky-portal @.> Cc: EricClaeys @.>; State change @.> Subject: Re: [thomasjacquin/allsky-portal] Suggestion: switch on/off of daylight saving (#6)

I am of the opinion only a few folks should be making changes to the allsky programs otherwise its going to get very messy and hard for everyday users to solve problems and enjoy the software. Bill Prats

Sent from my iPad

On Sep 23, 2021, at 4:09 PM, EricClaeys @.***> wrote:

 Closing - original question was answered.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/thomasjacquin/allsky-portal/issues/6#issuecomment-926248827, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT2PYK32FJENBZJRWFY4NVLUDO565ANCNFSM4IWO52RQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EricClaeys commented 2 years ago

Michael Kidd recently started contributing again.