Code Monkey home page Code Monkey logo

solar2mqtt's Introduction

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

Last Added:

  • static device information from the QPIRI command
  • PV power in Watt
  • Inverter Operation Mode

ToDo:

  • Find a way to automatic detect the inverter type and communication protocol
  • add a way to auto build data from string answer
  • Add a webpage to display log / error messages
  • 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 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.

RESET: with HTTP://>ESP-IP</reset you can full reset the esp and bring it to the AP portal

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. 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

solar2mqtt's People

Contributors

softwarecrash avatar daromer2 avatar scottwday avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.