Node-Red is involved in this issue, but isn't the cause. I'm hoping one of us reading this had the same problem/discovery.
I have a sequence in Node-Red that runs an HS Event. In HS4, I have the event set to manually triggered, then I have an is-nighttime condition. I expect my condition to block manual execution when the condition is false. The event executes when the trigger occurs, even if the time condition is false. I've tried using Easy Trigger's time conditions, and I've checked the time and sun information in setup. I've even done "and if the time is 12:00AM" when it isn't, and it still runs.
Is there a different trigger than manual that I should use?
In my brief 13 years running HS, did I just never realize that manual triggers ignore conditions? Even though the UI allows you to create conditions on a manual trigger?
Should I control a virtual with NR rather than running an event, then redo the HS event as a state change on the virtual?
I know I can condition the run of the event at NR, and to be honest that's probably the best design - don't bother HS unless you know you have business for it to process. But for now, I want to see if I can add event conditions in HS over the conditions in NR.
I have a sequence in Node-Red that runs an HS Event. In HS4, I have the event set to manually triggered, then I have an is-nighttime condition. I expect my condition to block manual execution when the condition is false. The event executes when the trigger occurs, even if the time condition is false. I've tried using Easy Trigger's time conditions, and I've checked the time and sun information in setup. I've even done "and if the time is 12:00AM" when it isn't, and it still runs.
Is there a different trigger than manual that I should use?
In my brief 13 years running HS, did I just never realize that manual triggers ignore conditions? Even though the UI allows you to create conditions on a manual trigger?
Should I control a virtual with NR rather than running an event, then redo the HS event as a state change on the virtual?
I know I can condition the run of the event at NR, and to be honest that's probably the best design - don't bother HS unless you know you have business for it to process. But for now, I want to see if I can add event conditions in HS over the conditions in NR.
Comment