sineos / node-red-contrib-hysteresis Goto Github PK
View Code? Open in Web Editor NEWProvides a hysteresis function in Node Red with an additional focus on RedMatic
License: GNU General Public License v3.0
Provides a hysteresis function in Node Red with an additional focus on RedMatic
License: GNU General Public License v3.0
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.
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
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'".
Hello.
Can you please provide an example flow or more information on how you can send a message to change the upper and lower trigger thresholds .
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.