core: DLNA integration - YAS-209 become unavailable

The problem

Similar to https://github.com/home-assistant/core/issues/57240 Sometime my DLNA integration with my Yamaha YAS-209 become unavailable. Tuned on the debug log and before it become unavailable I see this line Device unavailable: UpnpConnectionError('[Errno None] Can not write request body for http://192.168.1.155:49152/upnp/control/rendertransport1', None) The IP replaced, and seemed correct.

Tried to remove and add back, but it didn’t solve the issue

Thanks!

What version of Home Assistant Core has the issue?

core-2022.4.4

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

DLNA Digital Media Renderer

Link to integration documentation on our website

https://www.home-assistant.io/integrations/dlna_dmr/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (14 by maintainers)

Most upvoted comments

Your device is sending a notification that it will become unavailable with the SsdpChange.BYEBYE notification. This is what the UPnP Device Architecture says about it:

When a device and its services are going to be removed from the network, the device should multicast a ssdp:byebye message corresponding to each of the ssdp:alive messages it multicasted that have not already expired.

The next second it announces it is available/alive again with the SsdpChange.ALIVE notification. Is there any action you are doing which causes this?