This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Schedulers - User event
#1
Hello
There are predefined "Run at" options in schedulers:
- Specific Time
- Sunrise
- Sunset

Can I specify my own event which would be used as a trigger for the scheduler? Of course with positive starting offsets only.

What I need:
Sunrise and sunset works great. But sometimes I need not calculated values but measured values taken as group objects from my meteo station.

Is it possible to modify the list (through database etc) of events in this way?
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#2
Unfortunately, custom events cannot be implemented like this. The list can be modifed with custom JavaScript, but the scheduler backend would not know how to calculate run time for this event.

The only solution I see is to use a separate scheduled script for this.
Reply


Forum Jump: