Comments (7)
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.
@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.
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.
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.
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.
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.
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)
- Randomisation not working correctly (+ solution)
- Behaviour on inputs HOT 1
- Always Exporting OFF
- Document behaviour of Sun / dusk Dawn HOT 5
- Override Mode Intermittently Resets HOT 1
- Custom threshold for Dusk/Dawn HOT 3
- Lights turn on before schedule HOT 2
- Filter always off HOT 1
- Randomness not working
- Node-RED crashes in HA
- Add offset to scheduled times HOT 1
- extra iformation
- I don't have grahical editor HOT 1
- suggestion: make output ''minutely'' a chosen time
- Use sunrise/sundown together with random
- weekly schedule with just one definition
- JSON data output ..
- installed node red to have a look at your scheduler
- input via UI
- Add odd/even weeks
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-light-scheduler.