Skip to content

ESP8266 based WiFi and MQTT interface for MPPT Inverters

License

Notifications You must be signed in to change notification settings

lucasimons/Solar2MQTT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What works:

  • WiFi Ap with setup
  • Web display Data for Inverters where support the QPIGS Request
  • Web Update, Reset, Restart
  • send MQTT DATA
  • Building using Platform.io
  • Live web pages with ajax

ToDo:

  • add mqtt refresh rate option
  • store mqtt server settings in eprom
  • some other useless things
  • change webpages to dark theme
  • add other inverters

works with

  • pip / PCM devices
  • i solar
  • IGrid
  • All devices from EASUN
  • and many many others based on the chinese solar inverter with a rj45 jack and usb port, primary identified by the display

grafik

Overview

Based around an ESP8266 WiFi microcontroller.

PROGRAMMING: You need to program it before hooking it up to the TTL board! Im using HW Serial since its so buggy using Software Serial and Wifi reliable so its not even worth it.

UART0: Talks to the inverter at 2400 baud and for programming. DISCONNECT RX before programming

UART1: Used for debugging only. Just connect another serial adaptor to D4 with 9600 baud.

POWER: Using a DC/DC or USB power currently. My gear dont have any power on the serial port

WIFI: The system defaults to AP mode on first setup. Surf to "Solar-AP" AP and then surf to http://192.168.4.1/ On this page configure WIFI and MQTT. Then you need to reboot the device either by the reboot botton or hard reboot. No changes are applied properly before reboot

Parts required to build one

Most of the parts can be bought as modules, it's usually cheaper that way.

Approximate prices found on Ebay

  • ESP8266 - Wemos D1 Mini ($2.66)
  • MAX3232 module ($0.70) - it's just a max3232 with 5 capacitors on a tiny little board
  • DC-DC buck module ($1.50) - 12-80v down to 5v
  • LEDs ($0.50) - The leds are for status etc

Total cost: $5

About

ESP8266 based WiFi and MQTT interface for MPPT Inverters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.8%
  • C 13.2%