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
-
11:22
IsaacButterfield
1 day agoThe Shocking Truth About Fat Kids! (Ozempic For 6 year olds)
3.58K13 -
1:02:48
PMG
1 day ago $1.06 earned"Missiles FIRED! Russia Hit By Ukraine!!! IS THIS WWIII?!"
2.58K -
10:34
justintech
20 hours ago $15.29 earnedBest Gaming PC Under $1000! - In 2024
51.9K7 -
9:34
Dr David Jockers
17 hours ago $10.95 earnedThe Shocking Truth About Butter
87K6 -
9:05
Bearing
1 day agoJaguar's Woke New Ad is SHOCKINGLY Bad 😬
27.8K104 -
7:55
Chris From The 740
16 hours ago $9.66 earnedWill The AK Project Function - Let's Head To The Range And Find Out
21.7K9 -
2:39
BIG NEM
12 hours agoHygiene HORROR: The "Yurt Incident"
14.4K2 -
3:19:21
Price of Reason
16 hours agoHollywood Celebrities FLEE the US After Trump Win! Wicked Movie Review! Gaming Journos MAD at Elon!
104K66 -
3:55:45
Alex Zedra
11 hours agoLIVE! Last Map on The Escape: SCARY GAME.
88.3K3 -
1:14:07
Glenn Greenwald
16 hours agoComedian Dave Smith On Trump's Picks, Israel, Ukraine, and More | SYSTEM UPDATE #370
184K272