Giter Site home page Giter Site logo

smart-grid-pi's Introduction

Smart Grid Pi

This repository contains the code that runs on a Raspberry Pi to control the Smart Grid Ready input of a heat pump, based on the current electricity production of a solar power system.

What is Smart Grid Ready? SG Ready heat pumps can be controlled to increase the temperature set-point when the electricity is cheaper or when there is a surplus of power from a PV system.

The program collects every REFRESH_TIME_SECONDS seconds the measurements of domestic power generated and consumed from the SolarEdge monitoring API. When the power surplus is greater than MIN_POWER_SURPLUS_WATT then the heat pump is set in "Recommended ON" state.

Environment variables

REFRESH_TIME_SECONDS = 15
MIN_POWER_SURPLUS_WATT = 2000
SOLAREDGE_API_BASE_URL = https://monitoringapi.solaredge.com
SOLAREDGE_API_KEY = your-solaredge-api-key
SOLAREDGE_SITE_ID = your-solaredge-site-id

You can find your SolarEdge Api Key and site ID from the SolarEdge web dashboard settings.

My components

  • PV Inverter: SolarEdge SE5000H
  • Heat pump: Mitsubishi Ecodan SUZ-SWM80VA (external) - Hydrotank ERST20D (internal)
  • Board: Raspberry Pi 3 Model B
  • Relay: AZDelivery KY-019

smart-grid-pi's People

Contributors

andreaciri avatar

Watchers

 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.