I would recommend micropython on the esp8266 as then you can use the same code that was running on the pi with a few tweeks.
https://github.com/micropython/micropython/tree/master/esp82...
http://docs.micropython.org/en/latest/esp8266/
No comments yet.