Comments (2)
Glad to hear you found this node useful!
I'm afraid what you're describing is the limitation of Node-RED platform. An excerpt from Node-RED Creating your first node page:
Nodes get created when a flow is deployed, they may send and receive some messages whilst the flow is running and they get deleted when the next flow is deployed.
From my personal experience the same thing happens with other timer node implementations as well - they get deleted and recreated upon deployment of a new flow or a modification of it. The same thing happens with nodes that establish some sort of network connection to some entity - upon deployment connection gets dropped and new connection is created.
Perhaps there is some mechanism to save the state of nodes before deploying a new flow and restore it in the freshly deployed flow that I'm currently not aware of.
from node-red-contrib-controltimer.
I may have found a way to keep the timer in it's running state if the flow it's in gets redeployed. But I want to do it right and it takes some time. I try to do it in a way to allow the user of the node to choose whether they want the timer to continue running from the remaining duration when the flow was redeployed or to reset the duration and start the duration from zero.
Will release new version when ready.
from node-red-contrib-controltimer.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-controltimer.