Spending my cold nights in the man cave tidying up the house. Erm… the house - brain.
I keep seeing items in my home-assistant.log that frankly I’d like to eradicate. I really only want to see things in here I should action, not learn to ignore. LET THE SYSTEM DO THE PARSING I say. Not me, I’m too old for this
Case in point:
2018-06-26 20:33:56 WARNING (Thread-19) [pywemo.ssdp] Error fetching description at http://192.168.86.125:18078/devdesc.xml
2018-06-26 20:34:15 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-06-26 20:34:15 WARNING (MainThread) [homeassistant.core] Unable to remove unknown listener <function async_track_point_in_utc_time.<locals>.point_in_time_listener at 0x6cd05300>
2018-06-26 20:34:18 WARNING (Thread-16) [netdisco.ssdp] Found malformed XML at http://192.168.86.10:6880:
invalid request
2018-06-26 20:34:18 WARNING (Thread-16) [netdisco.ssdp] Error fetching description at http://192.168.86.125:18078/devdesc.xml
I see the pywemo and netdisco all the time in here. I read through the community and saw a few others ask about these - but no one really nailed it. I saw that the discovery component was given the ability to “ignore” stuff - but seemingly adding the ignore belkin-wemo had no effect. At least no effect when I tried it…
I get that this is discovery reaching out and trying to find advertised services. Maybe it should have a “try threshold” and stop hitting its head on the wall?
Please - tell me I’m wrong and show me how to put this poor thing out of our mutual (1st world) misery
Have you looked at your router and found out what those IP’s are? That’s where I would start. See what the IP address is, figure out the component it is trying to discover. Then turn the discovery off or fix the issue.
I think these come from the discovery component finding something on the network and expecting to get a response from the device. That may not be how the device responds to the network which prompts the error. You might want to try asking this on the developer Discord channel.
Should clarify. I don’t think this is an error per se, but rather “I was expecting this but it wasn’t available” Again, the developers would be the definitive answer.
Just a quick reply from my spotty mobile connection during commute… The .10 address is a asustor NAS, I think that port might be occupied, I’ll check. The .125 address is a Sony Bravia I think from memory…
The Sony is something I want to have in HA. Not sure about the item on my NAS.
Why would the pywemo think the NAS is something off interest? Like I said, I tried the ignore command… Hmmm…
It’s a warning though, not an error. That means it’s already caught, there is nothing to fix. The warning is letting you know it cannot setup the platform and it gives you the information. The whole point of warnings is to be able to ignore them. Otherwise it would be an error. Nothing to fix other than set it up properly (if the component can) or ignore it.
Discovery is looking for potential controllable devices on your network. It will try to discover what devices it does find actually are. To start with things are just IP addresses until they are probed and some information is retrieved or not. In your situation, pywemo is testing an IP address that was discovered to see if that is a Belkin Wemo device.
Thanks for the responses thus far. I’d like to point out that yep - I kinda had an idea of what was happening (probing etc) as outlined in my opening post. The point here is that made towards the end of the post - it would good to have discovery limited by a “try” threshold, so it can stop spamming my log and so I as a user can interpret that which is more important. My post title didn’t help, though maybe in a click bait sense
I tried the discovery ignore belkin-wemo to no effect.
I guess I’m both trying to confirm my understanding and to see if anyone else has any ideas on how to negate the warning messages. It’s not warning me of anything useful!
Hmm not sure on that if it’s not in the list. Now this is a band aide, but you could ignore warnings from the discovery component. I would say It would be best to bring that up with the devs as a future pull request.
As I said in my first post, if you really want the answers try asking your question on the HA Discord channel. The HA developers understand the guts of HA. They will be happy to respond. When you get your answer, post it here.