all of the commands are proceeded by “hassio”
core-ssh:/# hassio help
NAME:
hassio - Commandline tool to allow interation with hass.io
USAGE:
hassio [global options] command [command options] [arguments…]
VERSION:
1.3.1
AUTHOR:
Home-Assistant [email protected]
COMMANDS:
homeassistant, ha info, logs, check, restart, start, stop, update
supervisor, su info, logs, reload, update
host, ho reboot, shutdown, update
hardware, hw info, audio
network, ne info, options
snapshots, sn list, info, reload, new, restore, remove
addons, ad list, info, logo, changelog, logs, stats,
reload, start, stop, install, uninstall, update
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
–debug, -d Prints Debug information
–help, -h show help
–version, -v print the version
For example, to list out the hardware :
core-ssh:/# hassio hw info
{
“result”: “ok”,
“data”: {
“serial”: [
“/dev/ttyAMA0”,
“/dev/ttyACM0”
],
“input”: [],
“disk”: [],
“gpio”: [
“gpiochip0”,
“gpiochip128”,
“gpiochip100”
],
“audio”: {
“0”: {
“name”: “bcm2835_alsa - bcm2835 ALSA”,
“type”: “ALSA”,
“devices”: {
“0”: “digital audio playback”,
“1”: “digital audio playback”
}
}
}
}
}