biddster / node-red-contrib-wemo-emulator

Why might you want to emulate Wemo? Well I wanted to be able to control my Node-RED Raspberry Pi using my Amazon Echo. The Echo has Wemo support built in so I thought I'd give it a try.
17 stars 8 forks source link

Not disappearing #4

Open scargill opened 8 years ago

scargill commented 8 years ago

Works a treat - but - if you DELETE it..... and then do a search with Alexa - it is still there - you have to reboot.

biddster commented 8 years ago

Thanks for the report, I'll look into it.

I'll check that I'm handling all the lifecycle events correctly.

biddster commented 8 years ago

Hmm. Odd. I'm definitely calling close on the wemo emulator when the node is deleted. So the http server should be shut down. It is on my mac, confirmed via lsof.

I'll try to debug on the pi.

Z18Aplha commented 5 years ago

i have the same issues. alexa finds my devices (double). I disconnected my raspi, but alexa finds my wemo switches. I have no idea..

caobach42 commented 4 years ago

I have same issue, forget all then stop node-red then discover device, viola! all devices (double) still appeared any idea that it caused by Echo itself?

JontyWeightman commented 4 years ago

I have exactly the same issue - upgraded to 1.0.0, deleted all devices, restarted node-red and rediscovered all devices. All wemo devices now duplicated in Alexa. I have tried this on echo devices and on alexa web page - same result.

JontyWeightman commented 4 years ago

OK - seems to be an Alexa issue - the devices are found even if the raspberry pi running homebridge is turned off.... ?

biddster commented 4 years ago

That's a new one on me. I'll have a look here but it sounds like something I won't be able to fix.

caobach42 commented 4 years ago

Beside duplicate devices now sometime it couldn't discover new devices, i moved to this emulator, seem good https://github.com/datech/node-red-contrib-amazon-echo P.s still try to find way to remove wemo devices even stop Node-RED