-
Notifications
You must be signed in to change notification settings - Fork 196
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
ESP (NodeMCU) crashes when adding the 4th switch... #35
Comments
Past few weeks I have been working on a smart home skill and a website which allows you add development boards such as WEMOS D1 to Alexa eco system without emulating as a belkin switch. Mainly, because some people have issues in the UDP broadcast and different Alexa devices such as ECO, DOT has different XML formats and this is logic is quite difficult to code. So, I belive moving forward using the smart home skill is the right thing to do; So, I would like to invite everyone to give it a try.
4.1 Link, eneter you login details to sinric.com
You can turn on/off same like emulating a belkin device. No need to say like Alexa ask sinric to turn on bedroom lights. Simple as a Alexa turn on bedroom lights. If you have any issue or comments report it here; Thanks |
For me work 4 switches just fine on NodeMCU 0.9. Just to make sure - did you change the listen port and introduced the methods at top of *.ino ? ` lvngRmCornerLamp = new Switch("corner lamp in living room", 81, lvngRmCornerLampOn, lvngRmCornerLampOff); lvngRmSubwoofer = new Switch("subwoofer in living room", 82, lvngRmSubwooferOn, lvngRmSubwooferOff); lvngRmSocket4 = new Switch("socket 4 in living room", 83, lvngRmSocket4On, lvngRmSocket4Off); |
Hello!
First of all: thank you very much for sharing your code with us!!!
Unfortunately I'm facing a serious issue when adding my 4th swith to the code.
3x Switches are running very smooth, but after adding the 4th my ESP crashes with:
Exception (28):
epc1=0x40203bfb epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
Is it possible that there is an issue with heap consumption?
I'm starting with:
Adding switch : eins index : 0 => loop heap size: 21248
Adding switch : zwei index : 1 => loop heap size: 21296
Adding switch : drei index : 2 =>loop heap size: 21216
and once I enter the loop (): => ... loop heap size: 6584
Any idea what could cause that crash after adding the 4th switch?
BR
Martin
The text was updated successfully, but these errors were encountered: