Exploring Smart Lighting Automation with Custom Duty Cycles

Hey everyone, I’m diving into the world of smart lighting automation and thought I’d share my journey with you. I recently set up a system to control my wood-burning stove’s air circulation using a virtual switch and a cron trigger. The idea is to cycle the fans on for 15 minutes every hour to distribute heat evenly throughout my home. However, I’m looking to fine-tune this setup by varying the duty cycle—something like 5 minutes on, 10 minutes off, and so on—to better suit my needs.

Currently, I’m using a cron trigger to achieve the 15-minute interval, but I’m curious if there’s a more flexible way to adjust the timing without relying solely on fixed intervals. I’ve heard about using different triggers or even custom scripts, but I’m not entirely sure how to implement them. If anyone has experience with varying duty cycles or knows of a better approach, I’d love to hear your thoughts!

Here’s a quick overview of my setup:

  • Virtual Switch: Controls the fan cycle
  • Thermostats: Monitor temperature changes
  • Automation Script: Fires every 15 minutes

I’m also considering whether using a different trigger, like a numeric state or time-based condition, might offer more flexibility. The goal is to create a system that adapts to the stove’s performance while maintaining energy efficiency.

If you’ve tackled similar projects or have suggestions, please share! I’m excited to explore this further and hopefully find a solution that works seamlessly. Thanks for your insights and support!