Closed Burn-In closed 2 years ago
Status update on my tests: httpcore in version 0.14.4, tv without any ECO options and with WoWLAN and Chromecast on enabled - no issues so far (few hours between TV usage sessions)
So that would be the end of good news. TV went to deep sleep after about 20 minutes of being off:
What is interesting is that it survived whole night without going into deep sleep (the PhilipsTV integration was not setup at the time). This means that either: A - I've just had a good luck during the night B - the integration is somehow affecting the TV
Judging by the fact that even the official amazon alexa "Philips Smart TV skill" is "setting the OS to special state" I'd opt for option A.
I think that I'll at some point test if the TV goes to deep sleep/connectivity breaks without the HA integration being on just to prove the point. For now I'll leave the integration running (powering on the TV restores the connectivity immediately) and see it WOL packet is able to wake it up next time it's not reachable.
@albanco is your setup still functioning? Are you using any wakelock app on the TV?
I feel like each time I discover something I'm getting further from solving the problem xd
Update New day, new update. TV went to deep sleep (or how I've discovered "StandbyKeep") during the night. It stopped responding to network requests and the integration stopped working obviously. After that I've sent WOL packet to it (I have it connected via LAN cable to router) and it springed back to life in the "StandbyKeep" state. Since TV started to "kindly respond" to network requests the integration started working again.
More updates will probably follow :p
I notice same issue, really seems that TV Philips goes in deep sleep. Also Alexa skill stop comunicate with it.
I read similar issue here https://www.reddit.com/r/AndroidTV/comments/inpfgk/how_to_prevent_philips_android_tv_to_enter_deep/
So after install wakelock the tv stop going in deep sleep and keep communication since almost 3days.
I don't know my error with my tv is related? My tv is showing off when it is on
I have added
homeassistant.components.philips_js: debug
haphilipsjs: debug
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:34:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:34:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.431 seconds (success: True)
2022-01-09 10:34:57 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:34:57 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.003 seconds (success: True)
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:35:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:35:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.361 seconds (success: True)
2022-01-09 10:35:32 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:35:32 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.006 seconds (success: True)
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:35:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:35:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.387 seconds (success: True)
2022-01-09 10:36:07 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:36:07 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.007 seconds (success: True)
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:36:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:36:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.394 seconds (success: True)
2022-01-09 10:36:42 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:36:42 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.006 seconds (success: True)
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:36:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:36:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.395 seconds (success: True)
2022-01-09 10:37:00 ERROR (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error reading from socket.
2022-01-09 10:37:00 WARNING (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error communicating with socket, resetting connection
2022-01-09 10:37:17 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:37:17 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.003 seconds (success: True)
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:37:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:37:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.406 seconds (success: True)
2022-01-09 10:37:50 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectError('All connection attempts failed'))
2022-01-09 10:37:50 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 3.057 seconds (success: True)
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:37:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:37:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.389 seconds (success: True)
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:38:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:38:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.404 seconds (success: True)
2022-01-09 10:38:25 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:38:25 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.004 seconds (success: True)
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:38:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:38:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.406 seconds (success: True)
2022-01-09 10:38:58 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectError('All connection attempts failed'))
2022-01-09 10:38:58 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 3.057 seconds (success: True)
2022-01-09 10:39:12 ERROR (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error reading from socket.
2022-01-09 10:39:12 WARNING (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error communicating with socket, resetting connection
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:39:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:39:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.401 seconds (success: True)
2022-01-09 10:39:31 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectError('All connection attempts failed'))
2022-01-09 10:39:31 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 3.084 seconds (success: True)
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:39:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:39:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.414 seconds (success: True)
2022-01-09 10:40:06 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:40:06 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.005 seconds (success: True)
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:40:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:40:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.382 seconds (success: True)
2022-01-09 10:40:39 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectError('All connection attempts failed'))
2022-01-09 10:40:39 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 3.082 seconds (success: True)
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:40:52 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:40:52 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.395 seconds (success: True)
2022-01-09 10:41:12 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectError('All connection attempts failed'))
2022-01-09 10:41:12 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 3.077 seconds (success: True)
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:41:22 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:41:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 0.377 seconds (success: True)
2022-01-09 10:41:36 ERROR (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error reading from socket.
2022-01-09 10:41:36 WARNING (Thread-10) [pychromecast.socket_client] [55OLED806/12(192.168.89.31):8009] Error communicating with socket, resetting connection
2022-01-09 10:41:47 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:41:47 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.005 seconds (success: True)
2022-01-09 10:41:57 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:41:57 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.006 seconds (success: True)
2022-01-09 10:42:22 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2022-01-09 10:42:22 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 5.004 seconds (success: True)
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: system -> {"notifyChange":"http","menulanguage":"Dutch","name":"55OLED806\/12","country":"Belgium","serialnumber_encrypted":"dLMXH+LCfZO14PLQhfrrgWlGy1Dk6hCra8L\/Z+QXl\/k=\n","softwareversion_encrypted":"2l50rpvEhudmkt1ZqeNSJ7BINhwbza6t695Hof2DpUcuD9AFkKmwItKKnbpM+8aj\n","model_encrypted":"1PN4ZJWG9DmE360Bc9F4X5xC77fifMyqdF3j4GV\/lyE=\n","deviceid_encrypted":"XxbXUfdGZkdfJi76TDIitVoZz9H\/ARyGF8B5yhV8Riw=\n","nettvversion":"","epgsource":"no_epg","api_version":{"Major":6,"Minor":1,"Patch":0},"featuring":{"jsonfeatures":{"editfavorites":["TVChannels","SatChannels"],"recordings":["List","Schedule","Manage"],"ambilight":["LoungeLight","Hue","Ambilight","HueStreaming"],"menuitems":["Setup_Menu"],"textentry":["not_available"],"applications":["TV_Apps","TV_Games","TV_Settings"],"pointer":["not_available"],"inputkey":["key"],"activities":["intent"],"channels":["preset_string"],"mappings":["server_mapping"]},"systemfeatures":{"tvtype":"consumer","content":["dmr","pvr"],"tvsearch":"intent","pairing_type":"digest_auth_pairing","secured_transport":"true","companion_screen":"true"}},"os_type":"MSAF_2019_P"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: channeldb/tv -> {"channelLists":[{"id":"all","version":0,"listType":"MixedSources","medium":"mixed","active":true,"virtual":true,"modifiable":false}],"favoriteLists":[{"id":"1","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 1","parentId":"all","virtual":false,"modifiable":true},{"id":"2","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 2","parentId":"all","virtual":false,"modifiable":true},{"id":"3","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 3","parentId":"all","virtual":false,"modifiable":true},{"id":"4","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 4","parentId":"all","virtual":false,"modifiable":true},{"id":"5","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 5","parentId":"all","virtual":false,"modifiable":true},{"id":"6","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 6","parentId":"all","virtual":false,"modifiable":true},{"id":"7","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 7","parentId":"all","virtual":false,"modifiable":true},{"id":"8","version":"8","listType":"MixedSources","medium":"mixed","name":"Favourites 8","parentId":"all","virtual":false,"modifiable":true}]}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: channeldb/tv/channelLists/all -> {"version":0,"id":"all","listType":"MixedSources","medium":"mixed","operator":"None","installCountry":"Belgium","Channel":[]}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: applications -> {"version":70,"applications":[{"label":"Zo kunt u…","intent":{"component":{"packageName":"org.droidtv.eum","className":"org.droidtv.eum.onehelp.HowToTutorials.HowToVideosActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.eum.onehelp.HowToTutorials.HowToVideosActivity-org.droidtv.eum","type":"app"},{"label":"Play Store","intent":{"component":{"packageName":"com.android.vending","className":"com.google.android.finsky.tvmainactivity.TvMainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.google.android.finsky.tvmainactivity.TvMainActivity-com.android.vending","type":"app"},{"label":"YouTube","intent":{"component":{"packageName":"com.google.android.youtube.tv","className":"com.google.android.apps.youtube.tv.activity.ShellActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.google.android.apps.youtube.tv.activity.ShellActivity-com.google.android.youtube.tv","type":"app"},{"label":"TED","intent":{"component":{"packageName":"com.ted.android.tv","className":"com.ted.android.tv.view.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.ted.android.tv.view.MainActivity-com.ted.android.tv","type":"app"},{"label":"Prime Video","intent":{"component":{"packageName":"com.amazon.amazonvideo.livingroom","className":"com.amazon.ignition.IgnitionActivity"},"action":"empty"},"order":0,"id":"com.amazon.ignition.IgnitionActivity-com.amazon.amazonvideo.livingroom","type":"app"},{"label":"Play Games","intent":{"component":{"packageName":"com.google.android.play.games","className":"com.google.android.apps.play.games.app.atv.features.home.HomeActivity"},"action":"empty"},"order":0,"id":"com.google.android.apps.play.games.app.atv.features.home.HomeActivity-com.google.android.play.games","type":"app"},{"label":"Play Films","intent":{"component":{"packageName":"com.google.android.videos","className":"com.google.android.videos.tv.presenter.activity.TvLauncherActivity"},"action":"empty"},"order":0,"id":"com.google.android.videos.tv.presenter.activity.TvLauncherActivity-com.google.android.videos","type":"app"},{"label":"Netflix","intent":{"component":{"packageName":"com.netflix.ninja","className":"com.netflix.ninja.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.netflix.ninja.MainActivity-com.netflix.ninja","type":"app"},{"label":"Amazon Alexa","intent":{"component":{"packageName":"org.droidtv.amazonalexa","className":"org.droidtv.amazonalexa.wizard.AlexaWizardActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.amazonalexa.wizard.AlexaWizardActivity-org.droidtv.amazonalexa","type":"app"},{"label":"TV-gids","intent":{"component":{"packageName":"org.droidtv.channels","className":"org.droidtv.channels.ChannelsLauncherActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.channels.ChannelsLauncherActivity-org.droidtv.channels","type":"app"},{"label":"Media","intent":{"component":{"packageName":"org.droidtv.contentexplorer","className":"org.droidtv.contentexplorer.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.contentexplorer.MainActivity-org.droidtv.contentexplorer","type":"app"},{"label":"Demomenu","intent":{"component":{"packageName":"org.droidtv.demome","className":"org.droidtv.demome.DemoMeOptionsActivity"},"action":"empty"},"order":0,"id":"org.droidtv.demome.DemoMeOptionsActivity-org.droidtv.demome","type":"app"},{"label":"Philips TV-collectie","intent":{"component":{"packageName":"org.droidtv.nettv.market","className":"org.droidtv.nettv.market.MarketMainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.nettv.market.MarketMainActivity-org.droidtv.nettv.market","type":"app"},{"label":"Topselectie","intent":{"component":{"packageName":"org.droidtv.nettvrecommender","className":"org.droidtv.nettvrecommender.NetTvRecommenderMainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.nettvrecommender.NetTvRecommenderMainActivity-org.droidtv.nettvrecommender","type":"app"},{"label":"TV","intent":{"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"org.droidtv.playtv.PlayTvActivity-org.droidtv.playtv","type":"app"},{"label":"Blacknut","intent":{"component":{"packageName":"com.blacknut.client","className":"com.blacknut.client.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.blacknut.client.MainActivity-com.blacknut.client","type":"app"},{"label":"Disney+","intent":{"component":{"packageName":"com.disney.disneyplus","className":"com.bamtechmedia.dominguez.main.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.bamtechmedia.dominguez.main.MainActivity-com.disney.disneyplus","type":"app"},{"label":"TV VLAANDEREN","intent":{"component":{"packageName":"nl.streamgroup.vlaanderen","className":"tv.solocoo.bumperapp.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"tv.solocoo.bumperapp.MainActivity-nl.streamgroup.vlaanderen","type":"app"},{"label":"Fitnessbuddy","intent":{"component":{"packageName":"org.droidtv.android.fitness","className":"org.droidtv.android.fitness.SplashScreenActivity"},"action":"empty"},"order":0,"id":"org.droidtv.android.fitness.SplashScreenActivity-org.droidtv.android.fitness","type":"app"},{"label":"ARTE","intent":{"component":{"packageName":"org.droidtv.nettvapp1815","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp1815","type":"app"},{"label":"Couchplay Games","intent":{"component":{"packageName":"org.droidtv.nettvapp20004410","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp20004410","type":"game"},{"label":"MEGOGO","intent":{"component":{"packageName":"org.droidtv.nettvapp4546","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp4546","type":"app"},{"label":"Deezer","intent":{"component":{"packageName":"org.droidtv.nettvapp4655","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp4655","type":"app"},{"label":"Toon Goggles","intent":{"component":{"packageName":"org.droidtv.nettvapp5326","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp5326","type":"app"},{"label":"Fishing TV","intent":{"component":{"packageName":"org.droidtv.nettvapp5512","className":"com.zeasn.app.linux.MainActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"com.zeasn.app.linux.MainActivity-org.droidtv.nettvapp5512","type":"app"},{"label":"Rakuten TV","intent":{"component":{"packageName":"tv.wuaki.apptv","className":"tv.wuaki.apptv.activity.TVLaunchActivity"},"action":"android.intent.action.MAIN"},"order":0,"id":"tv.wuaki.apptv.activity.TVLaunchActivity-tv.wuaki.apptv","type":"app"}]}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/supportedstyles -> {"supportedStyles":[{"styleName":"OFF"},{"styleName":"FOLLOW_VIDEO"},{"styleName":"FOLLOW_AUDIO","algorithms":["ENERGY_ADAPTIVE_BRIGHTNESS","ENERGY_ADAPTIVE_COLORS","VU_METER","SPECTRUM_ANALYZER","KNIGHT_RIDER_CLOCKWISE","KNIGHT_RIDER_ALTERNATING","RANDOM_PIXEL_FLASH","STROBO","PARTY"],"maxTuning":2},{"styleName":"FOLLOW_COLOR","algorithms":["MANUAL_HUE","AUTOMATIC_HUE"],"maxSpeed":255},{"styleName":"LOUNGE"},{"styleName":"MANUAL"},{"styleName":"EXPERT"},{"styleName":"GRID"},{"styleName":"FLAG"},{"styleName":"APP"}]}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/cached -> {"layer1":{"left":{"0":{"r":0,"g":0,"b":0},"1":{"r":0,"g":0,"b":0},"2":{"r":0,"g":0,"b":0}},"top":{"0":{"r":0,"g":0,"b":0},"1":{"r":0,"g":0,"b":0},"2":{"r":0,"g":0,"b":0},"3":{"r":0,"g":0,"b":0},"4":{"r":0,"g":0,"b":0},"5":{"r":0,"g":0,"b":0},"6":{"r":0,"g":0,"b":0}},"right":{"0":{"r":0,"g":0,"b":0},"1":{"r":0,"g":0,"b":0},"2":{"r":0,"g":0,"b":0}},"bottom":{"0":{"r":0,"g":0,"b":0},"1":{"r":0,"g":0,"b":0},"2":{"r":0,"g":0,"b":0},"3":{"r":0,"g":0,"b":0},"4":{"r":0,"g":0,"b":0},"5":{"r":0,"g":0,"b":0}}}}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":true,"current":0,"min":0,"max":60}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:42:28 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 1.861 seconds (success: True)
2022-01-09 10:42:28 DEBUG (MainThread) [haphilipsjs] Post succeded: {'current': 0, 'muted': True} ->
2022-01-09 10:42:31 DEBUG (MainThread) [haphilipsjs] Get succeded: powerstate -> {"powerstate":"On"}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: audio/volume -> {"muted":false,"current":0,"min":0,"max":60}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/tv -> {}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: activities/current -> {"component":{"packageName":"org.droidtv.playtv","className":"org.droidtv.playtv.PlayTvActivity"}}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: context -> {"level1":"WatchExtension","level2":"Playstate","level3":"NA","data":"NA"}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: screenstate -> {"screenstate":"On"}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/mode -> {"current":"internal"}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/power -> {"power":"On"}
2022-01-09 10:42:32 DEBUG (MainThread) [haphilipsjs] Get succeded: ambilight/currentconfiguration -> {"styleName":"FOLLOW_VIDEO","isExpert":false,"menuSetting":"NATURAL","stringValue":"Natural"}
2022-01-09 10:42:32 DEBUG (MainThread) [homeassistant.components.philips_js] Finished fetching philips_js data in 1.469 seconds (success: True)
10:41:57 Is the moment my tv shows off when it is on 10:42:28 Is the moment the tv shows on again
I notice same issue, really seems that TV Philips goes in deep sleep. Also Alexa skill stop comunicate with it.
I read similar issue here https://www.reddit.com/r/AndroidTV/comments/inpfgk/how_to_prevent_philips_android_tv_to_enter_deep/
So after install wakelock the tv stop going in deep sleep and keep communication since almost 3days.
I wonder what would be the power consumption difference between the wakelock method and WOL one. Yesterday I was way from home but logged on through wireguard a few times and on each occasion the TV was asleep. After sending the WOL packet, the integration started to work again.
According to the docs, PhilipsTV integration supports
a device trigger that can be setup to execute when the media_player is asked to turn on
I'll need to test if it's really only on the power on command or each time the session with TV is established. Maybe it'll be possible to add a feature to the integration, when if the connection cannot be made, it sends a WOL packet and then retries.
I don't know my error with my tv is related? My tv is showing off when it is on I have added
homeassistant.components.philips_js: debug haphilipsjs: debug
SNIP
Looking at the:
2022-01-09 10:34:57 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
this is probably the deep sleep/StandbyKeep issue. You can try to install wakelock app on the TV as mentioned by markobel or experiment with WOL packets. If not that there may be some other network related issues.
I can confirm after 5 days, HA ver. 2021.12.9, without any patch, wakelock installed on both Philips TV in my house no issue at all.
I can confirm after 5 days, HA ver. 2021.12.9, without any patch, wakelock installed on both Philips TV in my house no issue at all.
Nice! I thought the fixes might have gotten included there.
Hi,
My TV model is 48PFT5500/12. After updating to the latest version (2021.12.10) I still experience an issue with TV off in HA after 5 mins. This happens every time:
Is there any way to solve it? I can provide logs if needed, but I don't know how to switch then to debug mode.
Off 5 minutes after what?
Off 5 minutes after what?
After switching on TV with remote, integration is working for approx. 5 mins. You could see this small green lines on the history line above. After from HA side TV seems to be off, but in reality it's not off.
That is different from this issue. This issue is about permanent loss of connection to the TV untill home assistant or TV is restarted.
I will close this issue now since it seems we have latest httpcore in the last patch release. So the permanent loss of connection should have been solved.
The wakelock issue is more of a documentation issue. This integration can't do anything about that. But we likely need some documentation on the homepage on how to add a wakelock application.
I will close this issue now since it seems we have latest httpcore in the last patch release. So the permanent loss of connection should have been solved.
The wakelock issue is more of a documentation issue. This integration can't do anything about that. But we likely need some documentation on the homepage on how to add a wakelock application.
Are you sure? (about "This integration can't do anything about that.") From my tests and not some pretty edits to the code, sending WOL packet before attempting connection to the TV seems to fix the issue/requirement of wakelocks. In my free time I'm working on a pull request with such feature.
WOL packets would wake the tv after it goes to sleep. It won't keep it awake. So you will still end up failing to connect. But i see that as more of a feature request.
Ps. We already support waking the TV with WOL, just add the device automation for the turn on request.
I know about the "Device is requested to turn on" trigger but if the description is right, it would be fired only when someone wants to turn on the TV and not when any connection attempt to TV is made (unless I'm wrong of course :D) What I'm experimenting with is sending the WOL packet once, automatically when the postReq (I'm not yet sure if it's the right place to put this, I'm still getting familiar with HA architecture) fails.
Nevertheless you're right, when(if) I'll come up with something working I'll submit this as a feature pull request. Sorry for the off topic.
Please share the automation code for sending WOL
The problem
Everything is working fine for some days. Then, after a standby period of the TV, the integration didn't re-connect to the TV again and shows "Off". At this time the TV is still available under xxx.xxx.xxx.xx:1925/system. A delete and add of the integration didn't work, because "Unknown error occurred" while connecting. But a restart of Home Assistant works repeatable.
Is there anything what i can test or check?
What is version of Home Assistant Core has the issue?
core-2021.9.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Philips TV
Link to integration documentation on our website
https://github.com/home-assistant/core/tree/dev/homeassistant/components/philips_js
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response