sonoff esp8266 #5617
Replies: 1 comment
-
Posted at 2016-10-03 by DrAzzy You don't have to reconfigure the wifi in on init. Once you do wifi.save() the parameters are saved and will be remembered. Posted at 2016-10-04 by Wilberforce How are you powering sonoff when it's not connected to the commuter via USB? Does it have it's own dc convertor from mains voltage? Wi fi won't come up if the power supply is not powerful enough - I think you need around 600ma. Posted at 2016-10-04 by azer OK for the wifi parameter. I will remove the wifi.save function. The sonoff module use an input directly from the main power (90V-250V) and has his own convertor: https://www.itead.cc/sonoff-wifi-wireless-switch.html Posted at 2016-10-04 by @allObjects ... anyway: where does the print() go when you are not connected anymore to the Web IDE? Is it blocking the device, because the/a buffer is full with print? Remove the print()s and give it another shot... Posted at 2016-10-04 by @gfwilliams
I'd just remove that line... Posted at 2016-12-06 by Mr.Peu Salut @azer, what's your status? Posted at 2016-12-06 by azer Hello. I ended up using arduino to program my esp. I'll try again using espruino when i have more time. Posted at 2016-12-06 by Mr.Peu Ok, thanks 👍 Posted at 2016-12-08 by Will
stopAP is for when you don't want the ESP to be an access point. It is possible for it to be mixed/both, but probably cleaner to turn off the AP if not used. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-10-03 by azer
Hi, forgive me for my bad english. I'm using a sonoff module that have a relay and a led. I have falsh firmware with espruino v1.87 and I have wrote a code to control the relay and the led from a we page.
If I use the board connected on USB, it works well. But when I add the save() function, I can't control anymore the relay and the led. If I plugg off the usb and connect the board to 220V (france), the board is not responding on wifi. So I think that the board doesn't store my code:
Any idea please ?
Beta Was this translation helpful? Give feedback.
All reactions