core: Netgear Integration - Traffic Meter Data not working

The problem

I tried the new feature which would supposedly retrieve traffic meter data from the Netgear router but the entities do not update and instead, I see “Unknown” as value. See image. image

I tried rebooting my router and restarting Home Assistant but it did not get fixed.

I saw some logs generated at the time Home Assistant is started. Check it out below.

What version of Home Assistant Core has the issue?

core-2022.3.3

What was the last working version of Home Assistant Core?

Never

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Netgear

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-03-14 02:31:04 DEBUG (SyncWorker_0) [pynetgear] Login v2, port '443', ssl, 'True'
2022-03-14 02:31:04 DEBUG (SyncWorker_0) [pynetgear] Get Info
2022-03-14 02:31:06 DEBUG (SyncWorker_0) [pynetgear] Get attached devices 2
2022-03-14 02:31:07 DEBUG (SyncWorker_8) [pynetgear] Get attached devices 2
2022-03-14 02:31:07 ERROR (SyncWorker_8) [pynetgear] Invalid response
2022-03-14 02:31:07 DEBUG (SyncWorker_8) [pynetgear] 200
{'Content-Length': '395', 'Content-Type': 'text/xml; charset="UTF-8"', 'Server': 'Linux/2.6.15 uhttpd/1.0.0 soap/1.0', 'Connection': 'close', 'Date': 'Sun, 13 Mar 2022 22:31:07 GMT'}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:GetAttachDevice2Response xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1"></m:GetAttachDevice2Response>
<ResponseCode>503</ResponseCode>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

2022-03-14 02:31:07 DEBUG (SyncWorker_3) [pynetgear] Get traffic meter
2022-03-14 02:31:38 DEBUG (SyncWorker_6) [pynetgear] Get attached devices 2
2022-03-14 02:32:08 DEBUG (SyncWorker_10) [pynetgear] Get attached devices 2
2022-03-14 02:32:38 DEBUG (SyncWorker_8) [pynetgear] Get attached devices 2
2022-03-14 02:33:08 DEBUG (SyncWorker_8) [pynetgear] Get attached devices 2
2022-03-14 02:33:38 DEBUG (SyncWorker_0) [pynetgear] Get attached devices 2

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

fixed it indeed for me! thanks!

image