Giter Site home page Giter Site logo

sineos / node-red-contrib-hysteresis Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 229 KB

Provides a hysteresis function in Node Red with an additional focus on RedMatic

License: GNU General Public License v3.0

JavaScript 49.32% HTML 50.68%
node-red redmatic hysteresis homematic

node-red-contrib-hysteresis's People

Contributors

dependabot[bot] avatar sineos avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-red-contrib-hysteresis's Issues

New option : Output message update on every input message

Add option for updating msg output for every input message recived. This will increase reliability if hysterisis node controls a device over communications which is unreliable. Eg if first message fails to transmit, then hysterisis node will send a new one on next msg input.

Error when "Thresholds missing"

Hello Sineos!

If threshold type is dynamic, and something is changed in code causing node redeployment, node shows "Thresholds missing" after deployment and does not output anything when next current value is received. After setting threshold all is fine of course.
Could it be possible to add some error message so it can be caught in the code in next node?
Thanks for the node!
Reggie

'Send initial message' within hysteresis band

This component is very useful, thank you.

An enhancment would be to ensure, that with 'Send initial message' active, you always get an initial message. This is currently not the case, if the value is within the two theresholds at start. The explanation is that this is because the previous value is unknown, which is correct. For the proposed enhancment, you would need to add a parameter with the desired default value, i.e. 'Default initial level' that would let you choose ' Upper Threshold' or 'Lower Threshold' or 'nothing'. Then the documentation would say:

"Send initial message will simply match the first valid value against the lower or upper limit and send an output if any of the levels is exceeded respectively underran. If the first valid value is in between the lower and upper limit, send an output according to the 'Default initial level'".

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.