thingsboard / rule-node-examples

Examples of custom Rule Nodes for ThingsBoard contribution guide
Apache License 2.0
14 stars 52 forks source link

Recreate PE Scheduler as a custom rule node #8

Closed Raven888888 closed 2 years ago

Raven888888 commented 2 years ago

Is it possible to recreate PE Scheduler as a custom rule node in CE?

Was thinking something like this as a separate rule chain, disjoint from any other rule chains. The Scheduler node is a custom rule node image

Any pointer is appreciated!

smatvienko-tb commented 2 years ago

Hey! You can generate messages with a fixed interval infinitely. Let's say, each minute. Then you can develop a custom rule node that makes output True when action is needed and False when action is not needed