It is recommended to shut down the MIRAI controller via the button or remotely before disconnecting power from the controller. This ensures integrity & longevity of the controller. For scenariois where you have deeply integrated the MIRAI controller into your hardware, so that the power button is not physically accessible, we allow shutting down the controller over ethernet, e.g. from a PLC.
The MIRAI controller can be shut down through a remote procedure call (RPC) protocol encoded in XML and JSON using a cURL-X POST command. This is done via an unauthenticated HTTP route.: http://mirai:6543/skills/shutdown_mirai . Replace ‚mirai‘ with the controller's IP-Address or hostname.
An example call could look like this:
curl -X POST http:// 192.168.100.5:6543/skills/xmlrpc -d '<?xml version="1.0"?> <methodCall><methodName>shutdown_mirai</methodName><params></params> </methodCall>' -H 'Content-Type:text/xml'
Comments
0 comments
Article is closed for comments.