Skip to content

Instantly share code, notes, and snippets.

@TheRealSimonMlr

TheRealSimonMlr/config.json Secret

Created Sep 3, 2020
Embed
What would you like to do?
Homebridge WoL Config to Hibernate Computer
"accessories": [
{
"accessory": "NetworkDevice",
"name": "Simons Computer",
"mac": "4C:CC:6A:24:1B:4E",
"ip": "192.168.1.3",
"pingInterval": 45,
"wakeGraceTime": 30,
"shutdownGraceTime": 45,
"shutdownCommand": "expect -c 'spawn ssh -o \"StrictHostKeyChecking=no\" BENUTZERNAME@192.168.1.3 \"shutdown -h\"; expect \"assword:\"; send \"KENNWORT\\r\"; interact'"
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.