homebridge-homesung icon indicating copy to clipboard operation
homebridge-homesung copied to clipboard

Config file problem

Open larsoss opened this issue 4 years ago • 0 comments

Hello people.

I'm not a programmer, and don't know how to get the config file working.

i want to get this in the Homebridge, but can't save the file. Because of Json error. Maybe you can help me? And if you want you can help me in dutch. ;-) I want to change volume, and open netflix and youtube. And if its possible to change the channel.

{ "bridge": { "name": "Homebridge 0163", "username": "", "port": 51950, "pin": "197-45-161" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "Domoticz", "server": "192.168.1.171", "port": 8080, "roomid": 0, "mqtt": true, "ssl": false, "dimFix": 0, "platform": "eDomoticz-ui-x" }, { "name": "Google Smart Home", "token": "***************************", "notice": "Keep your token a secret!", "platform": "google-smarthome" }, { "platforms": [ { "platform": "SamsungTV", "devices": [ { "name": "SamsungTV", "ip": "192.168.1.224", "identity": { "sessionId": "<id of the pairing session - obtained after pairing>", "aesKey": "<key of the pairing session - obtained after pairing>" }, "power": { "name": "", "key": "<key to use in order to power off the TV if hdmi-cec is disabled>", "enableCEC": "<whether to use hdmi-cec as a power on/off method>", } "switches": [ { "name": "Vol Down 5", "delay": 1000, "command": "5KEY_VOLDOWN" }, { "name": "Channel 12", "command": [ "KEY_1", "KEY_2" ] }, { "name": "Play with sound", "command": [ "5KEY_VOLDOWN", "5KEY_VOLUP" ] }, { "name": "Do something", "command": { "keys": "5KEY_VOLDOWN", "delay": 2000 } }, { "name": "Do more of something", "command": { "keys": [ "KEY_1", "KEY_2" ], "delay": 1000 } }, { "name": "Launch Netflix", "command": [ { "keys": "KEY_CONTENTS", "delay": 2000 }, { "keys": [ "3*KEY_LEFT", "KEY_ENTER" ], "delay": 1000 } } ] } ] } ] }

larsoss avatar Apr 05 '20 18:04 larsoss