Open giuse93or opened 3 years ago
Hello, I'm trying to write the correct config file for two commands, but i can't. this config file don't run in my homebridge config.
if i don't type "commandSwitches" it work
WORKING config.json { "platform": "AppleTvPlatform", "devices": [ { "name": "AppleTvHomebridge", "credentials": "X-X-X-X", "isOnOffSwitchEnabled": false, "isOnOffTvEnabled": false, "isPlayPauseSwitchEnabled": true, "playPauseSwitchName": "RiproduzioneAppleTV" } ] },
NOT WORKING config.json { "platform": "AppleTvPlatform", "devices": [ { "name": "AppleTvHomebridge", "credentials": "X-X-X-X", "isOnOffSwitchEnabled": false, "isOnOffTvEnabled": false, "isPlayPauseSwitchEnabled": true, "playPauseSwitchName": "RiproduzioneAppleTV" "commandSwitches": [ { "name": "Pausa AppleTv", "commands": [ { "key": "pause", "longPress": false } ] } ] } ] },
Can you help me? i try to find a solution in other topic, but the homebridge istance don't run
give it a try with a comma behind the "playPauseSwitchName": "RiproduzioneAppleTV" line "playPauseSwitchName": "RiproduzioneAppleTV",
Hello, I'm trying to write the correct config file for two commands, but i can't. this config file don't run in my homebridge config.
if i don't type "commandSwitches" it work
WORKING config.json { "platform": "AppleTvPlatform", "devices": [ { "name": "AppleTvHomebridge", "credentials": "X-X-X-X", "isOnOffSwitchEnabled": false, "isOnOffTvEnabled": false, "isPlayPauseSwitchEnabled": true, "playPauseSwitchName": "RiproduzioneAppleTV" } ] },
NOT WORKING config.json { "platform": "AppleTvPlatform", "devices": [ { "name": "AppleTvHomebridge", "credentials": "X-X-X-X", "isOnOffSwitchEnabled": false, "isOnOffTvEnabled": false, "isPlayPauseSwitchEnabled": true, "playPauseSwitchName": "RiproduzioneAppleTV" "commandSwitches": [ { "name": "Pausa AppleTv", "commands": [ { "key": "pause", "longPress": false } ] } ]
} ] },
Can you help me? i try to find a solution in other topic, but the homebridge istance don't run