Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
node-red-contrib-trashschedule
Advanced tools
The node-red-contrib-trashschedule Node is the ultimative Node to manage your Trashschedule events.
Please make sure that you've picked the right timezone into your system settings!
npm install node-red-contrib-trashschedule
Add your trashschedule events into the list.
field | required input |
---|---|
1 | event day (1-31) |
2 | event month (1-12) |
3 | event year (yyyy example: 2021) |
4 | event name |
Select the hour until the trashschedule event will be displayed.
The last field "Name" gives the possibility to change the name which will be displayed for this node into your flow.
You can use the input to trigger events manually. The keywords are listed below.
msg.payload | output |
---|---|
checkTrashschedule | return next trashschedule event |
checkNextThree | return next three trashschedule event |
all | return all trashschedule event |
Every hour the node returns the next trashschedule event (output 1) and next three trashschedule events (output 2). It returns the trashschedule events as an object. If there isn't a trashschedule event available you will receive the payload "Trashschedule events outdated". The next three trashschedule events are packed into an array.
key | value |
---|---|
name | event's name |
day | event's day |
month | event's month |
year | event's year |
You can import this example into your Node Red flow.
[{"id":"fec0be7818a3b438","type":"trashschedule","z":"7035994dcde5f3c9","name":"Trash Schedule","trashschedule":[{"name":"Restmüll","day":"3","month":"9","year":"2022"},{"name":"Papiertonne","day":"4","month":"3","year":"2022"},{"name":"Biotonne","day":"5","month":"8","year":"2023"},{"name":"Gelbe Tonne","day":"2","month":"2","year":"2022"}],"skipHour":12,"x":450,"y":260,"wires":[["b8e1b4ecca4d94b4"],["2514c3ce60ebc8ec"],["867c0090bf72aa2a"]]},{"id":"9ed74172ad019d57","type":"inject","z":"7035994dcde5f3c9","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"checkTrashschedule","payloadType":"str","x":230,"y":220,"wires":[["fec0be7818a3b438"]]},{"id":"2514c3ce60ebc8ec","type":"debug","z":"7035994dcde5f3c9","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":260,"wires":[]},{"id":"867c0090bf72aa2a","type":"debug","z":"7035994dcde5f3c9","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":300,"wires":[]},{"id":"b8e1b4ecca4d94b4","type":"debug","z":"7035994dcde5f3c9","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":220,"wires":[]},{"id":"8b9bbfffbf7eec36","type":"inject","z":"7035994dcde5f3c9","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"checkNextThree","payloadType":"str","x":240,"y":260,"wires":[["fec0be7818a3b438"]]},{"id":"fa3b06b5a4cdbf50","type":"inject","z":"7035994dcde5f3c9","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"all","payloadType":"str","x":270,"y":300,"wires":[["fec0be7818a3b438"]]}]
FAQs
NodeRED Node to manage trash schedule events
We found that node-red-contrib-trashschedule demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.