Giter Site home page Giter Site logo

guysqr / node-red-ha-solar-management Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 832 KB

A Node-RED flow to manage a Sungrow solar inverter and battery. Requires Node-RED and https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant

homeassistant node-red solar sungrow

node-red-ha-solar-management's Introduction

Node-RED flow for managing a Solar+Battery system with Home Assistant

This flow uses the Sungrow Modbus solution provided by mkaiser https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant. I have a SH10RT and SBR128 battery combo, but other combos should work, you will just need to map equivalent controls and sensors to it as are provided by the Sungrow modbus integration.

  • I use the Amber APIs to get the current and forecast solar price and feed-in tarriffs.
  • A Solcast hobbyist account is used to get solar production forecasts.
  • I use the VS Code add-on to review (and create) the needed files in HA.

If you try this flow, please let me know how it goes for you. In particular I am interested in any gaps or flaws in the simple logic approach I am using.

Philosophy

Having experienced SmartShift, I felt that it was too slow to react to price changes (which are quite dynamic in the wholesale market), and that its decisions tended to be a bit opaque and sometimes not logical. I looked at EMHASS, but that seemed overly complicated and the idea of using machine learning on such volatile and unpredictable data, as well as the small data sets involved, seemed a poor fit.

I felt a Node-RED flow using up-to-date live data and able to directly control the system over the local LAN should be able to deliver as good a result or better. A lot of the important decisions are quite simple and mapping them out using flow-based programming makes that logic clear.

Even if you have a different system, I hope that the mapped-out logic provided in this flow can help you manage your own system, or build your own version of this that works for you.

node-red-ha-solar-management's People

Contributors

guysqr avatar

Stargazers

 avatar Henrik E avatar Matheus Canela avatar

Watchers

Daniel Lau avatar  avatar  avatar

node-red-ha-solar-management's Issues

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.