UPDATE 2017-08-14New Windows version (v.0.4.0.0) is out!This release that catches up with changes that were already available in Linux ESPresso. Additionally NodeMCU firmware type autodetection (INT / FLOAT) was introduced to customise LuaSrcDiet commands. This should be useful for integer firmware users since default LuaSrcDiet settings may produce results unreadable for integer NodeMCU.

I’m currently developing a motorized awning driver project (which I hope I’ll be ready to present in couple of weeks) that uses ESP8266 and NodeMCU. The problem I had was that to physically access the driver itself a ladder was necessary. Not a big deal unless I wanted to update my Lua files couple of times a day.

After some research I found a solution. Unfortunately it involves some additional software (for virtual COM ports) and even though I was able to communicate with ESP via console, uploading Lua files using standard means (ESPlorer, LuaLoader) in most cases ended with failures.

That’s why I decided to write my own piece of software which I (obviously) named 'ESPresso'.

You may say it’s another Lua uploader but it differs from ESPlorer or LuaLoader in some crucial aspects:

First of all: it connects to ESP directly over TCP/IP port (in other words – over WiFi). It’s not using any serial port (physical or virtual). No additional software on computer side is required. The only thing you need is to run the daemon script on the ESP side (standard script from NodeMCU docs that redirects serial output to TCP – see below for details).

It represents a two pane filemanager approach. It’s not trying to be an IDE. It’s designed to effectively send files to ESP, compile them and run. All these things are IMHO only an addition in other state-of-the-art ESP managers. For ESPresso file management on ESP is the main task.

An ESP8266 working under NodeMCU (the newer the better). You need to run a 'telnet' script. You may use the one from NodeMCU examples or use your own (it should simply redirect all serial output to TCP socket and grab all the data from the socket and send it to the NodeMCU interpreter). CAUTION: Telnet script from old NodeMCU docs which was copied to many websites is NOT working properly with new NodeMCU versions. Use the one from Github.

For more details and instructions please look into the readme.txt file in the archive attached.

This software was written as a commodity for my ESP project. I’ve got some ideas for its further development so if you like ESPresso just let me know by posting here to encourage me to keep working on it.

User mini profile

AH SH wrote:Im a bit confusedin the beggining, do I need to connect the esp8266 module to computer using cable or not??if not how do I upload telnet script?

Yes - you need to connect the ESP8266 module to the computer using cable - at least once. You need to upload the telnet script (using standard means) and also make sure that it's running (you can add dofile('telnet.lua') to you 'init.lua' script.Another thing is that ESP needs to be in your network and have an IP address assigned.

User mini profile

- Sun Sep 04, 2016 5:45 am#54430
Hi Lukasz,I tried the ESPresso and it worked on the first time. I must thank you for the Windows version , I do not use Linux . I had a problem only when using DIET. After transferring have been the files damaged. It still my homework , because I have no experience with LuaSrcDiet.Because my frequent applications are tiny ESP8266 web servers , I will try to do a mechanism to incorporate WiFi Upload in to them. I already have some idea.