/miningmonitor

Simple ESP8266 program to show Ethereum price and stats from your mining rig on an OLED display

Primary LanguageLuaMIT LicenseMIT

miningmonitor

Simple ESP8266 program to show Ethereum price and stats from your mining rig on an OLED display

Getting Started

You will need an ESP8266 board and an SD1306 OLED display to build this project.

Wiring

Connect 3.3v to 3.3v, GND to GND, SDA to D3 and SCL to D4. You can use other GPIO pins if you like, but make sure to update the pin numbers at the top of update_display.lua.

Flashing the firmware

You can either use the included NodeMCU build or make your own at https://nodemcu-build.com/. Just make sure that the modules cjson, file, gpio, http, i2c, net, node, tmr, u8g, uart, wifi and the fonts fub14 and 6x10 are included. You also need to tick 'TLS/SSL support' towards the bottom of the page. Flash the firmware with your preferred tool. I used this one: https://github.com/marcelstoer/nodemcu-pyflasher.

Uploading the code

Again you can use your preferred tool but I recommend ESPlorer. In ESPlorer, open the 3 LUA files in the left part, connect to your ESP8266 (sometimes you have to reset the ESP8266 for the tool to recognise it), set your SSID and password in init.lua and your Ethereum Wallet address for your Nanopool account in getrates.lua and click "Save to ESP" for each of the 3 files.

Authors

  • kieranc - Initial work - kieranc
  • Jaro Meyer - Adding support for Ethereum, mining stats and various other things - o0pwnd0o

License

This project is licensed under the MIT License - see the LICENSE file for details