New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Belkin WeMo Device Unavailable & Then After Uninstalling/Reinstalling Integration, No Entities #75063
Comments
wemo documentation |
Hey there @esev, mind taking a look at this issue as it has been labeled with an integration ( |
The exact same issue happened for me as well. For me my Wemo dimmer works but not the Wemo light switch (model WLS040). My switches are showing up as "unavailable." |
As a workaround, I resolved this by assigning my wemo devices a static IP on my router (DHCP server), I than configured them as static devices in my |
Does the 2022.8 release resolve this issue? |
This issue still exists into 2022.11.1 |
same exact problem |
the latest HA update fixed wemo |
I had this just happen to me. Wemo outlet went offline. I am on HA 2023.1.2 I have wemo configured in
From my little bit of debugging there seems to be something going on with pywemo. I can install pywemo locally and set up my wemo device.
I've tried the same on my instance of HA (as well as the HA dev container) and when I try to print |
@TonySherman just a few questions to try to troubleshoot:
|
@esev I am using the Home Assistant Docker container. I have my network mode set the Interesting that this just now stopped working. I had success with the static ip method up until now. I can try opening the port across the VLANs or moving the WeMo to the same network as HA. |
@TonySherman in case it helps, WeMo devices don't always use the same ports. Even the same device may use a different port after a reboot. Here are the ones that PyWemo tries: https://github.com/pywemo/pywemo/blob/c34e74629a67d74b9dbdf2490d70df215989b0bf/pywemo/ouimeaux_device/__init__.py#L38 Just mentioning this in case there are firewall rules that look for only specific ports. |
@esev Super helpful. I'll add all of those ports to my firewall rule. If firewall rules don't work, I'll move the WeMo to the same network as my HA instance. |
Does anyone have an update? I am on 2022.10.5 Core and recently reinstalled due to some errors I was experiencing after adding HACS. I did make a backup of my old configuration so I may try to restore it. But what is odd is it is discovered, I click Configure and then it errors out. |
I have the same issue. All Wemo devices area accessible from the Wemo app. |
Turn off the power to the devices for a few seconds. They usually come back after that. The way the devices communicate with the WeMo app is independent of the way Home Assistant communicates with them. Sometimes they stop responding to Home Assistant but continue communicating with Belkin's cloud. Sometimes it's the opposite. I'm guessing they're all light switches? Any chance they're on a different VLAN from Home Assistant? |
They are light switches and they are on the same VLAN with Home Assistant. |
This issue is a bit difficult to track down. The WeMo devices have different processes for servicing requests from button pushes, from the WeMo app, and from the UPnP local control interface that Home Assistant uses. So it's possible for one of these processes to stop responding without impacting the other two. I'm not certain if the Dimmer and Wall Switch devices just have a flaw that causes them to be unavailable to the UPnP local control interface, or if the pyWeMo library that Home Assistant uses is somehow causing them to get into a state where they don't respond on the UPnP local control interface (maybe triggering some sort of memory leak bug). I've been doing a bit of debugging with one of my Dimmers (model F7C059). pyWeMo version 1.1.0 contains some fixes that may help. The logging output from the serial interface on the device, where I've been focused on debugging, is showing that pyWeMo is being recognized properly now as a WeMo device. I have had a dimmer that gets stuck in the unavailable state about once per week, requiring a press of the reset button. That device's uptime is currently at 3 weeks right now while I've been testing with the pyWeMo 1.1.0 release.
@tomatac I like this idea. I've been poking around to find a way to reset them through the API, but haven't found one yet. There is a ReSetup action, but it is mainly used for putting the devices back in a mode where the App can reconfigure the WiFi settings. It doesn't reboot the device. Just in case anyone is interested in poking around more... There is more info on the pyWeMo site on how to show all the API commands (using the |
I'll start by kindly asking to point me in the right direction if I'm wrong to post on this old-ish issue. I'm posting because I'm experiencing the same issue immediately after upgrading to core-2023.9.2 from core-2023.9.1 on 2023-09-12. Naturally, my first move was to restore to the backup of core-2023.9.1 but that didn't fix this issue. I have 14 wemo devices (wall switches mainly, some plug-in outlets) and all but one have completely disappeared as devices from HA. The one that remains is showing as unavailable. I've rebooted, reset WiFi and factory reset a couple wemo devices to no avail. I have a flat network with no subnets or VLANs to worry about when troubleshooting this. All wemo devices still work perfectly in the Wemo app; it's only local API communication that seems to have stopped. I'm just wondering where I could start on this. I'm not even sure if the problem lies with HA or Wemo. May I ask for some help to troubleshoot that to at least narrow down if it's a HA issue or something else? Edit: |
I have 6/7 Wemo emulated devices, if "Alexa App" searches for devices on the network, it finds them all. wemo: But even in this way I can't see the devices on HA on the Wemo group. |
Any News on this Topic regarding the Emulated devices ? |
Best to troubleshoot emulated devices using the instructions from pyWeMo. https://github.com/pywemo/pywemo |
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. |
The problem
Belkin WeMo has been configured through the native integration for quite some time. The device became unavailable yesterday in HA and persisted after a reboot and upgrade to 2022.7.3. Removing the integration, rebooting, and the re-adding the integration worked, however there are now no entities. I've also rebooted the device, pulled power and reconneted, and tested it from the WeMo app (that works fine). It's on my network, but HA has not reassigned the entity..
What version of Home Assistant Core has the issue?
2022.7.3
What was the last working version of Home Assistant Core?
2022.7.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Belkin WeMo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/wemo
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: