Giter VIP home page Giter VIP logo

Comments (7)

niklaswall avatar niklaswall commented on July 17, 2024 2

Just pushed v0.0.14 that adds a new filter-node with this functionality. Please try it out and report any issues.

Have a nice week end!
/Niklas

from node-red-contrib-light-scheduler.

niklaswall avatar niklaswall commented on July 17, 2024 2

@rhoddan that's correct. It does currently don't care about the overrides.

Since I used msg.payload for the overrides, that would mean that I have to block these msg from being forwarded to the outputs and since the override keywords are so basic that could have a problem if you for exmaple want a msg.payload of 'stop' to be forwarded to the correct output based on the schedule.

I'm going to add the override functionality back, but will move it to msg.override so that it's easy to determine if it's a override msg or a "normal" one.

/Niklas

from node-red-contrib-light-scheduler.

niklaswall avatar niklaswall commented on July 17, 2024 2

Absolutely. I think that one will need to use both msg.payload and msg.override initially to not cause to many breaking setups.

/N

from node-red-contrib-light-scheduler.

tsprivate avatar tsprivate commented on July 17, 2024 1

I have the same used @brammh .. but I have setup a dedicated flow with your node which is switching a global variable (eg. global.Light =true/false or ON/OFF) .. I check now the my flow on the variable to pass-through the sensor-trigger or not

from node-red-contrib-light-scheduler.

rhoddan avatar rhoddan commented on July 17, 2024 1

perfect! Maybe it can be good to change (or complement) the standard node (not the filter node) so it uses msg.override as well (just to have a standard behavior)?

from node-red-contrib-light-scheduler.

niklaswall avatar niklaswall commented on July 17, 2024

Hi,

I have actually done this myself as well, but have not decided to release it since it has it's problems.
If you have the code available, please make a pull request so that I can look into it in more detail!

/Niklas

from node-red-contrib-light-scheduler.

rhoddan avatar rhoddan commented on July 17, 2024

Really good function with the filter. It seems not to be possible to send override codes to the filter node.

from node-red-contrib-light-scheduler.

Related Issues (20)

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.