-
Notifications
You must be signed in to change notification settings - Fork 43
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
More than 3 wemo device, esp is crashing #4
Comments
Hey, which type of ESP8266 are you using? I've definitely used more than 3 before, but will test again in the next couple of days |
I'm using a wemos d1 mini |
@dr-apple: did you find a solution for you problem? I'm facing the same issue? (Could it be a heap issue in the code? |
Could you please provide your coding? My crystal ball does not show it to analyse your problem ;-)
Do you also declare GPIO´s in your sketch? Or does it crash even without declaring GPIOs?
Br
Sascha
Von: BlackyS [mailto:[email protected]]
Gesendet: Donnerstag, 4. Januar 2018 23:44
An: witnessmenow/esp8266-alexa-wemo-emulator <[email protected]>
Cc: Subscribed <[email protected]>
Betreff: Re: [witnessmenow/esp8266-alexa-wemo-emulator] More than 3 wemo device, esp is crashing (#4)
@dr-apple<https://github.com/dr-apple>: did you find a solution for you problem? I'm facing the same issue? (Could it be a heap issue in the code?
Br
Martin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#4 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKwM-wmEfsd35wXnxFPSJ-yKvDqH_gnwks5tHVQYgaJpZM4MHxXw>.
|
Hi Sascha, |
WiFi client secure uses 20k of heap I'm pretty sure so it definitely limits
what else you can do on a board
…On 5 Jan 2018 5:38 pm, "BlackyS" ***@***.***> wrote:
Hi Sascha,
Sure - this make sense ;)
I just thought that this problem could be some sort of a general issue ...
and I think I solved it myself in the meantime ;)
I used this code together with some other ressource hungry code
(WIFIManger, WifiClientSecure und ESPAsyncTCP, MQTT Lib...) ... and I
finally noticed that it has something to do with running low on heap memory
... 3 Switches were ok, but the 4th switch just hit the limit....
By using the latest builds of ESP Bordmanager (Arduino IDE) + updated all
used Lib's + removed all debugging stuff - I noticed that I have some heap
memory left und my code runs now smoothly with 4 switches (and that's all I
need).
So thank you for your help!
BR Martin
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABfXwoNCHEErs21mQ-irwlQo0qoAbRaJks5tHl4NgaJpZM4MHxXw>
.
|
I testet your lib, very cool ! Thank you !
But then i add 3 devices, it works, but wenn alexa scan the wemo devices, the esp crash :-(
Why ?
Log:
Adding switch : Keller Licht 1 index : 0
Adding switch : Keller Licht 2 index : 1
Adding switch : Keller Licht 3 index : 2
Got UDP Belkin Request..
Sending response to 192.168.0.171
Port : 50000
Response sent !
Sending response to 192.168.0.171
Port : 50000
Exception (28):
epc1=0x40210eea epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000004 depc=0x00000000
ctx: cont
sp: 3fff5bb0 end: 3fff5fd0 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3de0c112
~ld
The text was updated successfully, but these errors were encountered: