https://github.com/rgl/intel-amt-toggle-power-example
toggles the power of a remote system using the intel amt remote api
https://github.com/rgl/intel-amt-toggle-power-example
amt intel-amt
Last synced: 3 months ago
JSON representation
toggles the power of a remote system using the intel amt remote api
- Host: GitHub
- URL: https://github.com/rgl/intel-amt-toggle-power-example
- Owner: rgl
- Created: 2020-08-22T21:04:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-30T05:19:51.000Z (over 1 year ago)
- Last Synced: 2024-12-31T11:06:04.457Z (5 months ago)
- Topics: amt, intel-amt
- Language: JavaScript
- Homepage:
- Size: 63.5 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is an example that toggles the power of a remote system using the [intel amt](https://en.wikipedia.org/wiki/Intel_Active_Management_Technology) remote api.
This uses the [Ylianst/MeshCentral amt library](https://github.com/Ylianst/MeshCentral/tree/master/amt) to communicate with the remote system.
# Usage
Provision AMT as described in [rgl/intel-amt-notes](https://github.com/rgl/intel-amt-notes).
**NB** To be able to do a Graceful Shutdown/Reboot you must have the [Intel LMS (Local Manageability Service)](https://github.com/intel/lms) running in the OS.
Install [Node.js 20.10](https://nodejs.org/).
Install the required dependencies:
```bash
npm ci
```Edit the `intel-amt-toggle-power-example.js` file and modify the
`settings` object with your remote system details.Execute the example, it will toggle the power of the system:
```bash
node intel-amt-toggle-power-example.js
```You can also execute [Ylianst/MeshCommander](https://github.com/Ylianst/MeshCommander) to
easily interact with the remote system:```bash
npx meshcommander
```Then access it at http://127.0.0.1:3000.