Hey all,
I figured I would share my automation and dashboard to review the automation. I currently use a Black and Decker variable speed pool pump with a panel that accepts input from a sonoff 4 channel wifi controller.
I have 2 seasons in this is to go along with my current utility companys time of use plan. It allows me to control the pumps lowest speed during the higher priced hours of the time of use plan and use the higher speeds during the least expensive hours.
Some features of the automation:
Customizable Entities:
You can select which switch entities control each speed (1500rpm, 2500rpm, 3000rpm)
Configurable Seasons:b>
You can set the start and end dates for the cool season through the UI
The warm season is automatically calculated as the remaining time of the year
Preset Schedules:
Maintains your specified time schedules for each speed in both seasons:
Cool Season: Low speed at 5:02-9:02 & 17:02-21:02, Medium speed at 9:03-17:01, High speed at 21:03-23:58
Warm Season: Low speed at 6:02-18:32 & 20:32-22:32, Medium speed at 2:03-5:03, High speed at 0:02-2:02
Clean Operation:
Turns off all speeds before activating the appropriate one
Checks for changes every minute
Only one speed will be active at any time
Dashboard:
Automation Control
Toggle switch to enable/disable the pool pump automation
Shows when the automation was last triggered
Season Detection
Automatically displays current season (Cool or Warm)
Visual indicator with blue for Cool Season and orange for Warm Season
Pump Status
Real-time status of all three speed switches
24-hour history graph showing when each speed was active
Color indicators (green when active)
Manual Controls
Individual switches to manually control each pump speed
“Turn All Off” button for quick shutdown
Last-changed timestamps for each speed
Operation History
Logbook entries showing all automation and switch activities
24-hour history for comprehensive monitoring