core: UPnP Router Sensor Not Working
The problem
UPnP Router Sensors Not Working. After installed the integration it able to auto detect my Linksys router and all the connection/speed sensor. But the sensor/entity are show "unavailable. Try restart router and HA also try remove and reconfigure integration also no luck. thanks
Environment
- Home Assistant Core release with the issue: 0.112.0
- Last working Home Assistant Core release (if known): Never Integrate before
- Operating environment (OS/Container/Supervised/Core): Hassio / Pi4
- Integration causing this issue: UPnP Integration
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/upnp/
Problem-relevant configuration.yaml
Traceback/Error logs
Log Details (ERROR)
Logger: homeassistant.components.upnp
Source: components/upnp/device.py:131
Integration: UPnP (documentation, issues)
First occurred: 1:35:58 PM (281 occurrences)
Last logged: 3:55:28 PM
Unexpected error fetching DELTAZONE data: Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring>UPnPError</faultstring> <detail> <UPnPError xmlns="urn:schemas-upnp-org:control-1-0"> <errorCode>501</errorCode> <errorDescription>Action Failed</errorDescription> </UPnPError> </detail> </s:Fault> </s:Body> </s:Envelope>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 136, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 124, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 131, in async_get_traffic_data
self._igd_device.async_get_total_packets_sent(),
File "/usr/local/lib/python3.7/site-packages/async_upnp_client/profiles/igd.py", line 99, in async_get_total_bytes_sent
result = await action.async_call()
File "/usr/local/lib/python3.7/site-packages/async_upnp_client/client.py", line 520, in async_call
(status_code, response_body))
async_upnp_client.client.UpnpError: Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>501</errorCode>
<errorDescription>Action Failed</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Increase timeout from 5 seconds to 10 seconds, fixes #37329 — committed to StevenLooman/home-assistant by StevenLooman 4 years ago
It wasn’t clear if a log file had been sent to Steven yet so I just turned up the logging and sent off the log file.
I’m new to Home Assistant but I’m excited by what I’m finding. This was one of the only pieces that I haven’t been able to get working, it hasn’t worked since day 1 for me (2 weeks or so).
If I can help in any other way let me know.
Do not forget the space between
:
anddebug
on the last lineHey there @stevenlooman, mind taking a look at this issue as its been labeled with an integration (
upnp
) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)