Various Home Assistant automations I'm using or have used for sharing/collaborative documentation.
Automation turning on lights based on motion detection using Axis Video Motion Detection 4 (VMD4), turning on lights only if the sun is below the horizon (or after sunset but before sunrise)). This automation includes time-based conditional actions (group of actions) along with a random delay to keep lights on before turning off. The automation will auto-restart if VMD4 continually detects motion.
This automation is based off of the following HA documentation: https://www.home-assistant.io/docs/scripts/#choose-a-group-of-actions
More or less the same as axis_vmd4_automation-group-of-actions.yaml but done in Node-Red
More or less the same as node-red_axis_vmd4.json but with email notification along with picture attachment when Axis VMD4 detected motion.
The original Node-Red flow (node-red_axis_vmd4.json) was updated to include email notifications as my Axis M3105-L somehow stopped sending emails whenever motion is detected. It still records video as expected, but the second event action to send emails still fires off, but it results in an "actionengined-user[802]" and "monolith: poll timed out" error in the camera's system log. As such, this flow was created as a workaround to still receive email notifications until I sit down and spend some time setting up Frigate + Coral.
Clean JSON without secrets/authentication information.