Giter Club home page Giter Club logo

flow.nodered.shelly3em's Introduction

flow.nodered.shelly3em

Statistics diagram for power use with Shelly 3 EM and InfluxDB on NR-Dashboard

Shows statistics from Shelly3EM on NR-Dashboard.

You need this nodes seperatly installed under "palette":

node-red-contrib-calc
node-red-contrib-influxdb
node-red-contrib-moment
node-red-contrib-ui-artless-gauge

What must be custmoized by you?

Influx Node with your db and take a look @function node: "fields and tags".
Mqtt Topic from Shelly
Path of Log file

Hint:

To store .flow. context variables in localfilesystem turn it on in settings.js:

https://nodered.org/docs/user-guide/context

In my example:

grep -C5 contextStorage .node-red/settings.js
    // Context Storage
    // The following property can be used to enable context storage. The configuration
    // provided here will enable file-based context that flushes to disk every 30 seconds.
    // Refer to the documentation for further options: https://nodered.org/docs/api/context/
    //
    contextStorage: {
        default: "file",
        memoryOnly: { module: 'memory' },
        file: { module : 'localfilesystem' }
        },

Otherwise you must backup and restore context variables on nodered restart.

What to do? Prize calculation on changed prizes with correct historical data. eg: When change cost/month -> calculate prize from history until today with old cost/month but from now on with new cost/month and summarize it.

I will work on this. If you have any suggestions, please let me know. I'm thinking of doing this with an influx query.

flow.nodered.shelly3em's People

Contributors

toxo666 avatar

Stargazers

 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.