BI Event Schedule Will Not Process Relative Event Time Past Midnight

Alaska Country

Getting comfortable
Joined
Jun 10, 2021
Messages
449
Reaction score
657
Location
Alaska
Using BI version 5.7.6.7

Setting up a schedule with PTZ/Control to switch a Dahua HFW-5442E-Z4E based on local sunrise/sunset times to switch camera profiles from full-time day to general to full-time night.

The issue is that our local sunset is at 11:27 pm. Would like the camera to switch one hour later from full-time day to general.

The event schedule for that camera will not allow 12:27 am to be set relative to sunset. i.e. the check box "Relative to sunrise/sunset" is grayed out.

It would appear BI considers times after midnight to be relative to sunrise. Plus BI will negate the 'relative' selection (grayed out) as the time is beyond the 2.5 hour program limit. This is correct if using sunrise as the reference. However, BI needs to use sunset as the reference point and not sunrise in this example of a sunset close to midnight with an event time that is after midnight.

Suggestions on a workaround? BI Bug?

event_schedule_1.PNG

event_schedule._2.PNG

event_schedule._3.PNG
 

Attachments

Last edited:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,144
Reaction score
1,249
Location
SF Bay Area
Here's a possible work around.
 

Alaska Country

Getting comfortable
Joined
Jun 10, 2021
Messages
449
Reaction score
657
Location
Alaska
Appreciate the work around using the Window's task scheduler. That may be a nice alternative to using BI PTZ provided that the selected function could be set relative to local sunrise/set.

Overall, would rather use Hubitat for these HTTP API calls, but have not found a way to get Hubitat and BI to talk to one another. BI is internet isolated and on a different sub net which is great for security but also adds some additional complexity.
 
Last edited:
Top