Closed leftytennis closed 3 years ago
This is currently not possible. There is only a global offset for sunrise/sunset.
I can see where this is a reasonable use case to want. Let me look into adding a per-sensor offset. Give me a few days to poke around.
Awesome, thanks!
@jt70471 I've pushed out a new release (1.6.1). Please give it a try.
Using the same example you gave above, you would configure it as:
{
"name": "Bedroom Trigger",
"minOffTime": 3600,
"minOnTime": 180,
"maxOnTime": 300,
"activeTimesForSensor": [
{
"start": "sunrise",
"end": "sunrise",
"maxActivations": 3
}
],
"offset": {
"sunrise": -30,
"sunset": 30
}
}
Hi, I have setup the global offset for sunrise/sunset, but I'd like to have an active time period for a specific sensor to be 15 minutes before sunrise until 15 minutes after sunrise.
Is this possible? If so, can you show me the syntax to use in the plugin config?
I tried this:
But receive the following error:
Thanks