Lighting controller ideas

Paul-Reed
Fri, 10 Sep 2021 22:46:03 +0000
General

For the past 20 years I've used a GJD lighting controller which switches on security/garden lighting if the GJD PIR's are activated. But with the addition of a shelly UNI, I'm bringing this up to date, so that I can have more control.
The Shelly works great, and now I get MQTT data into node-RED whenever a PIR is activated.

I want to be able to achieve the lights being illuminated;

during hours of darkness only

whenever a PIR is activated (during darkness only)

between dusk and dusk+1hr

manually via a dashboard interface

I've played with node-red-contrib-cron-plus today, using dynamic schedules, and got close, but still failed to implement the functionality in a meaningful way.
I've also looked at node-red-contrib-light-scheduler which currently appears unsupported by the developer & has a number of outstanding issues.

Has anyone any suggestions of a suitable framework?

23 posts - 7 participants