Welcome, Guest
Username: Password: Remember me
14 Nov 2018
Glad to announce of release of INDI Library v1.7.5 on 2018-11-14. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1
  • 2

TOPIC: System shutdown check box in the scheduler

Re:System shutdown check box in the scheduler 5 months 2 weeks ago #26283

  • Gilles
  • Gilles's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 126
  • Karma: 2
  • Thank you received: 32

TallFurryMan wrote: Ah yes, agreed. But in that case, I assume the setup would be different, and include an all-in-one remote server that itself provides this capability out-of-the box, and documentation to use it.

Should we default the scheduler to use example startup and shutdown scripts, with commented out features showing how to implement things in various situations?

-Eric

We have a growing community here in France, around Tinkerboard, with a lot of documentation for beginners.
There is a web server on it to set and update date & time.
@patdut added a shutdown and reboot button, wich is very convenient.
But there might be some other places to do that.

Btw : i've been playing around with watchdog drivet, i must say i don't understand the xay it should be used...
The following user(s) said Thank You: TallFurryMan

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

Re:System shutdown check box in the scheduler 5 months 2 weeks ago #26285

@Gilles Would you care adding links to the documentation providing information on how to shutdown or reboot the Tinkerboard, per @patdut implementation?

-Eric

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

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

Re:System shutdown check box in the scheduler 5 months 2 weeks ago #26287

  • Gilles
  • Gilles's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 126
  • Karma: 2
  • Thank you received: 32
I've just asked him to answer

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

System shutdown check box in the scheduler 5 months 2 weeks ago #26289

  • patdut
  • patdut's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 315
  • Karma: 1
  • Thank you received: 38
Hello all,
To answer your question @TallFurryMan I just created a little nginx server on the tinkerboard that listen on the 80 port.
I set 3 scripts in the www folder of the user, one is a js that gets the date and time from the client side to set the date and time of the remote device and capture actions like shutdown and reboot. This js file call 2 php script that belong to the www-data user who is allowed to do do date, shutdown and reboot actions in a sudoers file.
Thats all.
@Jasem, I wonder if this could be an extension to the Indi Web Manager ?
The following user(s) said Thank You: Gilles, TallFurryMan

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

Last Edit: by patdut.
  • Page:
  • 1
  • 2
Time to create page: 0.323 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica