Thanks @bbodenmiller! This is really helpful.
[quote=ācanadadry, post:59, topic:1704, full:trueā]
Iām getting the following error after adding switchesā¦
physicalgraph.app.exception.UnknownDeviceTypeException: Device type āWemo Switchā in namespace āmujicaā not found. @ line 323
Details:
-All WeMo items show up in the WeMo app
-Canāt add outlets with the Smart things app function find things
-Some outlets connect to the main network via a wireless repeater and the ones that do show the MAC address of the repeater not the device
-WeMo outlets both insight and regular are set to static IPs
It appears my wemo insight switches are now LAN Wemo Switches and this no longer works
It is a known issue caused by who knows what. Mine are all not working also.
Iām not having issues with my Switch or Insight.
I have allocated mine fixed ip addresses when I first got them 18 months ago.
Do you guys who are having issues use static ip?
Iām just trying to help and make suggestions.
Sorry, I meant that the switch still works but itās gone back to being just switch. The custom code allowed for power usage monitoring. It worked really well until the update and I had notifications when the power usage dropped between a certain wattage. Now all I can do is turn it on and off
Hmmā¦ I just found this, and I went an changed the device type in the ide from lan Wemo switch to the device handler listed here and clicked save Seems to be working for that paricular insight
Uh duh. Iām an idiot. Thank you so much for that!! What an easy fix!! Thanks!!!
Running into some problems though, itās not refreshing automatically the power usage. Trying to figure out core, with some minimal luckā¦ if you get somewhere with that let us know,
Mineās back to working as normal. Just ran the dryer for 20 seconds. I did press refresh to see the power usage. Then I turned the dryer off and walked away and got my notification that power usage had dropped below my set 7W down to 3W. All is well in the world again
Do you have wemo connect running? How about the rest of your wemo devices are they on lan or wemo connect
When I go in the app to Automation > Smartapps, wemo connect is no longer there though I do have a Wemo Maker (Connect) that I added in the IDE. My Wemo LED bulbs are direct to the ST Hub
In the IDE, I changed the Insight Switch device type to Wemo Switch but itās the customised Wemo Switch at the bottom of the list, not the stock one part way up.
Then back in the app, I added a Smartapp > Energy management > Energy Alerts and selected the insight switch to send a push notification if Reports Above 2400W or Reports Below 7W
I did this for both Insight Switches I have
Ah crap. Youāre right. The usage isnāt refreshing itself
This was thereā¦ and now because of the upgrade its almost thereā¦
Is anyone free to look at the code and see why the polling is not updating the power usage? Iāve gotten Core to poll and refresh the device, it only refreshes time used, but not power
My wemo insight is not reporting power usageā¦ any one make any progress on this? I would help but I donāt know anything about writing device type handlersā¦
I canāt even manually refresh the power usage now
- Log into the IDE add the device handler from the link below.
- Go to āmy devicesā in the IDE, select the insight switch
- slect edit and choose the āwemo switchā cutsom DH that you just added
- Done!
Thanks, I swear that was the exact code I was using. I copy pasted it (I should have done a compare) but now it seems to be working. Thanks.
BTW - I have a few of these insight switches Iām looking to sell / trade.
Whats interesting is that I pasted the code, (Iām sure it was identical to what I had before) and it was working. next day, not reporting in Action tiles. odd behavior.