uvjim
June 8, 2022, 12:41pm
141
@drumstick77 , @Gav_in - how bizarre. I don’t see this at all on mine. In fact, there’s no history at the moment for mine as the WAN connection has been rock solid and not changed state since I rebuilt the database for HASS.
If you can grab diagnostics or a debug log when it happens then I’ll be happy to have a look at it. I have an idea what might be causing it but won’t know if I’m right until I can see some logs.
1 Like
and yes, it does it again.
I can provide the log, can you please point me to the right direction of which log and how?
Cheers
actually, I tell you what. the other linksys velop implementation also had some files under custom_components>linksys_velop folders. I will remove the integration and the all remnants files and start again…
Gav_in
(Gavin)
June 8, 2022, 12:56pm
144
You might be on to something there…
I have that component installed too, though don’t use it in HA. Perhaps there is a mix-up with files between the two components.
@uvjim I’ll uninstall the ‘other’ one a let you know if still happening over next few days. If it is will get you debug logs then.
uvjim
June 8, 2022, 1:10pm
145
Be careful… If they’re using the same name I’m not sure how HAC deals with that. You may find you need to install this one again.
1 Like
I’ve done what I said just now and unfortunately , it is still doing it
uvjim
June 8, 2022, 1:13pm
147
Whilst the sensors are showing as unavailable
use the 3-dots menu near Visit Device
and select Download diagnostics
.
If you could open an issue on Github and then attach the diagnotics file, I’ll have a look and see if I can find something obvious.
Gav_in
(Gavin)
June 8, 2022, 1:14pm
148
Badly it seems
Both integrations get installed (copied) to same folder in custom components 🤷🏻
I uninstalled the ‘other’ one and the reinstalled your one before rebooting so hopefully caught everything.
Will keep an eye on it for a few hours and let you know…
1 Like
GSzabados
(Gábor Szabados)
June 8, 2022, 1:35pm
149
I think I saw a bug (issue) on GitHub regarding UPnP doing the same.
Have a quick look here, might be hitting the same thing:
opened 05:49PM - 01 Jun 22 UTC
closed 04:11PM - 07 Jun 22 UTC
integration: upnp
### The problem
Every 30 seconds or so the WAN Status and External IP sensors i… n my auto-discovered UPnP router (pfSense) briefly go to an Unavailable status then immediately recover.
![image](https://user-images.githubusercontent.com/48895/171466923-4aff676a-da6f-4d11-81d3-f0bcc055bdec.png)
I'm running pfSense 2.6.0-RELEASE. Please let me know if you'd like me to fetch additional logs. I could look at a packet capture if someone can suggest an appropriate filter.
### What version of Home Assistant Core has the issue?
2022.6.0
### 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
upnp
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/upnp/
### 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_
@uvjim looks familiar?
Awesome. thanks. would be cool to pass the log here? or somewhere else?
By the way, is there a way to show how the result of the speedtest on dashboard?
uvjim
June 8, 2022, 2:08pm
151
I only use UPnP to do the discovery. After that I don’t touch it all and rely solely on the JNAP API. That’s not to say that something funky isn’t going on with the discovery side that doesn’t cause this. If it is, it looks like there’s already a PR to fix it - so if it is that, then hopefully I won’t have to do anything.
uvjim
June 8, 2022, 2:09pm
152
I’m sure you could if you wanted to. It’ll be quite long so you’d need to make sure you formatted it correctly.
An issue on Github would be easier as I can use it to reference any changes I may need to make.
GSzabados
(Gábor Szabados)
June 8, 2022, 2:24pm
153
There are a few issues open with random available/unavailable states. Just search for unavailable
on Github. They might lead to the same issue at the end.
By the way, is there a way to show how the result of the speedtest on dashboard?
uvjim
June 8, 2022, 3:24pm
155
There’s an example UI in the README that shows how to access the information. They are attributes of the sensor.
Thanks - is this what you meant? if yes, not sure why it’s not available
Gav_in
(Gavin)
June 8, 2022, 4:03pm
157
Hello @uvjim
Have let this run for the past few hours and still getting the same unavailable every so often.
Looking at the log files and looks like the integration is timing out on getting an update from the Parent Node each time the entities go unavailable (about 30 times over two hours)
Let me know if you need more detail on any of this
Line 1570: 2022-06-08 14:34:29 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 1671: 2022-06-08 14:37:11 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 1739: 2022-06-08 14:39:11 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 1805: 2022-06-08 14:41:09 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 1872: 2022-06-08 14:43:08 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 1942: 2022-06-08 14:45:09 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 2210: 2022-06-08 14:54:22 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 2500: 2022-06-08 15:04:18 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 2805: 2022-06-08 15:14:18 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 2871: 2022-06-08 15:16:18 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 3105: 2022-06-08 15:24:19 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 3398: 2022-06-08 15:34:19 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 3687: 2022-06-08 15:44:18 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 3977: 2022-06-08 15:54:17 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4195: 2022-06-08 16:00:15 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4317: 2022-06-08 16:04:17 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4440: 2022-06-08 16:08:16 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4535: 2022-06-08 16:10:16 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4626: 2022-06-08 16:12:16 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4693: 2022-06-08 16:14:17 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4816: 2022-06-08 16:18:15 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 4994: 2022-06-08 16:24:15 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5312: 2022-06-08 16:34:19 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5379: 2022-06-08 16:36:17 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5445: 2022-06-08 16:38:16 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5625: 2022-06-08 16:44:16 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5785: 2022-06-08 16:49:11 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Line 5849: 2022-06-08 16:51:09 ERROR (MainThread) [custom_components.linksys_velop] Error fetching linksys_velop (SERIAL_PARENT_UNIT) data: Timeout Error
Sorry for this newbie questions and if I sounded like a broken radio. but I’ve tried looking under entities for these and I’m now able to find them
uvjim
June 8, 2022, 4:34pm
159
@Gav_in - what’s the polling interval set to? I have mine set to the following and don’t see an issue. What happens if you make it longer?
1 Like
uvjim
June 8, 2022, 4:37pm
160
The Speetest latest sensor is the one you’re interested in…
GitHub - uvjim/linksys_velop: Home Assistant integration for the Linksys Velop should take you to the card you’d be interested in to see how it is used. Scroll slightly further up to see the screenshot for an example UI.