Giter VIP home page Giter VIP logo

node-red-contrib-bigtimer's People

Contributors

gablau avatar

Watchers

 avatar  avatar

node-red-contrib-bigtimer's Issues

Wrong data in msg.time and msg.exState - not taking into consideration second timer

After ending timer, on output #2 msg.time and msg.exState shows incorrect data. It doesn't take into account the start of the second timer, just show the next time of start this timer.

e.g.
When
On Time parameter is set to "22:00" and Off Time for "1 minutes" and
On Time2 parameter is set to "10:00" and Off Time for "1 minutes"

msg.time which is (or I suppose it is) responsible for next switching on BigTimer, reports "23hrs 59mins" and
msg.exState do reports "Off for 23hrs 59mins" (in fact not sure why it is called exState

Expecting "11hrs 59mins" and "Off for 11hrs 59mins" respectively, or, better "Last ON at 10:00"

EDIT IMPORTANT:
The above problem occurs only for timers settings exactly as in above example. When switched (On Time = 10:00, OnTime2 = 22:00), it shows ok.
Moreover, it only occurs when checking it at the end of the day (past 22:10). At the morning, e.g. 10:20, for both timers settings (10:00 / 22:00 and 22:00 / 10:00) it does indicate OK.

timer X sending payload every second

When I use timer x to override the bigtimer schedule it sends the payload every seconds until the timer is finished.
Normally it should send it only once like the rest, right ?

I am using version 2.2.5 of bigtimer

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.