Premium Only Content
AC Diversion Load, Part 4 - Timer Driven Automation
Added an interval timer to drive the fixed step diversion load automation.
With the new Gen5 home energy meter seeming to report only positive power data, instead of the absolute value power data that the old Gen2 meter did, I'm now able to work with the 0.000W reading that's displayed for "negative" or exported power. Adding a timer to automatically invoke the automation logic helps to drive the fixed increment/decrement code. In short, if 0.000W is seen, the code ramps the diversion load up 5%, or 30W, every 15 seconds until a positive power reading is obtained. Then it'll monitor the power and if the power is over 50W it'll decrease the load and if it's under 5W it'll increase the load. And if the power exceeds 150W, it'll shut down the load. The automation code only works off the current clamp on the circuit it's plugged into.
Lessons learned in this version was that maintaining a separate counter to store the dimmer setting is not a good idea. It's hard to keep those two entities in sync. It also eliminates the option to manually control the dimmer to see how the automation responds to changes. The interval timer is very useful, I've used this before in another automation, but only for a single delay. In this case, the timer is continuously restarted, although still have some bugs to work out in a later video.
Hardware:
In-wall dimmer:
https://amzn.to/3qughPz
Ceramic heat lamp:
https://amzn.to/3jpdcP8
Aeotec Home Energy Meter Gen5:
https://amzn.to/3iEgf4i
More to come, trying to get the Gen5 power meter to read negative values...
Subscribe for more content like this
Comment, rate, share & click the bell icon
And as always, thanks for watching
Intro/Outro:
Louisiana Fairytale by Austin Rogers
https://web.archive.org/web/20170402222425/http://drfiddle.com/show_tune.php?id=94
-
2:10:12
Side Scrollers Podcast
18 hours agoMAJOR Hasan Allegations + Arc Raiders Review CONTROVERSY + Craig TRENDS on X + More | Side Scrollers
120K18 -
9:24
MattMorseTV
16 hours ago $11.80 earnedFetterman is actually DOING IT...
11.8K41 -
49:23
Live From The Casita
8 hours ago $4.16 earnedLive Music Jam
11.8K4 -
2:55:50
The Pascal Show
13 hours ago $1.18 earnedMASSIVE CHAOS?! Transportation Secretary Hold Presser On Air Travel & More
8.23K2 -
1:06:35
TruthStream with Joe and Scott
1 day agoZero Limits Round Table with Joe Vitale, Lisa Schermerhorn and more of the cast!
12.7K1 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
196 watching -
7:40
Blabbering Collector
14 hours agoLEAKED: Draco Malfoy, Hooch, Neville Longbottom! | Harry Potter HBO Show Update, Wizarding News
18.2K2 -
3:06:35
Badlands Media
17 hours agoDEFCON ZERQ Ep. 017: Tesla Tech, Ancient Power & The Fight for Human Consciousness
239K65 -
3:11:56
TimcastIRL
10 hours agoDOJ Launches FULL INVESTIGATION Into TPUSA Antifa RIOT, Media Says Mostly Peaceful | Timcast IRL
268K107 -
3:16:27
Barry Cunningham
14 hours agoBREAKING NEWS: SOLVING THE HOUSING CRISIS BY UNDERSTANDING VETERANS DAY! AND IT'S MOVIE NIGHT!
88K34