vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
387 stars 71 forks source link

I added to much devices to fauxmo? #261

Open Haifeif opened 1 week ago

Haifeif commented 1 week ago

Hi there. I used fauxmo server for a while without any problems. So I started to add more and more devices to it. When I reached 14, the problem started. Suddenly, the devices were "swaped" - I said Alexa, turn Light ON, and it turned the Fan on.

After checking my code 1200 times, I started to erase devices. And since then nothing works anymore. Alexa is no longer finding new devices, still remembers "old" devices, all in all a complete mess.

Any idea, what wentr wrong? How can I kill all added devices from Alexa? Is there a "factory reset"?

Rgds, Uwe

Haifeif commented 1 week ago

Oh, I found "Maximum number of devices #150" in the discussion part. It seems that I'm not the only one with that issue.

Haifeif commented 1 week ago

A bit more details needed?

// definition part

define ID_SIGNAL "Signal" // DP Alarm_B

#define ID_MEDIKAMENT   "Medikamente"   // DP Alarm_U
#define ID_BALKON       "Balkon"        // E14 LM Zigbee auf Balkon

// initialisation part // fauxmo Server setup fauxmo.createServer(true); fauxmo.setPort(80); fauxmo.enable(true);

// fauxmo Parameter Übergabe fauxmo.addDevice(ID_SIGNAL);
fauxmo.addDevice(ID_MEDIKAMENT); fauxmo.addDevice(ID_BALKON);

So right now only 3 devices. If I start alexa to search for new devices, there is non!

If I say: "Alexa - Balkon an" the serial monitor gives me: [MAIN] Device #2 (Balkon) state: ON value: 254

If I then say any other device name, alexa doesn't find any.

Having saed that, here comes the strasnge: after the serial monitor feedback, the alexa app shows a device named "Balkon".

Is there a way to refresh what alexa has memorized? Kind of a forget all old issues?