jayqizone / homebridge-command-bulb

MIT License
3 stars 0 forks source link

Homebridge + homebridge-command-bulb #1

Open MagicStarTrace opened 6 years ago

MagicStarTrace commented 6 years ago

Use siri command, get the following information n qsz 9fkio4z ugw f0wo

e asqn2mp vo1e5 vu2x 1

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-144" },

"accessories": [
{
 "accessory": "NetworkDevice",
 "name": "My PC",
 "mac": "BC:EE:7B:9F:3B:B1",
 "ip": "192.168.100.99",
 "pingInterval": 45,
 "wakeGraceTime": 90,
 "shutdownGraceTime": 15,
 "shutdownCommand": "sshpass -p '123456789' ssh -p 10922 -oStrictHostKeyChecking=no 'Magic '@192.168.100.99  shutdown -s -t 0"
}
],
"platforms": [
 {
 "platform": "CommandPlatform",
 "directory": "~/.homebridge/commands"
 }
 ]

}

How should I do? please help me

jayqizone commented 6 years ago

It seems that your Node.js version is too old (like 4.x.x), upgrade to a higher version would be helpful. https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi#install-node