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
-
1:21:33
The Quartering
17 hours agoBiden's Desperate Interview, Disney ROASTED By Gina Carano, Ballot Boxes RETURN The Fix Is In!
126K79 -
1:45:53
Robert Gouveia
19 hours agoTrump Offers to SAVE Biden! Donors THREATEN Campaign; BRUTAL Report DESTROYS Joe
132K165 -
1:21:11
Russell Brand
20 hours ago‘THE US IS FALLING APART’ - EXCLUSIVE Colonel Douglas MacGregor Interview (and UK Elections) - 401
320K416 -
51:33
Ben Shapiro
18 hours agoEp. 1998 - Is TONIGHT The Night Biden Drops Out?
160K106 -
19:25
Neil
18 hours agoAs Everyone's Distracted With The NEW UK GOVERNMENT... (A LOT's About To Change...)
103K21 -
1:02:14
Geeks + Gamers
20 hours agoGina Carano DESTROYS Mark Ruffalo And Disney Double Standard, Japan Is FURIOUS Over Assassin's Creed
108K34 -
1:13:29
Steve-O's Wild Ride! Podcast
3 days ago $0.18 earnedPenguinZ0 Has No Respect For Dr. Disrespect! - Wild Ride #222
105K11 -
2:00:57
LFA TV
1 day agoMERRY INDEPENDENCE! | LIVE FROM AMERICA 7.5.24 11am EST
126K58 -
2:07:02
TENET Media
1 day agoWhat Is A Conservative Woman? | The Culture War with Tim Pool w/Lilly Gaddis & Rachel Wilson
87K78 -
46:55
Peter Santenello
20 hours agoWhat’s Happening at the Border? 🇺🇸🇲🇽
69.6K57