kkapitan / homebridge-homesung

A Homebridge plugin for Samsung SmartTV H and J models with the pairing protocol
MIT License
30 stars 5 forks source link

Cant turn off and on via Homebridge #15

Open thilojaeggi opened 5 years ago

thilojaeggi commented 5 years ago

So when I type either of those commands in the console: Turn tv on: echo on 0 | cec-client -s -d 1 Turn tv off: echo standby 0 | cec-client -s -d 1 I can turn my TV on and off But If I try to do it in the home app nothing Happens. Console has no errors just this when I try it: TV is in standby or something like that. Config: "platforms": [ { "name": "Config", "port": 8080, "auth": "form", "theme": "blue", "tempUnits": "c", "sudo": true, "log": { "method": "custom", "command": "sudo journalctl -u homebridge" }, "platform": "config" }, { "platform": "Hue", "users": { "001788FFFEAE0E7D": "6KojUwv7OgVPDyR11Z5lv7mAz7TezInT7iq-yp6N" }, "lights": true }, { "platform": "ZP", "service": "fan" }, { "platform": "SamsungTV", "devices": [ { "name": "Fernseher", "ip": "192.168.1.120", "identity": { "sessionId": "1", "aesKey": "ff5caec8349164af3af312cf6713e703" }, "power": { "name": "Fernseher", "key": "KEY_POWEROFF", "enableCEC": true } } ] } ]