thingsSDK / flasher.js

A GUI tool for flashing the Espruino JavaScript runtime on ESP8266 based boards
154 stars 25 forks source link

Adding a new device Sonoff #37

Open stephenkeep opened 8 years ago

stephenkeep commented 8 years ago

I have found another device that has a ESP8266 inside which would be great to flash:

http://www.banggood.com/DIY-Wi-Fi-Wireless-Switch-For-Smart-Home-With-ABS-Shell-p-1019971.html

I would love to help add these extra devices.

chalkers commented 8 years ago

hi @stephenkeep - do you have these sonoff devices?

Flasher.js only works via serial flashing. Would this device be able to be flashes via USB-to-Serial or is it only flashable over the air?

If OTA we actually do need to add that to Flasher.js' functionality.

stephenkeep commented 8 years ago

Hi @chalkers,

Yes I have 2 of these and I have found out how I can connect to them via serial -> usb:

http://tech.scargill.net/itead-slampher-and-sonoff/

So i just need to make up the cable. Once I have it connected to my Mac, should i just be able to flash it?

One thing to mention is that the esp8266 that is on these only has 1mb flash. Is that enough?

Thanks,

Steve

chalkers commented 8 years ago

Currently we only support the ESP8266 with 4mb flash

chalkers commented 8 years ago

We'll have to update the UI to include devices. I think that's going to be the best way to support multiple devices and firmwares going forward