×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

System shutdown check box in the scheduler

  • Posts: 167
  • Thank you received: 54
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: Eric
5 years 9 months ago #26283

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

  • Posts: 1029
  • Thank you received: 301
@Gilles Would you care adding links to the documentation providing information on how to shutdown or reboot the Tinkerboard, per @patdut implementation?

-Eric
5 years 9 months ago #26285

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

  • Posts: 167
  • Thank you received: 54
I've just asked him to answer
5 years 9 months ago #26287

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

  • Posts: 454
  • Thank you received: 51
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: gehelem, Eric
Last edit: 5 years 9 months ago by Patrick.
5 years 9 months ago #26289

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

Time to create page: 0.248 seconds