June-10th-2021, 01:40 PM
Dear Armin,
I can shut down netPI by executing the following 2 commands.
I am now planning to execute them from a Python program which is triggered from Node-RED dashboard.
http --verify=no --session=logged-in --json POST "https://<IP address>/login" username=<username> password=<password>
http --verify=no --session=logged-in --json POST "https://<IP address>/system" argument=shutdown
But, the following response will come.
'System will shutdown after 10 seconds'
Just in case, I would like to ask you that: is it possible to shutdown netPI immediately without 10 seconds delay?
Thank you very much for your information.
Best regards,
I can shut down netPI by executing the following 2 commands.
I am now planning to execute them from a Python program which is triggered from Node-RED dashboard.
http --verify=no --session=logged-in --json POST "https://<IP address>/login" username=<username> password=<password>
http --verify=no --session=logged-in --json POST "https://<IP address>/system" argument=shutdown
But, the following response will come.
'System will shutdown after 10 seconds'
Just in case, I would like to ask you that: is it possible to shutdown netPI immediately without 10 seconds delay?
Thank you very much for your information.
Best regards,