home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.15k stars 31.13k forks source link

Panasonic Viera TV Power State Not Updated #89280

Closed danieledwardgeorgehitchcock closed 1 year ago

danieledwardgeorgehitchcock commented 1 year ago

The problem

For quite a while now probably over a year - maybe as far back as when the integration was ported to a frontend setup method, my Panasonic TV integration has stopped reporting the power state of the TV - it is always Off

What version of Home Assistant Core has the issue?

2023.3.0b4

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

Panasonic Viera

Link to integration documentation on our website

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

Diagnostics information

2023-03-07 10:41:57.185 DEBUG (SyncWorker_0) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:41:57.211 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:41:57.213 DEBUG (SyncWorker_4) [panasonic_viera] Determining TV type
2023-03-07 10:41:57.241 DEBUG (SyncWorker_4) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:07.186 DEBUG (SyncWorker_5) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:07.213 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:07.214 DEBUG (SyncWorker_2) [panasonic_viera] Determining TV type
2023-03-07 10:42:07.230 DEBUG (SyncWorker_2) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:17.187 DEBUG (SyncWorker_9) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:17.226 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:17.227 DEBUG (SyncWorker_11) [panasonic_viera] Determining TV type
2023-03-07 10:42:17.252 DEBUG (SyncWorker_11) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:27.188 DEBUG (SyncWorker_0) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:27.225 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:27.226 DEBUG (SyncWorker_4) [panasonic_viera] Determining TV type
2023-03-07 10:42:27.250 DEBUG (SyncWorker_4) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:37.189 DEBUG (SyncWorker_1) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:37.204 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:37.205 DEBUG (SyncWorker_3) [panasonic_viera] Determining TV type
2023-03-07 10:42:37.232 DEBUG (SyncWorker_3) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:47.190 DEBUG (SyncWorker_7) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:47.251 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:47.252 DEBUG (SyncWorker_10) [panasonic_viera] Determining TV type
2023-03-07 10:42:47.287 DEBUG (SyncWorker_10) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:42:57.191 DEBUG (SyncWorker_8) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:42:57.235 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:42:57.237 DEBUG (SyncWorker_6) [panasonic_viera] Determining TV type
2023-03-07 10:42:57.277 DEBUG (SyncWorker_6) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:43:07.192 DEBUG (SyncWorker_9) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:43:07.214 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 400: Bad Request
2023-03-07 10:43:07.215 DEBUG (SyncWorker_11) [panasonic_viera] Determining TV type
2023-03-07 10:43:07.235 DEBUG (SyncWorker_11) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:43:17.192 DEBUG (SyncWorker_3) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:43:17.356 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 403: Forbidden
2023-03-07 10:43:17.357 DEBUG (SyncWorker_5) [panasonic_viera] Determining TV type
2023-03-07 10:43:17.375 DEBUG (SyncWorker_5) [panasonic_viera] Determined TV type is non-encrypted
2023-03-07 10:43:27.193 DEBUG (SyncWorker_2) [panasonic_viera] Sending to http://192.168.20.191:55000/dmr/control_0:
{'Host': '192.168.20.191:55000', 'Content-Length': 324, 'Content-Type': 'text/xml; charset=utf-8', 'SOAPAction': '"urn:schemas-upnp-org:service:RenderingControl:1#GetMute"'}
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><m:GetMute xmlns:m="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></m:GetMute></s:Body></s:Envelope>'
2023-03-07 10:43:27.209 DEBUG (MainThread) [homeassistant.components.panasonic_viera] An error occurred: HTTP Error 403: Forbidden
2023-03-07 10:43:27.210 DEBUG (SyncWorker_0) [panasonic_viera] Determining TV type
2023-03-07 10:43:27.244 DEBUG (SyncWorker_0) [panasonic_viera] Determined TV type is non-encrypted

Example YAML snippet

No response

Anything in the logs that might be useful for us?

TV Model: TX-40CX700B
Firefox OS Version: 3252-10400-02550

Additional information

No response

home-assistant[bot] commented 1 year ago

panasonic_viera documentation panasonic_viera source

issue-triage-workflows[bot] commented 1 year ago

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.