seydx / homebridge-bravia-tvos

Homebridge plugin for Sony Bravia Android TVs
MIT License
347 stars 32 forks source link

Older Bravia not able to turn on from deep sleep #123

Closed ursusHU closed 3 years ago

ursusHU commented 3 years ago

I have similar issue like with the older version of this app a time ago. https://github.com/SeydX/homebridge-bravia-tvos/issues/88

It is not possible to turn on the TV after 5 minutes. You did solve this, so I hope this is possible also with the current version of your plugin :)

[22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Adding tv service [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Adding speaker service [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Adding new input: HDMI 1/MHL [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: {"name":"HDMI 1/MHL","identifier":70,"type":"input","subtype":"hdmi1/mhl-mo1vi","inputType":3,"deviceType":4} [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Adding new input: HDMI 2 [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: {"name":"HDMI 2","identifier":71,"type":"input","subtype":"hdmi2-fv1xy","inputType":3,"deviceType":4} [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:27:59] [BraviaTVOS] Living Room Television: Configured! [22/12/2020, 13:27:59] Living Room Television is running on port 35965. [22/12/2020, 13:27:59] Please add [Living Room Television] manually in Home app. Setup Code: 186-33-630 [22/12/2020, 13:28:00] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:28:10] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:28:10] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:28:20] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:28:20] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:28:30] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:28:30] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:28:40] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:28:40] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:28:42] [BraviaTVOS] Living Room Television: ON [22/12/2020, 13:28:50] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:28:50] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [22/12/2020, 13:28:52] [BraviaTVOS] Living Room Television: OFF [22/12/2020, 13:29:00] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:29:00] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:29:10] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:29:10] [BraviaTVOS] Living Room Television: [7,"not power-on"] ... [22/12/2020, 13:33:53] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:33:53] [BraviaTVOS] Living Room Television: [7,"not power-on"] [22/12/2020, 13:34:03] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:34:08] [BraviaTVOS] Living Room Television: Timeout of 10s exceeded! [22/12/2020, 13:34:18] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:34:23] [BraviaTVOS] Living Room Television: Timeout of 10s exceeded! [22/12/2020, 13:34:33] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:34:36] [BraviaTVOS] Living Room Television: Can not reach TV! ... [22/12/2020, 13:39:25] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:39:35] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:39:38] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:39:43] [BraviaTVOS] Living Room Television: ON [22/12/2020, 13:39:46] [BraviaTVOS] Living Room Television: An error occured during powering on tv! [22/12/2020, 13:39:46] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:39:48] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:39:49] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:39:55] [BraviaTVOS] Living Room Television: ON [22/12/2020, 13:39:58] [BraviaTVOS] Living Room Television: An error occured during powering on tv! [22/12/2020, 13:39:58] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:39:59] [BraviaTVOS] Living Room Television: Polling tv state [22/12/2020, 13:40:01] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:40:02] [BraviaTVOS] Living Room Television: ON [22/12/2020, 13:40:04] [BraviaTVOS] Living Room Television: An error occured during powering on tv! [22/12/2020, 13:40:04] [BraviaTVOS] Living Room Television: Can not reach TV! [22/12/2020, 13:40:11] [BraviaTVOS] Living Room Television: Polling tv state

My config: { "platform": "BraviaOSPlatform", "name": "BraviaTVOS", "tvs": [ { "name": "Living Room Television", "ip": "192.168.68.xxx", "mac": "FC:F1:52:xx:xx:xx", "port": 80, "timeout": 10, "psk": "xxxx", "manufacturer": "Sony ", "model": "BRAVIA KDL50W815B", "inputs": [ "[extInput:hdmi] HDMI 1/MHL", "[extInput:hdmi] HDMI 2" ], "speaker": { "output": "speaker", "increaseBy": 1, "reduceBy": 1 } } ], "debug": true }

seydx commented 3 years ago

@ursusHU

You need to put following in the config.json

...

"name": "Living Room Television", 
"ip": "192.168.68.xxx", 
"mac": "TVMACADDRESS",
"wol":true,
...
ursusHU commented 3 years ago

Thank you! Wake on LAN was missing.