GithubHelp home page GithubHelp logo

writech / node-red-contrib-controltimer Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 4.0 1.1 MB

Controllable timer for Node-RED

License: MIT License

JavaScript 2.11% TypeScript 38.12% EJS 55.48% Shell 4.29%
delay flow node-red timer

node-red-contrib-controltimer's People

Contributors

writech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

node-red-contrib-controltimer's Issues

Feature request

Im using trigger node to control my motion sensor - light flow. The problem is that I can't control the delay of the trigger node by message. I noticed that your controltimer node would do the same and your to do list has the option of control the timer by message. Is that option coming any time soon?

Timer restarting upon deploy

Hey there,

Thanks for a very useful node! I use it for several different cases. I noticed that if a timer is running and you re-deploy the flow, the timer stops. I'm just curious to know if that behaviour is by design or unintended?

Add TOGGLE command

A toggle would allow for a single button to start and stop a loop rather than having to have two or making a toggle flow.

Loop Mode ?

It is unclear to me what Loop mode does (as distinct to Delay) mode. Maybe some more words (and maybe an example) are warranted in your "help file" ?

Also, I thought I needed Loop mode (but I don't think I did), and when using it in Loop mode, I only got an event when the initial time expired on the 2nd output (compared to the first output when using it in Delay mode).

Restart

Very good and important node but it could be better to have a choice to reset at the end.
instead I just added a new function node which triggers a msg with payload = START

Loop cannot be configured with msg.timerMaxLoopIterations

When I send msg.timerMaxLoopIterations with a specified integer along with the START command in msg.payload, the loop does not stop at the specified integer. Does appear to have the same issue with timerLoopTimeout being overridden

Feature Request: CHANGE action

Hi,

I really liked you timer. I was looking to use it to make a pwm like control of heating floor by using your delay function with variable delay.

Is it possible to add a "change" action that would basically change the current loop settings. The alternative is sending "pause", "start" with new settings and finally "continue" but the output ath the end of the loop turns out to be the continue action payload, the last one sent

thank you,
Tomás

Error undefined

I am not sure, but I get a message all the time, like i am not sending the right payload?

"Error: Can't trigger "undefined" action while state is "IDLE"!"

nevermind it's solved

Feature request: request time left

I'm making a simple save reminder, but I want to be able to check how long is left when I send the appropriate message, Maybe a percentage could be useful too, but that would be easy to calculate, I'm wondering about dumping all all the timer data, but you might be able to argue that you could just save a copy.

TypeError: done is not a function

Hi

I have a simple flow, where I input START to your node, I get:

1/30/2021, 5:19:35 PMnode: 3555ea0f.3e2936
msg : error
"TypeError: done is not a function"

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.