core
core copied to clipboard
Sony Bravia Entity Power Cycling
The problem
Whilst the TV is on, the media_player
entity keeps turning off for 10 seconds then turns back on. The TV itself does not power cycle, just the media_player
entity. This was noticed because of a media bias light that is stuck to the rear of the TV which runs on an automation triggered by the media_player
state provided by the integration. Has been ongoing for a approximately 2 months now.
No option to download diagnostics for this integration.
What version of Home Assistant Core has the issue?
core-2023.8.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Sony Bravia TV
Link to integration documentation on our website
https://www.home-assistant.io/integrations/braviatv/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Hey there @bieniu, @drafteed, mind taking a look at this issue as it has been labeled with an integration (braviatv
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of braviatv
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Renames the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign braviatv
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
braviatv documentation braviatv source (message by IssueLinks)
Please enable debug logging for a few hours and after that attach here the log file.
Thanks - have done that, do you want the entire homeassistant.log file?
Yes, please.
Here you go, if you go to line 207150-207197 you will see an occurrence of it, time starting at 2023-08-22 21:45:10.210
2023-08-22 21:45:11.447 DEBUG (MainThread) [pybravia.client] Request error [Errno 104] Connection reset by peer
Your TV didn't respond. Due to the limitations of some BraviaTV model we treat a connection error as off
state. The question is why your TV doesn't respond. Did you use a PIN or PSK to configure the integration?
I see in the log that you are using PSK.
2023-08-22 21:45:11.447 DEBUG (MainThread) [pybravia.client] Request error [Errno 104] Connection reset by peer
Your TV didn't respond. Due to the limitations of some BraviaTV model we treat a connection error as
off
state. The question is why your TV doesn't respond.Did you use a PIN or PSK to configure the integration?I see in the log that you are using PSK.
Should I be doing it a different way?
Now I'm wondering if I was using PIN earlier as I had to reconfigure the integration when I moved the TV to a different VLAN.
PSK is the best option. What about connection type? WiFi or eth?
PSK is the best option. What about connection type? WiFi or eth?
Using WiFi as it is the fastest option, the NIC in these TV's is only 100Mbps. Had checked the WiFi history in my router too and there has been no drop outs with something like a 20 day continuous uptime.
same problem after ha update, i think after 23.8.2 Sony KD-65XG8577, eth connection
Using WiFi as it is the fastest option
I think it’s worth to check if the problem exists when you use eth.
i think after 23.8.2
Last change related to this took place in September 2022. Debug log please.
Last change related to this took place in September 2022. Debug log please.
Im turned on debug
PS: I don’t know if this is related, but 2 hours ago I turned on downloading a large file from the network and at that moment the TV turned on and off in integration almost every minute, as soon as the download was over, everything returned to normal
So all of a sudden after a few months of this occurring, it's stopped the entity changing from on to off and back on as my original post mentioned. Only started playing nicely yesterday.
So all of a sudden after a few months of this occurring, it's stopped the entity changing from on to off and back on as my original post mentioned. Only started playing nicely yesterday.
Have you changed something to stop this problem? I have the same problem. Not always but sometimes the tv turns off after 10-12s and then on again. Have changed my automation to "when tv switched to off FOR 12s", but I don't really like this solution.
So all of a sudden after a few months of this occurring, it's stopped the entity changing from on to off and back on as my original post mentioned. Only started playing nicely yesterday.
Have you changed something to stop this problem? I have the same problem. Not always but sometimes the tv turns off after 10-12s and then on again. Have changed my automation to "when tv switched to off FOR 12s", but I don't really like this solution.
Hey bud, no I have not changed a thing. I'm not sure what could have been causing it. Haven't had an issue with it since. Just to be clear, the tv itself did not turn off and on, just the entity.
So all of a sudden after a few months of this occurring, it's stopped the entity changing from on to off and back on as my original post mentioned. Only started playing nicely yesterday.
Have you changed something to stop this problem? I have the same problem. Not always but sometimes the tv turns off after 10-12s and then on again. Have changed my automation to "when tv switched to off FOR 12s", but I don't really like this solution.
Hey bud, no I have not changed a thing. I'm not sure what could have been causing it. Haven't had an issue with it since. Just to be clear, the tv itself did not turn off and on, just the entity.
Hmm okay, thank you anyway. Yes, only the entity is switching. I will observe this.
I too am having this exact same issue for a while. Any updates to the cause?
I too am having this exact same issue for a while. Any updates to the cause?
I have had it happen once since, but the regular/ constant issue seems to be resolved
I have the exact same issue. The media_player entity as well as the remote entity both turn off for 10 seconds.
This is particularly annoying for me because my lights go to full brightness and my speakers turn off when this happens 😂
I just created a PR (#104924) that will retry the power status command up to three times on failure. This should hopefully mean that if one request fails, it will try again before setting the power status to off
, hopefully reducing false negatives.
I am also suffering from this from time to time but more so since I updated to the latest HA 2023.12.3.
I have a DreamView backlight relying on the status of the Sony TV to turn the lights on and off and they are going off and then going back on at totally random intervals.
Also using ethernet, as the WIFI causes audio glitches on some streaming apps , which seems to be a bug Sony won't fix.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.