Giter Club home page Giter Club logo

streaminganalytics-sunsynk's Introduction

streaminganalytics-sunsynk

Sunsynk integration for Cumulocity Streaming Analytics

EPL Apps

The EPL Apps under the epl/ folder can be added to a Cumulocity IoT tenant in order to gather data from a SunSynk PV/inverter/battery setup and Octopus Energy account. The live data from those sources are then visible in your Cumulocity IoT tenant. The EPL Apps also generate derived measurements and can also be used to automatically configure your inverter and batter depending on pricing and weather forecasts.

The Apps that are available are as follows:

  • epl/SunsynkDataCollector.mon - Collects all the live data from your Sunsynk account
  • epl/OctopusPriceCollector.mon - Collects pricing information from your Octopus account
  • epl/WeatherDataCollector.mon - Collects weather forecasts for your location
  • epl/DerivedPricing.mon - Calculates derived price metrics, like current cost per hour

There is also a file called SyncApp.mon, which is just used to keep this repository up to date with changes to the development tenant.

In order to deploy any of these files, just copy the contents into a new EPL App in your tenant. Configuration of the app is done via tenant options.

Tenant Options

The following tenant options should be set in your tenant, depending which Apps you have loaded and features that you need:

  • apamax.sunsynk/username - your Sunsynk username
  • apamax.sunsynk/password - your Sunsynk password
  • apamax.sunsynk/inverterId - The ID of your Sunsynk inverter
  • apamax.octopus/apiKey - Your API key for your Octopus account
  • apamax.octopus/products - A comma-separated list of product names for which you want prices
  • apamax.weather.location - Your location in lat,long format
  • apamax.weather.timezone - Your location in Area/City format

Devices created

The following virtual devices will be created in your tenant against which measurements will be logged:

  • sunsynkINVERTERID - The live data from your Sunsynk inverter
  • octopusPrices - current and future pricing data for octopus products
  • weatherDataLAT.LONG - weather forecast information for your location
  • derivedPricing - derived pricing x usage data

streaminganalytics-sunsynk's People

Contributors

matj-sag avatar mjj29 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.