Ich nutze das SSH Plugin für iTunes-Steuerung vom Pi zum iMac. Funktioniert bestens.
Vielleicht hilft das dem ein oder anderen, wie es in meiner config.json angelegt ist.
Code
Unter "accessories": [
...
..
.
}, {
"accessory": "SSH",
"name": "iTunes Music",
"on": "osascript -e 'tell application \"iTunes\" to play'",
"off": "osascript -e 'tell application \"iTunes\" to stop'",
"state": "osascript -e 'tell application \"iTunes\" to get player state'",
"user": "MyUsername",
"host": "xxx.xxx.xx.xx",
"password": "NotYourBusiness"
}],
Alles anzeigen
Und da ich auch den People Plugin erfolgreich nutze hier auch die Info..
Code
"platforms": [{
"platform": "People",
"threshold": 5,
"anyoneSensor": true,
"nooneSensor": false,
"webhookPort": 51828,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0,
"people": [{
"name": "Daniels iPhone",
"target": "xxx.xxx.xxx.xx",
"threshold": 5,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
},
{
"name": "Daniels Apple Watch",
"target": "xxx.xxx.xxx.xx",
"threshold": 5,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
},
{
"name": "Davids MacBook",
"target": "xxx.xxx.xxx.xx",
"threshold": 5,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
},
{
"name": "Davids iPhone",
"target": "xx.xx.xx.xx",
"threshold": 5,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
}]
Alles anzeigen