homebridge-ssh
homebridge-ssh copied to clipboard
Can use this plugin 2 times in accesories?
how can i use this plugin 2 times with diferents values?
thanks
I tried it, it's working :) Juste add a new accessorie with your different values
When i add 2 different accessories, and activate 1 then the second will also seems to be on after update the homekit app. How can i solve this?
And what is the value of "exact_match": true, what will happen when i change to false?
"accessories": [{
"accessory": "Weather",
"apikey": "secret",
"location": "Amsterdam,NL",
"name": "Temp."
}, {
"accessory": "SSH",
"name": "iTunes Cay",
"on": "osascript /Volumes/Data/Peter/Documents/Script/Cay.scpt",
"off": "osascript -e 'tell application \"iTunes\" to stop'",
"state": "osascript -e 'tell application \"iTunes\" to get player state'",
"on_value": "playing",
"exact_match": true,
"ssh": {
"user": "Peter",
"host": "127.0.0.1",
"port": 22,
"password": "lala"
}
}, {
"accessory": "SSH",
"name": "iTunes Peter",
"on": "osascript /Volumes/Data/Peter/Documents/Script/iTunes.scpt",
"off": "osascript -e 'tell application \"iTunes\" to stop'",
"state": "osascript -e 'tell application \"iTunes\" to get player state'",
"on_value": "playing",
"exact_match": true,
"ssh": {
"user": "Peter",
"host": "127.0.0.1",
"port": 22,
"password": "lala"
}
}],