Replies: 1 comment 1 reply
-
I've moved your issue over to a discussion. An example configuration from the README: {
"accessory": "NetworkDevice",
"name": "My Macbook",
"mac": "<mac-address>",
"host": "macbook.local",
"pingCommand": "ssh macbook.local 'if [[ $(pmset -g powerstate IODisplayWrangler | tail -1 | cut -c29) -lt 4 ]]; then; exit 1; else; echo 1; fi;'",
"pingInterval": 45,
"wakeGraceTime": 10,
"wakeCommand": "ssh macbook.local caffeinate -u -t 300",
"shutdownGraceTime": 15,
"shutdownCommand": "ssh macbook.local sudo shutdown -h now"
}, Here, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I’m in need of some help please?
I have installed the plugin and added my iMac to HomeKit and it shows the status of the Mac no problem, the problem I have is I dont know what the command lines are for on and off to add to my config.
How do I find out what they are?
Thanks
Paul
Beta Was this translation helpful? Give feedback.
All reactions