-
Notifications
You must be signed in to change notification settings - Fork 1
4. Software Installation
-
Set Serial Monitor in your IDE to: 38400 Baud
-
Allow the port for OTA (default: Port 8266) in the Desktop Firewall of your IDE PC
-
Install these required libraries in your Arduino IDE or the IDE of your choise
- EEPROM https://www.arduino.cc/en/Reference/EEPROM
- ESP8266WiFi https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi
- ESP8266WebServer https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer
- LittleFS file system https://github.com/esp8266/Arduino/tree/master/libraries/LittleFS
- ArduinoOTA by Juraj Andrassy https://github.com/jandrassy/ArduinoOTA
- ArduinoJson by Benoît Blanchon https://github.com/bblanchon/ArduinoJson
- TaskScheduler by Anatoli Arkhipenko https://github.com/arkhipenko/TaskScheduler
- U8g2lib by Oliver Kraus https://github.com/olikraus/u8g2
- EspMQTTClient by Patrick Lapointe https://github.com/plapointe6/EspMQTTClient
In case I missed a library/tool or didn't name you as the owner let me know so I can fix it.
-
Chose the display resolution in RocMQTTdisplay.ino ~line 72. Default is 128x32 pixel. Optional 128x64, 64x48, 96x16.
-
Compile and Upload the RocMQTTdisplay.ino sketch to the controller.
-
Preconfigure 'rmdsec.txt' in the data folder with your WIFI SSID and WIFI Password before uploading it to the controller. I didn't include a captive portal for Wifi settings as it's not comfortable to run this procedure for many controllers. Also the Wemos D1 mini has just a emulated EEPROM where the secrets are typically stored. So using the file upload to the file system is nearly the same.
-
Important: Upload all files from the data folder via ‘Tools/ESP8266 LittleFS Data Upload’ !!!
If this option is not available in your IDE install the plugin from here: Arduino ESP8266 LittleFS Filesystem Uploader
Do NOT use ‘Tools/ESP8266 Sketch Data Upload’, it will not work. It was for the SPIFFS file system which is deprecated for ESP8266.
Copyright (c) 2020-2024 Christian Heinrichs. All rights reserved. |
---|