anton-johansson / home

The configuration for my home tools, such as Home Assistant.
10 stars 1 forks source link

Sonos randomly plays noise #26

Closed anton-johansson closed 6 years ago

anton-johansson commented 6 years ago

The Sonos PLAYBAR randomly starts playing noise. This has happened twice now, last time being last night, at around 4 AM. Thankfully, the volume wasn't high.

Of what I could see in the app, it said that the TV was playing, so I assume this noise isn't actually a fault in the PLAYBAR, but rather something coming from the optical audio cable.

Checking the logs, this is what I found during that time, that was out of the ordinary:

2018-05-17 04:05:30 WARNING (Thread-2) [pychromecast.socket_client] Heartbeat timeout, resetting connection
2018-05-17 04:05:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1526522730.4745479, level=WARNING, message=Heartbeat timeout, resetting connection, exception=, source=/usr/local/lib/python3.6/site-packages/pychromecast/socket_client.py
2018-05-17 04:07:15 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: home_assistant {'host': '172.18.0.2', 'port': 8123, 'hostname': 'Home._home-assistant._tcp.local.', 'properties': {'version': '0.64.0', 'base_url': '<HA URL>', 'requires_api_password': True}}

I'm not sure if this can happen, but maybe the HA component did something with the Chromecast that caused it to output something to the TV, that in turn outputs it to the PLAYBAR and causes it to change source (as it should). The question is why the Chromecast would output that kind of noise.

The Chromecast usually turns on the TV when it sends a signal, which hasn't happened at these times, which makes me wonder...

anton-johansson commented 6 years ago

Happened again this night. However, no strangeness in the logs this time (sadly, as it means I'm still clueless...).

I did see the same effect in the Sonos app, it appears that data is coming from the TV. I forgot about turning the TV on to see if something was actually going on.

anton-johansson commented 6 years ago

I posted a community forum thread and submitted a support ticket with a diagnostics ID from around 04:10 this morning when it started the noise again.

anton-johansson commented 6 years ago

On the suggestion from a member of the community forums, I've disabled the automatic updates of the TV. We'll see if it occurs again.

anton-johansson commented 6 years ago

Hasn't occurred since! Closing.