ESP Easy

Hello together,

today I want to tell you briefly another Firmware for the ESP8266 Controller introduce: ESP-Easy.

We already know the standard firmware from Espressif with LUA, the AT-Firmware or Arduino core. ESP Easy is aimed primarily at beginners, but also suitable in order to in the short term, hardware concepts, and is now in the Smart Home sector is pretty popular. As an Out-of-the-Box Software, many Sensors will allow you to test, read, and then publish.

ESP Easy is available in several versions, the current version bears the title Mega and contains all of the Tools and experimental features which may, however, affect the stability negatively. Therefore, I want to show today is how to compile the Firmware yourself, and then to its Controller loads. We use this Platform.IO and opt for Version 2.0

As Platform.IO installed and used we have already shown in previous posts.

We thus start with the Download of the Firmware, this can be found here:

https://github.com/letscontrolit/ESPEasy/tree/v2.0

Load the directory as usual, on/with GitHub and extract it to documents\PlatformIO\Projects. Then start visual Studio code with PlatformIO and open the project folder:

Navigate to platformio.ini and comment out the unneeded versions from, for our example, we will use the normal Version for 4096k memory:

For a simple comment you can the respective position mark, and with the right mouse button in the command palette open:

Then open the command palette, select "line comment add"

Or "line comment toggle" and the highlighted area is commented out:

should all entries in the platformio.ini be commented out except the two in the Screenshot visible areas. Now we can Compile already, press in the small blue bar on the tick: PlatformIO:Build. Should the process exit with error:

you can Ignore it and still Compile the Code then runs through:

Now you can use the Flash-start the process, we use this time a NodeMCU Amica V2:

In the connection starts up, the Controller is in AP mode and ready for configuration, the password for the AP is "configesp"

If you successfully connected to the network can have your Controller configured. It should automatically open the Config-page of the ESP. If this is not the case, you can manually navigate to http://192.168.4.1 . You should not have access to the Web Interface, you can start to get the Controller and reconnect, note that the Board needs some time to initialize when you first Start everything.

Now the desired Wi-Fi enter. During the subsequent restart of the controller, this is a Bay in the registered network, and its DHCP-based address.

The Firmware is quite well documented, there are many Tutorials for the different Sensors exist. The data to be transmitted usually to a web server or via MQTT sent.

The complete documentation for it here

In a following post we will have a Sensor connection and a temperature alarm with a BME implement, so it remains exciting...

Until the next post :)

Esp-8266Basics software

3 comments

Jens

Jens

Ich bekomme ich die selbe Meldung wie Sprollonis.
Hat jemand dafür eine Lösung?

error: Server does not allow request for unadvertised object 159e31b689577dbf69cf0683bbaffbd71fa5ee10
Fetched in submodule path ‘tools/sdk/lwip2/builder/lwip2-src’, but it did not contain 159e31b689577dbf69cf0683bbaffbd71fa5ee10. Direct fetching of that commit failed.
Submodule path ‘tools/sdk/ssl/bearssl’: checked out ‘89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa’
Failed to recurse into submodule path ‘tools/sdk/lwip2/builder’
Error: VCS: Could not process command [‘git’, ‘clone’, ‘—recursive’, ‘—depth’, ‘1’, ‘—branch’, ‘2.6.3’, ‘https://github.com/esp8266/Arduino.git’, ‘C:\\Users\\Admin\\.platformio\\packages\\_tmp_installing-j1h8ehor-package’]
The terminal process terminated with exit code: 1

Sprollonis

Sprollonis

Hallo,
danke erst mal für den super Beitrag. Bekomme beim compilieren eine Fehlermeldung von Git.

error: Server does not allow request for unadvertised object 159e31b689577dbf69cf0683bbaffbd71fa5ee10
Fetched in submodule path ‘tools/sdk/lwip2/builder/lwip2-src’, but it did not contain 159e31b689577dbf69cf0683bbaffbd71fa5ee10.
Direct fetching of that commit failed.
Submodule path ‘tools/sdk/ssl/bearssl’: checked out ‘89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa’
Failed to recurse into submodule path ‘tools/sdk/lwip2/builder’
Error: VCS: Could not process command [‘git’, ‘clone’, ‘—recursive’, ‘—depth’, ‘1’, ‘—branch’, ‘2.6.3’, ‘https://github.com/esp8266/Arduino.git’, ‘C:\\Users\\marti\\.platformio\\packages\\_tmp_installing-b1xzjwa2-package’]
Der Terminalprozess wurde mit folgendem Exitcode beendet: 1

Einige Versuche mit git-Befehlen habe ich schon hinter mir – leider ohne Erfolg.

Wenn ich es recht verstehe, fehlt ein object auf dem Server – da ich aber neu mit Git und Platformio bin, fehlt mir noch ein wenig das Verständnis.

Möglicherweise gibt es eine einfache Lösung

Danke

Martin Fitzke

Martin Fitzke

Vielen Dank für den Beitrag. Ich habe schon ein bisschen in die Dokumentation geschaut und bin gespannt. Bis jetzt kannte ich nur das WiFi Monitor Projekt, das man zu eigenem Code dazu basteln kann.
Viele Grüße und eine prima Woche,
M. Fitzke

Leave a comment

All comments are moderated before being published

Recommended blog posts

  1. Install ESP32 now from the board manager
  2. Lüftersteuerung Raspberry Pi
  3. Arduino IDE - Programmieren für Einsteiger - Teil 1
  4. ESP32 - das Multitalent
  5. OTA - Over the Air - ESP programming via WLAN