Giter VIP home page Giter VIP logo

Comments (5)

riban-bw avatar riban-bw commented on August 9, 2024 1

I have changed the code quite a lot and now see that the Alexa skill is able to handle more than 4 connections so I suspect the issue I saw was to do with message timing (you sometimes need to scan for devices several times) and some kind of reference overlap???? Anyway - ignore last comment about not handling more than 4 devices on one IP address. I have found a limit due to the quantity of webservers and hence the memory usage (probably). If I instantiate more that 12 switches the program crashes but even with 12 it will also crash when http traffic begins. 8 or 9 works - 10 gets a bit temperamental.

from arduino-esp8266-alexa-multiple-wemo-switch.

riban-bw avatar riban-bw commented on August 9, 2024

I am also suffering this issue. I can't figure it out yet. All 8 Switches are created and 7 of the 8 server ports are open but the same (last) 4 responses are sent twice to the Alexa scan. It is odd that the 7th server socket is not opened and adding debug info suggests the 7th webserver is not actually instantiated, despite the serial output saying it is. Very odd!

from arduino-esp8266-alexa-multiple-wemo-switch.

riban-bw avatar riban-bw commented on August 9, 2024

I found that the code could not bind to port 87 (which may suggest some other code has this port open - should check for security hole). Changed my port numbers to 8081 - 8088 and got same results (last 4 switches sent twice during discovery) but am able to connect to each port and see correct response to /setup.xml so looks like an issue in the discovery code....

from arduino-esp8266-alexa-multiple-wemo-switch.

riban-bw avatar riban-bw commented on August 9, 2024

Added more debug and I see that this library appears to be sending the correct response to discovery so maybe the Belkin skill is limited to 4 switches per host. If so - there isn't much we can do about this other than limit this code to 4 switches (or possibly add more IP addresses but I don't know if the network library supports that).

from arduino-esp8266-alexa-multiple-wemo-switch.

juanjocastillo avatar juanjocastillo commented on August 9, 2024

Hi!! Where can i find this new code? In this repository says it was modified one year ago...

from arduino-esp8266-alexa-multiple-wemo-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.