Hey everyone! I wanted to share a fun and practical automation setup I’ve been working on. For those of you with feline companions, you know how important it is to maintain fresh air, especially after your furry friends use the litter box. I’ve integrated my Litter Robot with an exhaust fan to ensure a pleasant environment for both my cats and myself.
The Setup:
I’ve configured the automation to activate the exhaust fan whenever the Litter Robot detects activity. The fan turns on 2 minutes after the cat enters the box, giving them enough time without causing any disturbance. It then waits for the Litter Robot to complete its cleaning cycle, which typically takes about 7 minutes. After that, the fan runs for an additional 10 minutes to ensure all odors are cleared. This setup has been a game-changer for maintaining air quality in my home.
Automation Code:
Here’s the automation code I’ve used, which you can adapt to your setup:
markdown
alias: Fan - Litter Box
trigger:
- platform: state
entity_id: sensor.litter_robot_4_status_code
to: cst
cd
action: - if:
- condition: state
entity_id: switch.laundry_fan
state: “off”
then:- delay: minutes: 2
- service: switch.turn_on
target:
entity_id: switch.laundry_fan
- condition: state
- wait_for_trigger:
- platform: state
entity_id: sensor.litter_robot_4_status_code
to: rdy
for: minutes: 10
- platform: state
- service: switch.turn_off
target:
entity_id: switch.laundry_fan
mode: restart
Benefits:
This automation has significantly improved the air quality in my home. It’s especially useful during the warmer months when windows are open, but the fan ensures that odors don’t linger. Plus, it’s been a hit with my housemates, who appreciate the fresh environment.
Hardware Used:
- Litter Robot: Monitors and triggers the automation based on usage.
- Shelly 1PM: Controls the exhaust fan, chosen for its ability to handle fan loads effectively.
- ESPHome Integration: Enhances reliability and performance.
Why It Works:
Timing is key here. The 2-minute delay ensures the cat isn’t startled, while the extended runtime of the fan guarantees thorough air circulation. This setup is simple yet effective, making it a must-try for any pet owner looking to enhance their home automation.
Community Feedback:
I’d love to hear how others have tackled similar challenges or if you’ve implemented similar automations. Whether it’s for litter boxes, cooking smells, or other odor-related issues, sharing your experiences can inspire others to create their own solutions.
If you’re considering setting this up, feel free to reach out for help or tips. Let’s continue to innovate and make our homes smarter and more comfortable!
Cheers to smarter living! ![]()
![]()