Code Monkey home page Code Monkey logo

solar2mqtt's Introduction

Features:

  • WiFi Ap with setup
  • Read and publish the QPIGS, QPIRI QMOD and more....
  • Web display Data for Inverters where support the QPIGS Request
  • Web Update, Reset, Restart, Configure
  • send Data over MQTT
  • Building using Platform.io
  • Live web pages with ajax

Last Added:

  • fix some Wsign Compiler Warnings
  • fix answer string from inverter and remove th CRC
  • fix some lag
  • fix bug with mqtt timer
  • fix crc remove on answer string
  • added json string for inverter types
  • added inverter type selection
  • added configuration page
  • added bootstrap based layout
  • moved some html content to spiff
  • mqtt raw data for QPIGS, QPIRI, QMOD, QID, QPIWS, QFLAG, QPI, QT, QET
  • mqtt debug and serial debug enable in settings.h
  • static device information from the QPIRI command
  • PV power in Watt
  • Inverter Operation Mode

works with

  • pip / PCM 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

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.

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

Like my Work? Buy me a Coffee https://paypal.me/tobirocky

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.