Skip to content

ESP8266 based WiFi and MQTT interface for MPPT Inverters

License

Notifications You must be signed in to change notification settings

derLoosi/Solar2MQTT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features:

  • WiFi Ap with setup
  • All Data over MQTT, Writeable pints for ac Charge and Solar Charge
  • Website with all essential data
  • Web Update, Reset, Restart, Configure
  • Building using Platform.io
  • Live Data over Webpage

Last Added:

  • added configuration page
  • added bootstrap based layout
  • mqtt raw data for QPIGS, QPIRI, QMOD, QID, QPIWS, QFLAG, QPI, QT, QET
  • static device information from the QPIRI command
  • PV power in Watt
  • Inverter Operation Mode

ToDo: (Need Help)

  • Restruct it to use with command lists of inverters
  • create lists with commands for each protocol id and subprotocol to autoselect the right inverter

works with

  • PIP devices
  • i solar
  • IGrid
  • Many 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
  • Take a look at the device list in the wiki
  • for P18 Protocol use this fork: https://github.com/BMBIT-oss/Solar2MQTT_P18

live

edit

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 3.3V DC Buck Converter that can handle up to 20V or a DC/DC or USB power currently.

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.

Parts required to build one

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

Questions? join https://discord.gg/2CcP74dBQc

About

ESP8266 based WiFi and MQTT interface for MPPT Inverters

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 75.8%
  • C 24.2%