Author: Bill Babcock

  • EG4 18kPV Service Manual (Reverse-Engineered)

    I’m starting a new, very ambitious project. I certainly don’t need a new project–I’m turning 80 in January, with my current list of unfinished projects I’ll need to live to be about 120. But I don’t really have a choice. My wildfire Resilience/energy management system has hit a major snag–my EG4 18K PV is dead–sort of. The DC bus reads about zero ohms–dead short. If I connect the battery it immediately trips the breaker (of course). The MPPTs still work, when the sun is out the panels feed in power and the inverter wakes up. But there’s no battery connection. I’ve probably got a bunch of dead MOSFETs and when they die they can either die open or shorted. I’m just guessing. I contacted EG4, and a tech stepped me though some diagnostics, but during the diagnostics when I sent pictures of the connections the tech realized I had a non-standard connection to the load output. I haven’t had much luck hiring an electrician. With all the work rebuilding after the Lahina and upcountry fires on Maui, everyone is as busy as they want to be. Working with some goofball amateur to do a fully permitted modification to a sprawling house that would take it partly off-grid clearly looks like a tar-baby to any electrician who hasn’t done a lot of solar installations. So I had a temporary connection feeding 120V to keep a portable Ecoflow Delta Pro charged, whose only function was providing uninterruptible power to my internet system. I should have just plugged the thing into the wall, but I had this entire PV power system right on the other side of the wall. So I ran a lead directly from one side of the load terminals to the an outlet box and connected the other side to neutral. And because it was completely off-grid with no service box I didn’t want neutral floating, so I jumpered it to ground. Clearly non-standard wiring, but really not much different in end result to wiring it to a service box and doing the same thing in the box. So the tech killed the warranty. I really can’t argue with that, and I didn’t. I asked them to explain how that could possibly kill the DC bus, but I don’t really have a leg to stand on.

    I could ship the inverter back to them and pay for them to repair it, but I haven’t even asked about that possibility–shipping anything big and heavy to Maui is astronomically expensive, and it would have to take the trip twice. I probably need a board replaced, but internal parts are not available–EG4 doesn’t sell them. I checked with Luxpower who actually make the 18K PV, and they don’t have a distributor other than EG4 who could handle selling me a board. I consider all these to be reasonable business decisions. They don’t want people sticking their hands in a system that could easily kill them. And they need to administer warranty rules consistently. It’s inconvenient for me, but I can’t fault the decisions. But nothing stops me from diving in and trying to fix it myself at the component level. In fact, it’s a cool opportunity. I have most of the diagnostic tools I need here in Maui. Yeah, I”m still a geek, even in paradise. The only thing I’m lacking is a variable DC power supply and I don’t have a differential probe for my little scope, but the scope is isolated (powered by a wall wart) so I might be OK there. Fortunately variable power supplies aren’t expensive these days.

    So I’m fully engaging Claude in the project. AI is made for this kind of goofiness. I already used Claude to integrate all the installation manual and ancillary manuals into one highly indexed, highly hyperlinked manual. It’s super handy. So now I’m going to use Claude to reverse engineer a repair manual. Here’s a screen capture of the start:

    And a screen capture of the presumed block diagram to how the system probably works. As we work through the teardown and the test and measurement part of the troubleshooting the block diagram will change and be deeply updated. each of the blocks is linked to a system description. In the actual block diagram (instead of this simple screen capture) the blocks are hyperlinked to everything we know about each system component. right now it’s just best guess, but over time it will get useful

    Here’s the written part of the manual so far–safety requirements, manual structure, and open questions:

    Scope and status

    This is a board-level service manual for the EG4 18kPV, built from teardown, measurement and datasheets. It is original documentation, with no EG4 or Luxpower material reproduced. Status: pre-teardown; the architecture and board functions below are hypotheses until confirmed by photos and measurements.

    Covers: isolation and discharge, board inventory and interconnects, connector pinouts, power-stage component identification, test points with expected values by operating state, and fault-tree diagnostics.

    Does not cover: trace-level schematics of multilayer boards, firmware, or calibration data. Control-board faults are diagnosed to the board, not repaired.

    Unit under study: the Maui 18kPV, faulted Nov 2026 (see Unit identification). Confirmed findings are marked confirmed; everything else is a working hypothesis.

    Safety and isolation

    The unit has four energy sources. Treat the internal DC bus as live until measured dead at the capacitor terminals.

    SourceHazardIsolation point
    PV strings (3 MPPT inputs)Up to 500 V DC open-circuit; live whenever the array is litArray-side disconnect or combiner; the inverter’s PV switch alone leaves the input conductors live
    Battery (48 V nominal)Very high fault current; arc and burn hazardBattery breaker plus external disconnect
    AC ports (Grid, Load, Gen)240 V AC, including backfeed from other sourcesUpstream breakers; lift the conductors if backfeed is possible
    Internal DC bus capacitorsStored charge at bus voltage after all inputs are removedWait out the label’s discharge time, then measure

    Isolation procedure

    1. Shut down from the LCD, then open the battery breaker and the external battery disconnect.
    2. Open the PV disconnects. If testing in daylight, open them at the array side, or cover the array.
    3. Open the Grid, Load and Gen breakers. Lock and tag every isolation point.
    4. Wait at least the discharge time printed on the unit’s label.
    5. Live-dead-live check with a CAT III meter: verify the meter on a known source, measure each port and the bus capacitor terminals, then re-verify the meter.
    6. If a capacitor bank holds voltage, bleed it through a power resistor with insulated leads. Never short it.

    Working rules

    • Probing on the high-voltage side while powered requires a differential probe or an isolated scope. A grounded scope clip on the bus is a short circuit.
    • First power-up after any repair is on a current-limited bench supply, never on PV or battery.
    • One hand on the probe, the other clear, whenever anything is energized.

    Unit identification

    The inverter is manufactured by Luxpower for EG4; its monitoring identifies as “Luxpower LXP” over MQTT.

    FieldValue
    ModelEG4 18kPV-12LV
    Serial number
    Manufacture date
    Firmware (DSP / ARM / LCD)
    Luxpower equivalent model
    InstallationOff-grid, Maui guest-house structure; no service panel; neutral-ground bond on the bus; added 120 V L1-N circuit for EcoFlow charging

    Fault history–note, dates are currently incorrect. The fault occured earlier, probably October

    DateEvent
    Nov 2026Battery breaker trip. Faults: Bat Open, Vbus over range.
    Nov 2026EG4 support: battery bus shorted inside the inverter; warranty denied over the off-grid wiring.
    Nov 2026Luxpower declined to sell a replacement board directly; EG4 declined to supply one.
    2026-11-14Monitoring still live: PV1 reads 397.6 V (open circuit), PV2 and PV3 read 0.1 V, AC output about 1.5 V, battery SOC frozen at 1% since Nov 12. Control board, PV voltage sensing and the comms dongle are alive.

    Naming convention

    Every photo, measurement and table entry uses the same identifiers, so the log can be sorted straight into the manual.

    ItemFormatExample
    BoardShort code, assigned at teardownCTRL, DCDC, INV, MPPT, AUX, COMM, LCD
    ComponentBoard + silkscreen referenceDCDC-Q3
    Component, no silkscreenBoard + X + number we assignDCDC-X12
    Component pinComponent + pin nameDCDC-Q3.D, DCDC-Q3.G
    ConnectorBoard + J + numberCTRL-J4
    Connector pinConnector + pinCTRL-J4.7
    Test pointBoard + TP + numberINV-TP2
    Photo fileDate_Board_Side_Seq20261120_DCDC_top_003.jpg

    Pin 1 of each connector is identified from the silkscreen or the keyed shell, and photographed before the connector is unplugged.

    Operating states

    StateCondition
    S0Unpowered, discharged, verified dead
    S1Bench supply, current-limited, to one board or rail
    S2PV only, battery isolated (No Battery setting)
    S3Battery only
    S4Full operation

    Every measurement names its state. A reading without one is not used.

    Photo checklist

    Photograph each layer before disturbing it. Shoot square-on in diffuse light, with a ruler in frame.

    • Exterior: all faces, the rating label and the serial label
    • Wiring compartment with conductors still landed, then each terminal block after lifting them
    • Cover removed: whole interior from directly above, then each quadrant
    • Every connector and harness in place, before unplugging, with pin 1 visible
    • Each board, top and bottom, whole board in one frame
    • Each power device: a macro of its marking, readable in the image
    • Each IC near the power stages (gate drivers, current sensors, optocouplers, PWM controllers): a macro of its marking
    • Fuses, shunts and magnetics, with any printed values
    • Any damage at close range: discoloration, cracked packages, bulged capacitors, carbon tracks
    • Board part numbers and revision codes, usually on the silkscreen or a sticker
    • Raking-light shots of the DC-DC board, to show traces and heat marks
    • Each reassembly step in reverse, for the manual’s reassembly section

    System architecture

    [embed: node/c5340b7c-5170]

    If the DC-DC converter is the only failed stage, isolating it leaves PV to bus to inverter intact. That is the premise of the No Battery test. Confirm each box and connection against photos, then update this drawing.

    Board inventory

    The codes and functions below are expected for a hybrid of this class. Rename, merge or add rows once the case is open.

    CodeExpected functionBoard P/N and revPhotosCondition
    CTRLDSP and ARM controllers, sensing, protection logic
    MPPTPV input boost stages, one per MPPT
    DCDCBidirectional isolated converter between battery and the high-voltage busSuspect
    INVInverter bridge, output filter, current sensing
    RELAYGrid, Load and Gen transfer relays
    AUXAuxiliary supplies for logic and gate drivers
    COMMDongle port, battery CAN/RS485, CT inputs, parallel ports
    LCDDisplay and buttons
    EMIInput and output EMI filters

    Connector pinouts

    External terminals first, then internal board-to-board connectors as they are photographed. One row per pin; the measured column names its state.

    ConnectorPinSignalMeasured (state)Notes
    PV1+ / –String 1397.6 V (S2, open circuit, 2026-11-14)From monitoring, not yet probed
    PV2+ / –String 20.1 V (2026-11-14)Disconnected or open?
    PV3+ / –String 30.1 V (2026-11-14)Disconnected or open?
    BAT+ / –48 V batterySuspected short internally
    GRIDL1, L2, NNot used in this install
    LOADL1, L2, NOff-grid output
    GENL1, L2, N
    BMSCAN / RS485Battery comms
    CTCT1, CT2Current transformers
    Dongle—WiFi monitoringWorking (MQTT data current)

    Power-stage component register

    One row per power device, gate driver, current sensor and bus capacitor bank. Part identity comes from the marking macro plus datasheet; the diode-mode reading is taken in S0.

    RefMarkingIdentified partTypeRating (V / A)FunctionDiode mode (S0)Status
    DCDC-Q1

    Diode-mode convention: record gate-source, drain-source with red on source (body diode, normally 0.3 to 0.7 V), and drain-source with red on drain (normally open). A reading near 0 V both ways means a shorted device.

    Test points and expected values

    Expected values are filled in only after they are measured on a working section or confirmed from a datasheet. Until then the column stays blank, not estimated.

    Test pointDescriptionS0S1S2S4Source of expected value
    HV bus (+ to -)Main DC bus at the capacitor bank0 V
    BAT terminalsInverter side of the battery input
    AUX railsLogic and gate-driver supplies

    Diagnostics: Bat Open / Vbus over range

    Goal: find what is shorted, and decide whether the high-voltage side is intact enough to run PV-only with the battery converter isolated. Work unpowered (S0) until the fault is located.

    1. Visual. Inspect the DC-DC board and the battery input path for burn marks, cracked packages, bulged capacitors, open fuses and carbon tracks. Photograph everything found.
    2. Battery input resistance. Measure across the inverter’s BAT terminals, both polarities. A near-zero reading both ways confirms the short. A reading that climbs slowly is capacitor charging, not a short.
    3. Battery-side fuses and shunt. Check continuity of every fuse between the BAT terminals and the DC-DC board.
    4. Isolate the DC-DC board. Disconnect it from the high-voltage bus and from the battery input, if it connects by plug or bus bar. Repeat step 2 on each side to locate the short.
    5. Power devices in circuit. Diode-mode every device on the DC-DC board per the register convention. Lift any suspect and re-test it out of circuit.
    6. High-voltage bus. With the DC-DC board disconnected, measure resistance across the bus capacitors. It should climb as they charge. Near zero means a second shorted path, so check the MPPT and INV stages before any PV test.
    7. Collateral damage. For every shorted device, check its gate resistor, gate-driver output and any snubber. Those usually fail with it.
    8. Decision. HV bus clean with DC-DC isolated → PV-only test (S2) with the No Battery setting, at low irradiance first and minimal load. HV bus shorted → trace the MPPT and INV stages before applying any power.

    Open point: Vbus over range may have been a real overvoltage during the event, or a bus-sensing fault. Record the bus reading the LCD reports during the first S2 test and compare it against a meter on the capacitors.

    Measurement log

    Every reading goes here first, newest at the top. Confirmed values are then copied into the pinout, register and test-point tables.

    #DateStatePointRed / BlackModeValuePhotoNotes
    12026-11-14S2PV1MonitoringDC V397.6 V—Open circuit via MQTT; PV2 and PV3 at 0.1 V

    Parts, repairs and open questions

    Board-level replacement is closed: Luxpower sells boards only through EG4, and EG4 will not supply one. The repair path is component-level, so the register above is the critical document.

    Sourcing routes

    • Discrete power devices, gate drivers and passives from distributors, identified from the register
    • A salvage DC-DC board from a secondhand or damaged 18kPV
    • A board from a Luxpower-branded sibling, if it proves physically and electrically identical

    Repair log

    DateRefActionPart usedResult

    Open questions

    Does the No Battery setting run the Load port off-grid on this firmware, and how does it handle motor inrush?

    Is the DC-DC converter a separate board, and how does it connect to the HV bus?

    Which Luxpower model is the 18kPV built from, and do its boards interchange?

    Is the board part number shared with the 12kPV?

    Are PV2 and PV3 disconnected on purpose?

    Was Vbus over range a real overvoltage or a sensing fault?

  • Combiners, manual transfer switches, PV interactive Disconnects: A Boring Bunch of Boxes.

    If you’re going to use more than one inverter to power your home or business you might know what I’m talking about, and if you’re doing a three phase system with three inverters than you almost certainly do. There’s a lot more to building a multi-inverter system than buying inverters and batteries. They need to be connected in very specific ways to pass inspection and for important features like anti-islanding to work as required. When I first looked at this diagram I had no idea what they meant by combiner boxes or a PV interactive 3-pole disconnect. And if you’re just doing multiple inverters to better suit your house load, don’t get smug about the complexity of the three phase diagram–your requirements are almost identical.

    When I sat down with the EG$ 18KPV Manual and traced every conductor from the utility meter to the shop panel, I noticed that while inverters take up maybe a fifth of the drawing. The rest of it — the majority of the copper, the majority of the cost after the inverters and batteries, and probably every issue you’re going to have with your permitting authority or utility— is boxes. Steel boxes full of breakers with no screens, no firmware, and not a lot of explanation about what you need, how to configure it, where to buy it, and how to make sure you get the right stuff. And yes, the cost for some of this will probably shock you. Not cheap. Oh and remember that the drawings above are simplified–no neutral or ground wires, and no information about communications. The dense, complicated drawing in the manual are what you need to follow–this drawing is just to help you understand what you need.

    Four of these boxes are particularly important:

    • The dedicated inverter grid input combiner panel
    • The inverter load output combiner panel
    • The 3-pole manual transfer switch
    • The PV interactive system 3-pole disconnect

    Two of those four are, functionally, just a typical electrical distribution panel and some breakers. The other two are switches. And yet if you get any one of them wrong, you either fail inspection, damage equipment, or — the interesting failure mode — build something that works perfectly right up until the day a lineman gets hurt. This is the post I wish I had three months ago.

    A note on where this drawing comes from: EG4 publishes a standalone document called EG4 Inverters in 3-Phase Configuration (v2.0, 2025), separate from the 18kPV manual, and it’s dramatically more readable than the diagrams buried at page 42 of the manual. It’s on their Additional Downloads page, filed where nobody will find it. Drawing #2 is the one for 18kPV and 12kPV units. Everything below refers to that drawing.


    First, How do split phase inverters become three-phase?

    Before the boxes make sense, you have to fully understand that the 18kPV is not a three-phase inverter. It’s a split-phase, 120/240 V machine. Three of them do not become a three-phase inverter in any deep sense. What they become is three single-phase sources, each one deliberately assigned to a different pair of the wye, synchronized 120 degrees out of phase and cooperating closely enough to look like a three-phase source to everything downstream.

    That’s why every inverter connection in the drawing is a 2-pole breaker — the drawing’s note reads “For Inverter Grid and Load Breakers use a 2-pole breaker for each inverter.” (Everything else on the drawing is properly three-pole: the main service breaker, the feeder tap breaker, the transfer switch, the PV disconnect, and the 200 A mains on both combiner panels.) Each inverter’s GRID port lands on two of the three phases. Each inverter’s LOAD port lands on two of the three phases. Inverter #1 gets L1–L2, #2 gets L3–L1, #3 gets L2–L3, wired and configured so each machine delivers 208 V across its two legs and 120 V from either leg to neutral. When the grid is live the phasing is automatic, synced to the grid. When the grid is down the internal configuration keeps the legs 120 degrees out of phase and the anti-islanding system opens the connection to the grid, preventing the system from backfeeding a grid that is supposed to be dead.

    It also explains the single most counterintuitive line in EG4’s drawing: the phase settings are not in alphabetical order. Inverter #1 (master) gets phase “U”, inverter #2 gets “W”, and inverter #3 gets “V”. Not U-V-W. U-W-V. EG4 flags this in red because the naming convention in the parallel system menu doesn’t match the U.S. convention for phase rotation, and if you set them logically you get it wrong.

    Here’s the part that makes me nervous. Set the phases wrong and the system will appear to work. On grid, the inverters auto-detect and correct the phasing — EG4 is explicit that this happens in on-grid mode only. Everything hums along. Then the power goes out, the inverters drop to island mode with no utility reference to correct against, and if you got it wrong your three-phase output goes out of phase with itself. Now you’re feeding a rotating-field motor a scrambled sequence. EG4’s phrasing is “could damage equipment,” which I suspect is the polite version. My rotary compressor would probably do it’s best to rip out the drive link. Get it right and your equipment won’t even stutter.

    The same table specifies the parallel DIP switches — inverter #1 both UP, #2 both DOWN, #3 both UP — and the wire colors, #1 black-red, #2 blue-black, #3 red-blue. The DIP switches are arguably the easier thing to get wrong, because unlike the phase setting there’s no menu to double-check them against. Set them with the covers off and photograph them before you close anything up.

    The other quiet killer in that drawing: “Provide a properly sized Neutral conductor direct to each combiner panel. Do not rely on a single N conductor nor daisy chain neutrals.” Three single-phase inverters on a shared wye neutral can put real current on that conductor — the phase currents only cancel to zero when the loads are balanced, and in most shops they never are. My whole load-balancing spreadsheet exists because of this sentence. And I know it’s never going to be perfect. When I fire up my ancient Miller Synchrowave 250 TIG, that houses a transformer that wouldn’t fit in a minivan, the lights in Portland probably flicker. It’s on one 208V leg. When I’m welding anything, or using any heavy single phase machinery, the system isn’t balanced and the neutral conductor is passing current.

    And one more from the cover page, which will save somebody a purchase order: the EG4 GridBOSS does not work for three-phase systems. It’s the first thing the document says, in bold, underlined.

    Let’s look in those boring boxes


    Box #1: The Dedicated Inverter Grid Input Combiner Panel

    What it is: a 200 A three-phase load center whose only job is to gather the three inverters’ GRID ports onto one three-phase bus and hand that bus to the utility side of the system.

    Where it sits: this matters. The path is main service breaker → feeder tap → feeder tap breaker → PV interactive disconnect → grid input combiner panel → the three inverters’ GRID ports. The utility disconnect is in series in that run, not off to the side. Hold that thought; we’ll come back to it and why it works that way in Box #4.

    How it’s built: one 2-pole breaker per inverter connected to the breaker bus in a specific pattern so the three lines (L1,L2,L3) are each fed by two Grid lines from the three inverters. The pattern is inverter #1 — L1–L2, #2 — L3–L1, #3 — L2–L3. If you are using a panel that will have lots of open spaces you can spread them out to make working in the panel easier, but if you do that you have to be very careful to have each breaker connected to the right line. EG4’s table in the drawing shows a 70 A minimum for the 18kPV, with 100 A shown as the maximum practical breaker in a three-phase setup. The drawing itself shows 70 A as the example. You can go larger up to the rated pass-through, but your conductor ampacity has to follow — a bigger breaker protecting undersized wire is just an expensive way to start a fire.

    Why it exists at all: you have three inverters and one point of interconnection. Something has to combine them. You could theoretically land the three 2-pole breakers in the main panel, but then you’re managing three separate interconnections, three sets of conductors have to run from the inverters to the main panel, and the busbar calculation will be complex and will vary with loads–it’s likely your inspector won’t like that.

    And now the important part, which EG4 prints right on the drawing with an arrow pointing at this panel and no other: Do not add additional loads this Dedicated Sell-Back Panel

    The missing “to” is theirs. I’m quoting it exactly because I want you to be able to find it on the sheet. This is the instruction most likely to be ignored, because it looks like a suggestion and the panel has thirty empty spaces sitting there being useless. Maybe the panel is in a cold, dark spot. Can’t I add a breaker to add a heater and one for local lights? NO! It isn’t a suggestion. Three reasons:

    One — it’s a power production panel, not a distribution panel. Under the interconnection rules this bus is a source, not a load center. Every calculation anybody has done about this panel — conductor sizing, tap rules, whatever the AHJ signed off on — assumes power flows one direction through it and nothing else is connected. Hang a load off it and you’ve changed the problem into one nobody has calculated and that varies depending on the external loads.

    Two — you’d break the metering. The system uses CTs on the service conductors — one CT per inverter, back to the CT1 port on each — to know how much power is flowing which way. That’s how the inverters decide whether to export, hold, or charge. A load hanging off the grid input bus sits in a blind spot: it draws power the CTs attribute to the wrong side of the equation, and your export logic quietly goes stupid.

    Three — anything on that panel is not backed up. The grid input side is upstream of the islanding boundary. When utility power fails, the inverters disconnect from it and start supplying the load side. Everything on the grid input panel goes dark. If you’d put your well pump there because it was the closest empty slot, you have a well pump that only works when you have grid power.

    Leave it empty. It’s a junction box that happens to look like a load center.


    Box #2: The Inverter Load Output Combiner Panel

    What it is: the mirror image. Another 200 A three-phase load center, same 2-pole-breaker-per-inverter arrangement, gathering the three LOAD ports into a single backed-up three-phase 208 V bus.

    What makes it different: this bus is the island. When the utility drops, this is still powered. Everything downstream of it stays alive on solar and battery; everything upstream of it does not.

    The load output combiner is also where the system’s hard ceiling lives. Three 18kPV inverters can pass through a lot of current, but they cannot pass through infinite current, and in an outage the island is limited to what the inverters and battery can actually deliver. On grid, pass-through covers you. Off grid, the inverter limits rule–but you expected that.

    One detail from the drawing worth repeating: this panel needs its own properly sized neutral run direct to it — not shared with the grid input panel, not daisy chained from anywhere. Same rule as the grid side, same reason.


    Box #3: The 3-Pole Manual Transfer Switch

    This exists purely to protect you from your own equipment. You may have experienced automatic transfer switches that work with a generator to quickly and automatically restore power in an outage. This isn’t that. Your PV system can and generally does backfeed the grid when the grid is live. If the grid goes down the anti-islanding features sense the grid is down and disconnect it. See our other post: https://expertamateur.com/how-the-eg4-18kpv-knows-the-grid-is-down-and-why-it-doesnt-need-a-transfer-switch/

    What it is: a 200 A three-pole switch with three positions — On, Off, On — feeding the main breaker panel. One “On” takes the main panel from the utility, through the feeder tap breaker. The other “On” takes it from the inverter load output combiner. The “Off” in the middle is the entire point.

    Why center-off matters: the middle position makes the switch break-before-make. There is no rotational path, no wiring error, and no moment of clumsiness that can connect the utility and the inverter output to each other. You physically cannot parallel the two sources, because passing through “Off” is the only route between them.

    Think about what that prevents. Your inverters are grid-interactive — they want to synchronize with utility and push power back through the meter, and they have anti-islanding logic to stop doing that when the grid dies. That logic is UL 1741 certified and generally excellent. But the transfer switch doesn’t rely on it. The transfer switch is a piece of steel and copper that says: whatever the firmware thinks it’s doing, these two sources are not going to touch.

    Why manual instead of automatic: an automatic transfer switch is for a generator, where you want the thing to start when the grid dies and cut over at 3 a.m. while you sleep. It’s generator to load only–it never backfeeds the grid. Your grid-interactive battery inverter already does the seamless part in software — outages should be a flicker, or nothing at all. What you actually want from a physical switch is bypass: the ability to run your loads only on the utility while the inverters are down because one died, or for a firmware update, a battery swap, or a repair. That’s the real justification, and it’s the one to put in front of your electrician if he asks why you’re spending money on a switch you may never touch. Without it, the only way to safely service the inverters is to depower the entire system. With it, servicing the inverters is safe and easy. Over a twenty-year system life that switch pays for itself the first time something breaks.

    Why 3-pole and not 4-pole: it switches the three ungrounded conductors and leaves the neutral solidly connected straight through. That’s deliberate. The neutral-to-ground bond happens at exactly one place in the whole system — at the main service, where the drawing says “Bond Neutral to Ground here and only here.” A switched neutral would either break that reference or, worse, create a second bond and start putting current on your equipment grounding conductors. Solid neutral, switched phases. Don’t get creative, follow the drawing in the manual that shows everything.


    Box #4: The PV Interactive System 3-Pole Disconnect

    A very fancy name for a knife switch. What the drawing tells you: a 200 A three-pole disconnect labeled “PV Interactive System 3-Pole Disconnect,” sitting in series between the feeder tap breaker and the grid input combiner panel, and the drawing says — locate near outdoor service entrance for access by utility and first responders.

    That’s all EG4 says about it. Everything else below is what you’ll actually have to satisfy, and it comes from your utility’s interconnection agreement and your AHJ, not from the drawing or instructions in the manual. I’m separating the two because I spent time assuming the drawing was the spec.

    Who it’s for: not you.That’s the thing to understand about this one. Every other box in this system serves your building. This box serves a lineman or a first responde. Here’s the scenario it exists for. A wind storm takes down the line. The utility sends a crew. They open the appropriate devices, ground the line, and start working on conductors they have every reason to believe are dead — because they are dead, from the utility’s side. But your building has PV and a battery bank, and it’s sitting there fully capable of energizing your service conductors.

    Anti-islanding is supposed to prevent exactly that, and it does. But “supposed to” is not a thing you bet a lineman’s life on. So you give them a disconnect they can find, reach, operate, and lock open with their own padlock — without entering your building, without your permission, and without trusting a single line of your inverter’s firmware.The NEC requires a readily accessible disconnecting means for a power production source. The utility-accessible, utility-lockable, visible-blade specifics are terms of your interconnection agreement with the POCO (your power company). Two different authorities, two different documents, and the utility’s version is usually the stricter one.

    What that means practically, and these are the things that get you red-tagged:

    • Outside, on the exterior, near the meter. Not in the container with the inverters. Not behind a locked shop door. A crew at 2 a.m. has to find it.
    • Lockable in the open position, with a hasp that accepts the utility’s lock.
    • Permanently labeled. Something like PHOTOVOLTAIC SYSTEM AC DISCONNECT, in weather-durable text, plus a placard at the service identifying that there’s a power production source on site.
    • Visible break, if your utility asks for one. Some POCOs require a disconnect where you can physically see the blades open. Ask before you buy — this is a specific-utility question, not a code question, and the answer determines which product you order.
    • Working clearance around it, per the usual rules. An outdoor disconnect wedged behind a propane tank is a disconnect nobody can operate.

    What opening it actually does: it kills your backfeed to the utility’s line. That’s the job. It does not shut the inverters down, does not de-energize the load output island, and does not necessarily kill the main breaker panel — which the transfer switch can still be feeding from the load combiner. A disconnect that opens the interconnection is exactly what the lineman needs and exactly what it’s named for; don’t mistake it for a master off switch for the building.

    What it is not: it is not your rapid shutdown device, and the two get conflated constantly. Rapid shutdown deals with the DC side, and the requirement is more nuanced than “turn it off” — conductors outside the array boundary have to drop to 30 V or less within 30 seconds, while inside the boundary the limit is 80 V or, alternatively, a listed PV hazard control system that is usually code-compliant wire management. That’s generally a code requirement for roof mounted systems, not ground mounts. The logic behing the RSD requirement is that Firefighters need to put out your roof fire and could be exposed to deadly DC voltage when they do. They can, and probably will, let your ground mount burn and just prevent it from starting a bigger fire. That’s the RSD initiator on the drawing, located near the service entrance, and on supported EG4 batteries it also initiates the ESS disconnect.

    So for my build specifically: rapid shutdown under 690.12 applies to PV systems on buildings. Mine is a ground-mounted rack, which may put it outside that requirement entirely — a question for the AHJ, not for me. I just hope they agree with the NEC. Either way, the AC disconnect and the RSD are different code sections, different hazards, different devices. Where both are required, they are not substitutes.


    A brief word about the GEN port, since it’s on the drawing

    The 18kPV drawing also shows a generator or AC-coupled input combiner panel, fed from three-phase AC-coupled solar or a generator, with a 30–90 A main shown. The per-inverter GEN feeds are drawn as 2-pole breakers like everything else, sized by a rule of thumb I like: take your generator’s breaker size, divide by three, round up to the next available size.

    I’m flagging it rather than explaining it, because on my build it’s an open question and I have no intention of installing a generator or AC couple solar. My reading of the 18kPV manual is that generator input isn’t supported at 120/208 V, and the GEN port is also the AC-coupling port, so if that’s right it takes both features off the table for a three-phase system. The three-phase drawing shows the panel anyway. Those two documents may not agree, or I may be misreading one of them.

    I’ve got the question in to EG4 and I’ll update this post when I have an answer worth trusting. If you’re planning on AC-coupling an existing array or backing up with a generator on a 208 V three-phase system, don’t design around it until you’ve confirmed it in writing. I’d rather tell you I don’t know than tell you something confident and wrong.


    The code, roughly

    I’m not an electrician and this is not code advice — Oregon runs the OESC, which is the NEC with amendments, and your AHJ has opinions. But it helps to know which articles you’re arguing about, so here’s the map:

    • 705 — Interconnected Electric Power Production Sources. Governs how your system connects to the utility, and 705.20 is the disconnecting means requirement behind Box #4.
    • 690 — Solar PV Systems. 690.13 is the PV system disconnect; 690.12 is rapid shutdown on buildings.
    • 706 — Energy Storage Systems. Easy to forget, and the article that governs my 43 kWh of battery. Your AHJ will not forget it.
    • 702 — Optional Standby Systems. 702.5 requires transfer equipment designed to prevent inadvertent interconnection of sources, which is the entire argument for center-off in Box #3, stated in code language.
    • 240.21(B) — Feeder Taps. This is what “feeder tap” in the drawing title refers to.
    • 250.24(A)(5) — Load-Side Grounding Connections. The “and only here” half of the bonding note. (250.24(B) is the half that requires the bond at the service in the first place.)

    One correction to something I said earlier, because I nearly wrote it wrong: the famous “120% rule” — the busbar math in 705.12 for backfeeding a panel through a breaker — is not what governs this design. That’s rather the point of the feeder tap. EG4 titled the drawing Whole Service Backup with Feeder Tap precisely because tapping the feeder ahead of the main panel sidesteps the busbar problem instead of solving it. If you’ve been reading about the 120% rule and wondering how it applies here, the answer is that it doesn’t (I think). That’s the whole trick, and it deserves its own post. It’ll get one once I know for sure.


    The cheat sheet

    If you skimmed — as I would have— here’s the whole thing in a nutshell:

    • Grid input combiner panel — combines the three GRID ports into one interconnection. 2-pole breaker per inverter, 70 A minimum for an 18kPV. Put nothing else in it. Not backed up, breaks your CT metering, changes your interconnection math.
    • Load output combiner panel — combines the three LOAD ports into the backed-up 208 V island. Everything you care about during an outage lives downstream of this box. Design your load layout around which side of it things land on.
    • 3-pole manual transfer switch — center-off, break-before-make, 200 A. Selects utility or inverter for the main panel. Its real job is bypass, so you can service the inverters without shutting the building down. Switch the phases, never the neutral.
    • PV interactive 3-pole disconnect — outdoors, near the meter, lockable open, labeled. Sits in series between the feeder tap and the grid input panel. Exists so a utility crew can kill your backfeed to their line without trusting your firmware. Not a master off switch for the building, and not the same thing as rapid shutdown.
    • Phases are U, W, V — not U, V, W. Wrong settings work fine on grid and go bad the moment the grid dies.
    • DIP switches: up, down, up. Inverter #1 both up, #2 both down, #3 both up. Photograph them before you close the covers.
    • Dedicated neutral direct to each combiner panel. No daisy chaining. No single shared run.
    • GridBOSS doesn’t do three-phase. Page one, bold, underlined. Don’t buy one for this–I’d love to have one, can’t use it.

    None of these boxes will ever show up in a thumbnail. Every one of them is the reason the system passes inspection, survives a service call, and doesn’t hurt anybody.

    Next up: the feeder tap, and why the 120% rule sends most whole-building backup projects straight into a service upgrade they didn’t need. Maybe

  • Are MC4 connectors safe?

    Panels fail almost never unless you do something stupid to them. Inverters mostly die of old age or a lightning hit. The part that actually burns solar arrays down is the one nobody photographs and everybody underestimates: the little plastic connector on the end of the wire. It’s the cheapest component in the whole system and it’s the one most likely to cook itself, and the reason is almost always the same — somebody mated two things that shouldn’t have been mated, or crimped a contact they didn’t have the right tool for. So here’s what I’ve learned about doing them right, Some of it I learned just this week when I discovered my own connectors weren’t what I thought they were.

    “MC4” is a brand, not a standard

    Everybody calls these “MC4 connectors” the way everybody calls tissues Kleenex. But MC4 is a specific product from a Swiss company (Stäubli, formerly Multi-Contact — the “MC” in MC4). What’s actually on the market is a whole family of look-alikes: Stäubli’s own MC4 and the newer MC4-Evo 2, Amphenol’s H4, TLian’s T4 and T6, and a dozen no-name clones that copy the shape. They all snap into roughly the same footprint, which is exactly the trap.

    I found this out the hard way. I’d planned my whole wiring scheme around generic MC4s, then went to unclip a lead on one of my Canadian Solar panels and none of my MC4 tools fit — the latches sat closer together, the sides weren’t slotted for the release pins, and the gland nut was a size bigger. The connectors said TLian T4. My panels had never shipped with MC4 at all. Which brings us to the only rule that really matters.

    The one rule: never cross-mate brands

    when you read a post on some forum about how MC4 connectors almost burned down their house, or a connector melted and tripped their inverters arc detection, or just a general post that states MC4 connectors suck toads you can safely assume one thing–they aren’t talking about a true Staubli MC4 connector plugged into another true MC4 connector

    Two connectors snapping together is not the same as two connectors being rated to mate. Every one of the real MC4-style connectors are UL-listed only when mated with its own kind — same type, same manufacturer — or with something the maker specifically lists as cross-compatible. The code even says so: NEC 690.33 requires mating connectors to be of the same type and brand, or listed and identified as intermatable. Mix a Stäubli male with an Amphenol female because they physically click, and you’ve built a junction that no lab ever tested, with contact and detent tolerances that don’t quite agree. It reads fine on day one. Then the slightly-loose contact runs a few milliohms hot, the heat relaxes the plastic, the resistance climbs, and eighteen months later you’ve got a brown, brittle connector and a scorch mark. It also voids your PV panel warranty the instant you click it together.

    So match every mating pair to one brand. On my array that means a TLian connector meets a TLian connector, full stop. Same-brand cross-series can be fine when the maker says so — TLian, for instance, states its T4 and T6 intermate with each other, so a T6 (the heavier 6 mm² 10AWG version) mating my panels’ T4 is legitimate because the manufacturer put it in writing. That written blessing is the whole difference between “compatible” and “hope.”

    10 AWG, 12 AWG, and How to bridge them

    Here’s a mismatch almost everyone gets wrong. Panels ship with short pigtails of 12 AWG (4 mm²) wire and a factory-crimped connector. But for your home runs — the long pulls from the array to the inverter — you often want 10 AWG (6 mm²) instead: lower voltage drop over distance, more ampacity headroom, and frankly in my case, because I already have most of two 500 foot reels (one red and one black) of 10 AWG. So now you’ve got 12 AWG leaving the panel and 10 AWG carrying it to the inverter, and they have to meet somewhere.

    The wrong ways are the tempting ones: cutting the factory connectors off 32 panels to re-terminate everything in 10 AWG (you’ll never match the factory’s consistency by hand, and you’ll introduce more marginal crimps than you remove marginal matchups), or jamming 10 AWG wire into a contact only sized for 12 AWG (the barrel’s too small, the crimp’s incomplete, and that’s a hot spot waiting to happen). And of course, once again, you invalidate the warranty.

    The right way is to let the connector do the transition. The contact inside a PV connector is sized for a wire range, and you simply use the correct contact for whichever wire you’re terminating — a 12 AWG contact on the panel pigtail, a 10 AWG contact on the home run — with both connector bodies the same brand so the mate is legit. Even cleaner: some makers sell a single listed connector rated for both gauges. Amphenol’s H4 Plus, in the #12/10 AWG version, is exactly that — one UL/TÜV-listed connector that covers 12 and 10 AWG, so you can bridge the panel-to-home-run gauge step code-compliantly without cutting a single factory lead. If your panels wear Amphenol H4, that’s the tidy answer; if they wear something else, use that brand’s dual-rated or correctly-sized parts. The principle is the same: transition at the plug, in a connector rated for the wire you put in it, mated only to its own kind.

    In my particular case I have a 4 breaker disconnect switch with 8 surge protectors. It’s pre-wired to case mounted, no name “MC4’s” with mating no name MC4 connectors provided for the wiring. I know what you’re thinking–serves you right for buying chinese stuff. That it is, but I have taken these particular four pole brekers apart and carefully examined their guts. They are beautifully designed and well built. Politics and racist stuff aside (yeah, you’re right, I don’t give a shit about that) they are just what I needed for the job. So I bought pre-wired single ended T6 leads that plug into the first and sixteenth connector of my 8-panel series strings. I tested the no-name MC4’s provided with the combiner on 10AWG wire–the connectors appear to be dual size since 10AWG fits perfectly (better than 12 actually–it looks like they copied the 10/12 guts of the Amphenol H4 plus) and crimps nicely, both the conductor crimp and the strain relief in the gland nut. So I have extension leads for the ends of the four strings (32 Canadian Solar CS3W-415PB-AG 415W Bifacial panels) that transition to the correct no-name “mc4s” on the disconnect switch. The home runs from the disconnect switch to the two new EG4 18KPV Hybrid inverters will be four pairs of #10 solar wire in trenched 2″ conduit, connected to the disconnect switch with the matching no-name “MC4″s using 10 AWG wire on those leftover reels.

    Crimping it so it lasts twenty years

    A PV connection lives or dies on the crimp, and the crimp lives or dies on using the right inner contact parts, the right die, and the right technique. I am a tool freak, so I have the proper crimping tools. Cheap pliers are NOT EVER the proper tools. Unfortunately I also have a home in Maui (there’s a sentence you aren’t likely to read anywhere else) and I have both a small shop and a good sized solar project there. And my memory sucks, so while I always try to have the right tools for any job, the tool I need in Oregon might be in Maui. So if the tool isn’t crazy expensive I’ll order another so I won’t delay the project over a 14 buck crimping tool. The end result is a bit of duplication. When I went looking for my connector crimping tools this is what I found:

    • Match the contact and die to the wire. 10 AWG contact for 10 AWG wire, and the crimp die sized for that contact. The first crimping tool I grabbed only carried dies up to 4 mm² (12 AWG), so it physically could not make a proper 6 mm²/10 AWG crimp. A tool that only does 12 AWG will happily mangle a 10 AWG contact and leave you thinking you’re done. Make sure you have the die sizes you need.
    • Get all the copper in, and make it gas-tight. Strip to the connector’s spec so the conductor bottoms out in the barrel, don’t shear off strands to make it fit (if strands don’t fit, you’ve got the wrong contact), and run a full ratcheting crimp so the joint is cold-welded tight, not just pinched.
    • If you screw the connection up, don’t try to fudge it. Cut the connector off, throw it away, try again. Make sure you order a few extra connectors. Even the very best ones are cheap compared to the cost of everything else you’re doing. I’m constantly tempted to risk an expensive project to save a cheap part. Don’t do it. After 60+ years of fuck ups saving a nickle and risking a thousand bucks (damn, if it were only a thousand bucks) I’m pretty well cured of that.
    • Use the insulation grip of the gland nut. That gland nut insert is strain relief — it keeps cable flex from fatiguing the conductor crimp. On an exposed outdoor run it matters more than the beautiful machined solid inner parts of the best 10 AWG connectors. The wimpier stamped sheet steel 12AWG connectors with a tight fitting gland nut strain relief are just as good in the long term as long as they are made up properly and are matched sets.
    • Seat it and tug it. Push the crimped contact into the housing until it clicks (making absolutely sure that the inner contact elements are pushed completely into the housing), then give a firm pull on the wire — it should not back out. A contact that isn’t fully compressed and cold-welded arcs inside the shell, invisibly, until it fails. Don’t bypass this test because you don’t want to pull your freshly made connector apart. If it fails, it wasn’t good, and now you know it was crap to begin with and should not be used. Do it again.
    • Snug the gland nut and keep the seal. Use the connector’s spanner (that oversized gland nut is why your MC4 wrench doesn’t fit a T4 or an H4) and torque it enough to compress the weather seal/strain relief. A crimp that lets water in is a crimp on borrowed time.
    • There are some very good videos on YouTube that show exactly how to use a crimper to make up an MC4-type connector. There’s only one way to do it right, and you won’t get it right by guessing–it’s a bit counter-intuitive. I might video my own version, but my videos tend to ramble and not be shot or edited very well. I need to get someone to help me with that.

    This crimper can handle 10, 12, and 14 AWG

    And never, ever, never, never, never crimp these with pliers. A PV connector made with pliers is junk no matter how skilled you think you might be. You’re asking for failure.

    Then check your work

    Here’s the cheap insurance that catches the one junction that didn’t take even if you did your best: on a sunny, high-output day, walk every connector with an infrared thermometer. I use an infrared tire temperature gauge left over from my car racing days. They should all read about the same. The one running warmer than its neighbors is a bad crimp or a marginal mate, and it’s telling you now — while it’s a five-minute redo — instead of a year from now when it’s a melted connector and a fault you’re chasing in the dark with a flashlight in your teeth.

    The connector is the least glamorous, least expensive, most safety-critical part of the whole array. Match the brands, size the contact to the wire, own the right tool, and verify with heat. Do that and the plugs quietly disappear into the background for two decades, which is exactly what you want from them.

  • Free Watts From the Ground: Boosting Bifacial Gain With What Was Already on My Pallets

    In the last post I got 30 bifacial panels mounted straight and neat on the Chiko rack. But a bifacial panel is only half-installed when the modules are bolted down, because the whole point of paying for glass on both sides is the light that comes up from underneath — and that depends entirely on what you put on the ground. This is the part most backyard installs ignore, and in my case the fix was quite literally stacked on pallets in my shop.

    What bifacial gain actually is

    A bifacial module makes power from its back face as well as its front. The front collects direct sun; the back collects whatever light bounces up off the ground below and behind the array. How much the back contributes is driven by one unglamorous number: albedo, the fraction of light the ground reflects.

    The relationship is close to linear, which makes the decision easy to reason about. Bare soil or dry grass reflects about 0.2. Grey gravel isn’t much better. A white surface — clean light gravel or reflective fabric — runs 0.5 or higher. Fresh snow is up around 0.8. Push the ground under your array from 0.2 to roughly 0.5 and you can take the bifacial contribution from a token few percent up into the low-to-mid teens. On my system that pencils out to somewhere around +6–8% of total production, on the order of +1,000–1,300 kWh a year — every year, for the life of the array, for the cost of moving some rock around.

    My panels help here too: they’re Canadian Solar CS3W-415PB-AG glass-glass modules with about a 70% bifaciality factor, meaning the back face is unusually productive and the array is more sensitive to ground albedo than a typical bifacial. High bifaciality plus a bright ground is where this trick earns its keep.

    The ground that matters is behind and beneath, not out front

    Here’s the geometry that trips people up. On a south-facing tilted array, the rear of the modules faces north and down. So the ground the back faces “see” is the strip directly under the rack and the apron immediately behind it (the north side). The sunny ground out in front? Worthless. The back can’t see it. So you spend your reflective material under and behind the array, and skip the front entirely. Yeah I know the back is shaded, but it’s not black. That’s why the number of KW’s is low, but it ain’t nothing.

    There’s a second twist that saved me a lot of hauling: my array sits low — bottom edge about two feet off the ground, average panel height around four and a half feet. A low array can’t “see” far, so the reflective apron doesn’t need to sprawl. For my geometry the sweet spot is the full footprint under the rack — roughly 13 feet deep on a 20° tilt — plus about 8 feet of apron behind it. Over a 54-foot row that’s around 1,100 square feet of ground to brighten. Going deeper than 8 feet would be wasted effort at this mounting height. (If your array is tall, you get to extend the apron farther and the whole effect is stronger — height is the lever most people underestimate.)

    The part where my old shop paid off

    My building used to be a marble and granite cutting operation, and I still have a lot of stone offcuts on pallets. Light marble is a genuinely good diffuse reflector — matte white marble sits right in that 0.5–0.6 albedo range. So instead of buying white gravel (there’s none local anyway; the Columbia Gorge is basalt country, and basalt is grey), I’m paving the reflective zone with offcuts I already own. If you’re not sitting on a pile of marble, the buy-it equivalents are crushed white limestone, dolomite, or white marble chips from a decorative-stone yard — the local grey aggregate won’t do much.

    A few things I learned sorting through it:

    Lay the matte, sawn face up — not the polished side. This matters more than it sounds. Matte stone reflects diffusely, scattering light in every direction so it feeds the back of the panels all day long. Polished marble reflects specularly, like a mirror — it throws a single bright beam that mostly misses the modules, causes glare, and turns into a sky-mirror when it’s wet. Rough side up wins. Which is cool because the shiny side with water on it is a skating rink.

    Sort by color and give the dark stone a job. The whitest marble goes on the reflective surface. The darker granite offcuts — low albedo, useless as reflectors — become my perimeter anchors and wind ballast, where reflectivity doesn’t matter.

    Lay it tight. Dark gaps between pieces are albedo leaking away, so crazy-paving it close pays off.

    Fabric plus stone is the belt-and-suspenders version

    Even with a yard full of marble, I’m putting a layer of reflective white/black woven ground cover ( DeWitt orchard fabric, white face up) down first, as the base. It does two things stone alone can’t: it fills the gaps between irregular offcuts with a uniform white, and its black backing blocks weeds — and nothing tanks your local albedo faster than grass creeping up between the rocks. The marble then goes on top as the durable surface and the ballast that pins the fabric down. If you’re buying everything, fabric-plus-a-thinner-gravel-layer is often cheaper and lighter than deep stone, at a slightly higher albedo.

    Orchardists here in Hood River already roll out this exact reflective fabric to color up apples and cherries by bouncing light into the lower canopy — same physics as my panel backs, which is a nice reminder that none of this is exotic. And you can find white “weed cloth” at most farm supply stores if your local farms include orchards. Especially cherry orchards. Mmm, cherries. Now I’m hungry.

    Keep it honest

    Two caveats so nobody’s disappointed. First, this is a planning estimate; real bifacial gain depends on your latitude, how cloudy your winters are, how much ground you actually cover, and how clean you keep the surface — light stone gets dusty and dusty stone reflects less, so it wants an occasional rinse. Second, a low mount caps the ceiling no matter how white the ground is; if you have any say in the design, mounting the array higher does more for bifacial gain than any surface treatment. I know that sounds weird, you might think a bifacial array close to a reflector would gain more light. But no, light reflects all the way out to space. If you really want your mind blown, understand that the ancient art of making ice or cold water in the middle of the gobi desert counts on the fact that space is cold. OK it really isn’t, but it acts like it is. So a deep hole that “looks” up at an empty patch of sky can dissipate heat all the way to space. Back to the case at hand: As a retrofit to an array that’s already in the ground, a bright apron is close to free money, and mine came off a pallet that was slowly rotting away at my back fence.

    And there’s a winter bonus I’m looking forward to: when it snows, the ground albedo jumps to 0.8-plus on its own, and the array gets a free bifacial spike on the cold clear days after a storm — as long as the snow’s on the ground and off the panel faces.


    The reflective-apron cheat sheet

    • Cover under + behind (north), never the front. The back faces see the ground beneath and behind the array.
    • Size it to your mounting height. Low array (mine ~4.5 ft avg): full under-footprint (~13 ft on a 20° tilt) plus ~8 ft of apron — about 1,100 sq ft over a 54-ft row. Taller array: extend the apron and expect more gain.
    • Aim for ~0.5 albedo. Matte white marble/limestone or reflective fabric ≈ 0.5; grey basalt ≈ 0.2; fabric alone 0.6–0.8; snow 0.8+.
    • Matte/sawn face up, not polished — diffuse reflection beats a mirror beam and avoids glare.
    • Sort light stone for the surface; dark granite for anchors. Lay it tight to kill dark gaps.
    • Fabric base + stone ballast = uniform albedo plus weed control, using the stone you’ve got.
    • Expected payoff (my 12.45 kW array, ~70% bifaciality, Hood River): roughly +6–8%, on the order of +1,000–1,300 kWh/yr. Planning estimate, not a guarantee.
    • Maintenance: rinse the dust occasionally; keep weeds out from under the array.
  • Setting 30 Panels on a Chiko Ground Mount: What the Manual Doesn’t Tell You

    My particular installation might serve as a useful guideline for yours, even if you elect to do a DIY rack. For various reasons I decided not to do mine DIY, mostly because I was concerned that I’d need an engineering stamp to pass local codes and land use planning requirements. Perhaps I actually didn’t. When I applied for the building permit I eventually was told by the planning department for my county (my shop is outside the Urban Growth Boundary) that I didn’t need a building permit or land use permit. I was quite surprised. They are even refunding my application fees. So you might save yourself some complications and cost by doing some research first. I can guarantee that your mileage may vary. I’m doing a much smaller ground rack installation at my home in Maui which I also want to be fully permitted (I don’t want to impact the future value of the property) and the planning department is insisting I have a local engineering stamp for my racks–which are also prefabricated, not DIY–so I’m having an engineer inspect the racks and provide one, at substantial cost. Anyway, check your local requirements. As I now know, they vary widely. I think it helped that Signature Solar (Via Chiko) provided a detailed engineering analysis of the rack with an engineering stamp for Oregon. I expected that I might have a similar battle on my hands, so I was pleasantly surprised and pleased by the decision of the county planning department. I did a VERY crappy video on installing the racks: https://youtu.be/uXYQXmmHTZg

    This is the Chiko Solar 30 panel rack, in the high strength, high wind version. The difference in cost between the standard version and this even more stout version was relatively small, and I was shocked by the quality of the kit. The steel is heavily galvanized and much stouter than I expected. I don’t know what the gauge of the steel is–I can’t find my gauge measuring tool. I could just check the thickness with a micrometer and look it up, but suffice it to say it’s a lot heavier duty than I expected. I needed to borrow a forklift to get it off the delivery truck–It was too heavy for the liftgate, Fortunately my shop is in a light manufacturing area. I have a lot of neighbors with heavy equipment.

    So the rack is mostly installed. I have a few minor tweaks to attend to, but it’s ready for the panels, and those were delivered today: A pallet of 33 415W Canadian Solar Bifacial PV panels. So of course I asked Claude to write a blog post on the technical details. Here’s what Claude wrote after a few tries to correct some minor mistaken assumptions–mostly Claude assumed I installed the racks perfectly. If you look at the video, you know that’s a mistaken assumption. Claude wrote this in first person as my own field write-up — the arc is “the manual stops helping right when it gets fussy,” then the hard-won tricks in the order you’d actually hit them: accept the imperfect structure, let the string line be the truth, story-pole the spacing, bottom-row-first with helpers, the spacer-block gap trick, respecting the dual-glass clamp zone, and torquing last. The full v2 checklist is embedded at the end as tables and lists so it travels with the post. He’s not as snide as I am, so we got that going for us. Realize that if you use the checklist you need to modify it for your own particular rack and panels, but I think it’s a usable checklist of important things to pay attention to.

    Mounting the panels

    There’s a moment in every DIY solar build where the boxes of panels are finally sitting on pallets, the rack is in the ground, and you realize the instructions stop being helpful right when the job gets fussy. The manual tells you the torque spec. It does not tell you how to get thirty modules to sit in a straight, neat line across 54 feet of steel when the ground isn’t level, the footings aren’t perfectly aligned, and each panel weighs enough to fight you the whole way up.

    This is how I mounted 30 Canadian Solar CS3W-415PB-AG bifacial modules — two high, portrait, at 20° — on a Chiko U2V ground mount, and the handful of tricks that turned a potentially maddening afternoon into a clean result. There’s a printable checklist at the bottom.

    Start by admitting the structure isn’t perfect

    My footings are splayed piles driven with a jackhammer into ground that’s flat but not level. I strung a line to get the tops of the trident mounts “approximately” level, and approximately is the honest word. If you’re working with anything short of a poured, surveyed foundation, you’re in the same boat, and the first mental shift is the most important one:

    Your goal is not a level array. Your goal is a top edge with no visible kinks.

    The human eye is remarkably forgiving of gradual drift and remarkably unforgiving of abrupt steps. A quarter inch of slow wander across 54 feet is invisible. A one-eighth-inch step between two neighboring panels is the first thing anyone sees. Once you accept that, the whole job reorganizes itself around one tool.

    The string line is the truth

    Forget the temporary wood ledger. I’d planned to build one, and I’m glad I didn’t — over 54 feet a ledger flexes, it’s heavy even if you do it in sections, and it shifts while you’re clamping. A taut mason’s string stretched between the two end posts, set at the exact height of the panels’ top edge, does the same job better and weighs nothing.

    Every panel gets brought up to the string. When a panel’s top corner just kisses the line, it’s right — even if that means the bottom edge or a gap varies a hair from its neighbor. Bring the top edge to the string, absorb the small stuff everywhere else, and the finished array reads as dead straight regardless of what the steel underneath is doing.

    A story pole beats a tape measure

    For the horizontal spacing, don’t measure fifteen times and let tolerance pile up until the last panel lands in the wrong place. Measure the run once, then make a story pole: a light stick marked at a single “panel width plus gap” increment. Step it along the rail and transfer identical marks in seconds. Your first-panel offset from the end of the rail is simply:

    (rail length − [number of panels × panel width + total clamp/gap allowance]) ÷ 2

    Center the row on the rail and everything lands where it should.

    Bottom row first, and let helpers be your clamps

    My bottom-row panels overhang the lowest rail by about 16–21 inches, so there’s nowhere down there to clamp a temporary stop — and the rails are a full 4 inches tall, which makes clamping stops to the framework awkward anyway. This is exactly why the old “top row first on a ledger” idea falls apart: a top-row ledger has nothing to rest on until the bottom row exists.

    The fix is people. With two helpers steadying panels, gravity and the string line replace every temporary stop. A helper lifts each panel until the top edge meets the string, I snug the clamps just enough to hold, and we move on. Let the bottom edge float — nobody sights the bottom edge, and it has no rail to reference anyway.

    The row-to-row gap: use a spacer, never butt

    Here’s a question the Chiko manual quietly refuses to answer: how big should the gap be between the upper and lower rows? It specifies nothing. What it does do is set a consistent side-by-side gap automatically, because the mid-clamp body holds neighboring panels apart by a fixed amount.

    So I let the hardware tell me the answer. I measured the actual gap the mid-clamps create between two side-by-side panels — somewhere around 18–22 mm — and cut wood spacer blocks to that exact thickness. Now every gap in the array, horizontal and vertical, is identical. That uniformity is what makes a grid look intentional instead of improvised.

    The blocks do double duty: I lay them on the frame of the lower row (never on the glass), rest the upper panel’s bottom edge on them while the helpers steady it, snug the upper clamps, and once the clamps carry the weight the blocks slide right out. I cut the blocks about two panels wide (8 feet) at a slight bevel so they pull free easily. If you’re choosing, err a hair generous — a slightly bigger even gap looks deliberate; too tight risks frame-to-frame contact once the aluminum grows in the heat. And it will grow: butting the rows directly is how you get thermal binding, ticking noises, and point loads on the frames.

    Respect the clamp zone — these are dual-glass

    The CS3W-415PB-AG is a glass-glass bifacial module, which means both faces are glass and it’s less forgiving than a standard backsheet panel. Two rules matter more than anything else here:

    Clamp only within Canadian Solar’s specified zone — 400 to 550 mm from each corner, on the long side only. That’s a 150 mm window, about six inches wide, so measure where your rails actually cross the frames before you panic about moving anything; there’s a good chance they already fall inside it. If a rail is out, adjust it at the slotted rail-to-beam holes.

    And torque to spec with a good quality torque wrench, not by feel. Over-torque or a clamp outside the zone can plant a microcrack you’ll never see but the panel’s output will. Same reason you never rest one of these face- or back-down on gravel while staging.

    Then, and only then, torque

    The single biggest process mistake is torquing as you go, because it locks in small errors you can no longer nudge out. Set the whole run finger-tight, walk to one end, crouch, and sight straight down the top edge. Fix anything proud or shy. Then torque everything in one pass to 15 N·m. Do a dry run of two or three panels at each end before you commit all thirty — that’s when you catch a rail that needs moving, while it’s still a five-minute fix instead of a thirty-panel teardown.

    One last note, since these are bifacial: all this care up top pays off double if you also brighten the ground under and behind the array — but that’s a story for another post.


    The Checklist (v2)

    Verify every value against the manuals for your exact hardware and Solar module before final tightening. Bond and ground per NEC and the racking’s listing.

    Specs to dial in first

    ItemValue
    Module clamp bolts (M8)15 N·m (~11 ft-lb) · 20 N·m max
    Rail-to-beam (M10)30 N·m (~22 ft-lb) · 40 N·m max
    Heavy structural bolts (M12)50 N·m (~37 ft-lb) · 55 N·m max
    Clamp zone (long side)400–550 mm from each panel corner (≈6″ window)
    Min clamp length / frame overlap≥ 80 mm / 10 ± 2 mm engagement
    Clamp sideLong side only — never the short ends
    Row-to-row gapMatch the side-by-side mid-clamp gap (~18–22 mm); ≥10 mm minimum

    Sequence — bottom row first, helpers hold, string is the datum

    1. Dry-run first. Set 2–3 panels at each end (no final torque). Check the string, the gaps, the clamp-zone fit, and whether any rail needs nudging.
    2. String line = top-edge truth. Stretch a taut mason’s line between the end posts at the height of the lower row’s top edge.
    3. Story-pole the spacing. Mark each panel edge / mid-clamp spot from one squared end. First-panel offset = (rail length − [15 × panel width + clamp/gap allowance]) ÷ 2.
    4. Square panel #1 (equal diagonals or framing square to rail). Everything references it.
    5. Set the bottom row. Helpers lift each panel until its top edge kisses the string; snug the clamps just enough to hold. Let the bottom edge float — no stop needed.
    6. Set the upper row on spacer blocks resting on the lower row’s frame; helpers steady; snug clamps; pull the blocks once the clamps hold the weight.
    7. Sight down the whole run from one end; nudge any panel proud/shy or any uneven gap.
    8. Torque last, one pass — 15 N·m on the clamps. Never torque as you go.

    Handling — dual-glass (both faces are glass)

    • Two helpers plus you, on a calm day. A 2.1 m module is a sail; flex or drop plants hidden microcracks.
    • Never rest a panel face- or back-down on gravel — frame edges or padding only.
    • Seat the mid-clamp grounding pins for bonding continuity; re-check a few clamps after the first hot day.

    Making it look straight over an imperfect substructure

    • The eye forgives gradual drift, not steps — aim for a top edge with no kinks, not a perfectly level array.
    • The string line wins every tie: bring every top corner to it even if the bottom edge or a gap varies slightly.
    • Absorb error in the clamp play, spread gradually across many panels so no single panel steps off its neighbor.
    • Level with rail slot adjustment or a thin shim at the clamp — leave the footings alone.

    Pre-flight

    • uncheckedDry-run panels set at both ends and checked
    • uncheckedRail centers measured against the 400–550 mm band
    • uncheckedStory-pole marks on the rails; first-panel offset figured
    • uncheckedSpacer blocks cut to the measured side gap
    • uncheckedTop-edge string strung and taut between end posts
    • uncheckedClamps, M8/M10/M12 hardware, and a torque wrench on hand
    • uncheckedTwo helpers briefed; a calm-wind window chosen
    • uncheckedFirst end-clamp datum marked and squared

  • How the EG4 18kPV Knows the Grid Is Down — and Why It Doesn’t Need a Transfer Switch

    How the EG4 18kPV Knows the Grid Is Down — and Why It Doesn’t Need a Transfer Switch

    If you’ve ever installed a backup generator, you know the drill: the generator can’t just be wired into your panel alongside the utility. You need an automatic transfer switch (ATS) — a big mechanical relay box that physically flips your home between “grid power” and “generator power” so the two sources can never touch. The transfer switch exists for one non-negotiable reason: you must never let your generator backfeed the utility lines.

    So when people wire up an EG4 18kPV hybrid inverter for battery backup and see that the diagram doesn’t call for a separate ATS, a reasonable question comes up: Wait — isn’t this the same problem? How does the inverter keep from energizing a dead grid, and why don’t I need a transfer switch like I would with a generator?

    The short answer is that the 18kPV already contains the transfer switch — and something a generator fundamentally lacks: the ability to constantly listen to the grid and decide, on its own, in a fraction of a second, whether the grid is really there. Let’s unpack how it does that, and why it changes the wiring.

    The core safety problem: islanding

    When a solar or battery inverter is tied to the utility, there’s a specific hazard everyone in the industry is trying to prevent, called islanding. Imagine the utility drops power to your street — maybe a line went down, maybe a lineworker opened a breaker to make repairs. If your inverter keeps happily pumping power out onto those wires, you’ve created an “island” of live voltage on a grid segment that everyone assumes is dead. That’s a serious danger to utility crews and equipment, and it can damage the grid when power is restored out of phase. You might think “How can it be so dangerous, it’s just 220 volts.” First, 220VAC is more than enough to kill anyone quickly. But much worse, you’re backfeeding through the transformer your utility uses to decrease the five to 15 thousand volts their local transmission lines use to the 220V split phase power your home uses. Like any transformer that can work backward. Your 220VAC becomes high voltage on the power lines. Yes, you can toast a lineman, a neighbor who thinks the grid is down completely and does something reckless, or damage equipment.

    So every grid-interactive inverter sold in North America has to solve one problem above all others: the instant the grid goes away, stop feeding it. In the U.S. this is mandated by the safety standards UL 1741 and IEEE 1547, and the required behavior is called anti-islanding. A generator has no concept of this — it’s just a dumb source of power — which is exactly why it needs an external transfer switch to keep it away from the grid. You are never, ever selling power from your generator to the utility–you can’t–the ATS is preventing that. But you can sell power from your solar installation to the grid, and when you do, it has to obey UL 1741 and never backfeed a dead line. The 18kPV solves the problem in electronics instead.

    How the inverter detects grid loss

    Here’s the part that surprises people: the inverter doesn’t have a wire running upstream to the utility breaker. It can’t directly “see” whether the pole transformer is energized. And that wouldn’t work anyway–when you’re backfeeding the line that transformer is energized. Instead, it infers the grid’s presence from how the AC connection behaves — and it does this with two layers working together.

    Layer one: passive detection

    At its grid terminals, the 18kPV (and all grid-interactive inverters that meet UL 1741 requirements) continuously measure voltage and frequency, cycle by cycle. A real, healthy utility grid is an enormously “stiff” source: it holds voltage and frequency rock-steady no matter what your house does. When that stiffness suddenly disappears, it usually shows up immediately. When a utility brings another giant power plant on line it needs to be synced to the grid before the output breaker is closed. If it isn’t there’s a huge crash that shakes the entire turbine building, breakers the size of your garage pop open, and the grid and the generator are violently forced into sync or the plant drops off line. Not pretty. I’m a former nuclear reactor operator, I’ve experienced what happens when you screw up the sync. But unless your PV installation is seriously mega, you don’t have this problem. Your system gets yanked into sync without so much as a whimper. The grid is stiff, your system isn’t.

    Think about the moment the utility disconnects. In almost every real-world situation, the amount of power your inverter is producing doesn’t perfectly equal what your house is consuming at that instant. Maybe the inverter is exporting 3 kW and the house is only using 1 kW. The second the grid — which had been absorbing that extra 2 kW — vanishes, that surplus power has nowhere to go. Voltage spikes. Or if the house was drawing more than the inverter was making, voltage sags. Either way the numbers jump outside the allowed window, and the inverter trips offline (or rather, off the grid) within a cycle or two.

    The inverter enforces protective limits on both voltage and frequency — over-voltage, under-voltage, over-frequency, under-frequency. Any excursion past those thresholds is read as “the grid is no longer holding this line up,” and it disconnects. Passive detection catches the overwhelming majority of grid-loss events essentially instantly.

    The blind spot

    Passive detection has one theoretical gap, and understanding it is the key to understanding why the second layer exists.

    Picture the rare worst case: at the exact instant the grid opens, your inverter’s output happens to almost perfectly match your home’s load — same real power, same reactive power, balanced at resonance. Now when the grid disappears, nothing has to change. There’s no surplus to spike the voltage, no deficit to sag it, no imbalance to shift the frequency. The inverter could keep energizing that dead island indefinitely, never realizing anything happened, because from its terminals everything still looks normal.

    This narrow set of conditions is called the non-detection zone (NDZ). It’s unlikely in practice, but “unlikely” isn’t good enough for a safety standard where the downside is an electrocuted lineworker. Passive methods alone can’t close this gap — so certified inverters add an active one.

    Layer two: active anti-islanding

    To eliminate the blind spot, the 18kPV — like every UL 1741-certified inverter — doesn’t just passively watch. It actively probes the grid. It continuously injects a small, deliberate disturbance into its own output and watches how the line responds.

    The most common technique is a subtle frequency shift. Each cycle, the inverter nudges its output frequency a hair away from a perfect 60 Hz, and it’s built so that nudge tends to reinforce itself (engineers call this positive feedback; the well-known implementations go by names like Active Frequency Drift and Sandia Frequency Shift). Then it watches what happens.

    When the real grid is connected, that stiff utility source completely overpowers the little nudge. Frequency stays locked at 60 Hz because the entire utility Interconnection is holding it there; the inverter’s probe is swallowed without a trace, and nothing happens. But the moment the grid is gone, there’s nothing anchoring the frequency anymore. The inverter’s own nudge now feeds back on itself with nothing to oppose it, frequency runs away from 60 Hz, sails past the trip threshold, and the relays open — reliably in well under two seconds, even in that resonant-load blind spot that would fool passive detection.

    Some designs use a reactive-power or voltage perturbation instead of frequency, but the principle is identical: inject a signal that’s invisible when the grid is stiff and self-amplifying when it isn’t. That’s the elegant trick at the heart of anti-islanding. The inverter never has to see the utility breaker; it just asks, thousands of times a second, “does this line still behave like it’s backed by the whole grid?” — and the moment the answer is no, it lets go.

    Why that means no external transfer switch

    Now the wiring question answers itself.

    A generator needs an ATS because the generator is oblivious. It cannot tell whether the grid is up or down, and it has no ability to stop itself from backfeeding. The generator typically isn’t running when the grid goes down, so the grid connection is reliably detectable as dead. The transfer switch is a mechanical referee standing between two sources that must never meet, physically guaranteeing that when the generator is connected to the house, the utility is disconnected — and vice versa. Your PV system isn’t like that–you need something smarter.

    The 18kPV can’t use an ATS because it’s feeding or consuming the grid when the grid goes down. A simple ATS won’t see a dead grid. Inside the inverter are the grid-disconnect relays — and in a UL 1741-certified unit these are redundant relays in series, so a single stuck or welded contact can’t defeat the disconnect; both must open to isolate, and the firmware self-tests them. Those internal relays are your transfer function. When the grid is healthy, they close and the inverter works with the utility. When anti-islanding detects grid loss, they snap open in a fraction of a second, cleanly islanding your home. Your loads ride through on battery and solar, and the utility side sits truly dead — because the very same electronics that decided to disconnect are the ones that were doing the exporting.

    In other words, the intelligence and the disconnect live in the same box. A generator splits those jobs — dumb source here, mechanical switch there — so you have to buy and wire the switch separately. The hybrid inverter merges them, so the “automatic transfer switch” is a set of relays and a detection algorithm already sitting behind the GRID and LOAD terminals on the unit. That’s why the diagram wires the grid straight into the inverter and your backed-up loads out the other side, with no ATS in between. It’s also why your inverter has separate LOAD and GRID connection while a generator just has an OUTPUT connector

    Two caveats worth knowing

    None of this means wiring can be casual.

    First, the protective thresholds and reconnect timing aren’t magic constants — they’re installer- and grid-code-dependent settings. After a disturbance the inverter deliberately waits (commonly around 60 seconds of confirmed stable grid) before reclosing, which is why you’ll notice a delay before it re-syncs after an outage. Change those parameters carelessly and you can push the unit out of compliance.

    Second — and this is the big one for anyone building a larger system — active anti-islanding assumes the inverter is the one probing the waveform. When you parallel multiple units improperly, or tie several grid inputs together in ways the manual doesn’t sanction, the inverters can partially mask each other’s perturbations and blunt the detection. This is the root cause behind the multi-inverter disconnect problems that have been reported with the 18kPV in the field. The anti-islanding is robust, but it’s robust within the wiring topology EG4 designed and certified. Follow their diagrams exactly, especially in multi-inverter builds, and the built-in transfer function does its job. I’m digging into this deeply because I’m building a three phase system, which means three 18KPVs paralleled, with each inverter producing two lines of the three phase system, combined so inverter 1 produces L1, and L2, inverter 2 produces L2 and L3, and inverter 3 produces L3 and L1. The combine output is L1,L2, and L3 as a wye connected, 208V three phase system with each combination of two lines 120 degrees apart. The wiring diagram looks like a road map of china. The electrician and I are spending a lot of time making sure we understand what we’re doing.

    As an aside, you can theoretically produce 3 phase solar power with just two inverters. One inverter produces L1and L2, the other produces L2 and L3. But there’s a fundamental problem. L2 has two power sources, L1 and L3 have one. If your loads are balanced across all three phases you have a deficit that the inverters struggle to balance. What that means for anti-islanding is unclear to me, but it doesn’t seem like it would be a plus. The EG4 18K manual used to include a wiring diagram for 2 phase with two inverters–the newer manual doesn’t have that diagram. It’s no longer supported. I suspect there are more reasons why than just load imbalance, but I don’t really know.

    The takeaway

    A generator installation needs an automatic transfer switch because the generator can’t tell whether the grid is alive and can’t stop itself from backfeeding it. The EG4 18kPV needs no such thing because it does both jobs internally: it constantly listens to the grid — passively watching voltage and frequency, and actively probing with a tiny self-reinforcing perturbation — and the instant that line stops behaving like the real grid, its own redundant relays open and isolate your home. The transfer switch didn’t disappear from the diagram. It moved inside the inverter, and got a lot smarter on the way in.

  • EMS Knowledge File Build Checklist

    EMS Knowledge File Build Checklist

    Who Cares? This post is really for geeky folks who want to know what this thing is going to be who appreciate technical detail. If that’s NOT you, then maybe just read the next four paragraphs. It’s also useful for those folks who wonder why this is taking so long. It’s a bigger project than it probably looks like from the outside.

    So Claude and I are working on the first version of the build file. It’s a VERY weird feeling project. Dumping a TON of work and virtually every thought I have into a stack that eventually (hopefully) will make something pretty useful. It’s been a hit and miss project despite steady forward motion for nearly two years, mostly because I started it as a top down project–making wildfire resilience available to anyone. Now it’s a bottom up stack: Energy management + awareness+local monitoring+wildfire resilience. So a lot of stuff went out the window, a lot of stuff got put in the “save for later” stack, and now it’s all EMS. And everyone–anyone–can use EMS. So we’re going to build version 1. More honestly, v0.1b because it’s surely a beta. This post is going to grow huge, because I’m going to paste parts of what we build into the checklist.

    As with every really good project one thing leads rapidly to another, and for a guy with a neurodivergent brain that trends heavily to the attention deficit side this is “Oh look, a butterfly” plus a new motorcycle plus a really great box of chocolates and a double espresso. But Claude is a taskmaster, and here’s what we worked out for v0.1b

    This checklist tracks everything that needs to be documented, tested, and written before the EMS knowledge file is ready for someone to drop into a Claude Project and build their own system. It covers both what needs to exist in the world (hardware that’s been proven to work) and what needs to be written (the documentation that lets someone else reproduce it). We use the term documented and to some people that means a manual. But no, the documentation is not for you, it’s for your instance of Claude. You could dig into it I guess if you wanted to–it’s text and it’s readable. But the expert is Claude.

    The knowledge file is the product. This checklist is how we build it. (note: the checklist includes product names that are representative, not absolute requirements or even recommendations,) Oh, and we have absolutely no intention or desire to charge for this. It’s going to be free, like Home Assistant and all the other incredible open systems stuff we get to play with.

    SECTION 1: Foundation — What the File Needs to Do
    Before building the content, we need to agree on what the file actually enables. A person with no prior Home Assistant experience should be able to load this file into a Claude Project and, through conversation, build a working EMS for their home.
    Define the scope
    ☐ Write a one-page ‘what this file does and doesn’t do’ statement.

    WHAT THIS FILE DOES AND DOESN’T DO

    This file turns Claude into an energy management system builder for your home. Load it into a Claude Project, describe your home and what you want, and Claude will generate the specific configuration — automations, device settings, Home Assistant config — to build it. You copy what it produces, paste it into Home Assistant, test it, and tell Claude what to adjust. That’s the whole loop.

    What you get is a system fitted exactly to your home. Not a template you adapt. Not a product you configure. A system built through conversation, for your specific hardware, your utility rates, your schedule, and the way you actually live.

    What it does

    Helps you build a Home Assistant-based energy management system that knows when you’re home and when you’re not, manages your major loads — water heater, climate, phantom loads — around that, and if you have solar and battery storage, coordinates everything against what you’re producing and what you have stored. It works at three levels: grid-only with smart management, add a battery, add full solar. Each level works on its own. Each one makes the next more valuable.

    What it doesn’t do

    It doesn’t install anything for you. You still need to run commands, paste YAML, and do some basic setup. Claude lowers the bar considerably — but this isn’t a one-click installer. Expect a weekend to get the foundation working, and a few weeks of tuning before it feels dialed in.

    It doesn’t cover fire detection or security cameras. Those are planned extensions. This version is energy management only.

    It doesn’t work well if your phone is unreliable or you don’t carry it. Location-based automation is the core of the system. If phone presence doesn’t work for your situation, the system still works — it just needs a different trigger, which Claude can help you set up.

    It isn’t finished. Some parts are more battle-tested than others. Claude will tell you which is which. The system gets better as more people build it and report back.

    The honest version in one sentence: this is a powerful system that requires some technical effort to build, will need tuning after you build it, and will deliver a real return on that investment — but it won’t do the work for you.


    ☐ Define the three tiers clearly: grid-only, solar-without-battery, full solar+battery


    ☐ Define minimum technical prerequisites — what does a user need to already have or be able to do?

    The overall minimum Minimum Technical Prerequisites

    The user must have, before starting:

    • A Raspberry Pi 4/5 or mini PC with Home Assistant OS installed and accessible in a browser
    • A home WiFi router they can log into
    • A smartphone with the HA Companion app installed and connected
    • At least one smart plug already paired and working in HA

    The user must be able to:

    • Follow step-by-step instructions without skipping steps
    • Copy and paste text accurately
    • Log into a router and find connected devices
    • Install an app on their phone

    That’s it. No terminal, no coding, no networking knowledge beyond “I can find my router’s IP.”


    What “Working” Means at Each Tier

    Tier 1 — Grid-only EMS complete: The house responds to people. When everyone leaves, non-essential loads turn off automatically. When someone comes home, comfort is restored before they walk in the door. AC and lights don’t run in empty rooms. The user can see their whole-home energy picture in one HA dashboard. Nothing requires manual intervention for a normal day.

    Tier 2 — Solar without battery complete: The house responds to the sun. High-consumption appliances like water heaters shift to run during peak solar production. The user can see solar production in real time alongside their loads. The system automatically avoids wasting solar by timing loads to match generation.

    Tier 3 — Full solar plus battery complete: The house makes autonomous decisions. Battery charges from solar, discharges during peak rates, and holds a reserve for outages. The system monitors weather forecasts and adjusts overnight reserves accordingly. A grid outage triggers automatic response with no manual steps. The user’s energy bill reflects intelligent management, not just usage reduction.

    The honest minimum for each tier:

    Tier 1 (grid-only)

    • Home Assistant installed and running (any hardware). YouTube has dozens, maybe hundreds of videos showing how to do this. A raspberry Pi 4 or 5 will make this a smooth process, but there are ways to install HA (Home Assistant) on any old computer you have kicking around.
    • At least one smart plug or switch already paired and working in HA (I like the ThirdReality Zigbee units–they can handle 15 amps and have excellent monitoring capability)
    • Able to copy/paste YAML into the HA automation editor (YouTube–or ask Claude to step you though it. You’ll be doing this a lot, so I pays to understand the process.
    • A smartphone with the HA companion app installed (install it from the APP store for iPhone. You’ll want to connect it through Nabu Casa so you can access your system from anywhere you have cell coverage.)
    • Tier 2 (add portable battery/solar)
    • Everything in Tier 1
    • A battery system with a supported HA integration (EcoFlow, Jackery, etc.)
    • Comfortable installing an HA integration from HACS or the integration store

    Tier 3 (full solar + battery)

    • Everything in Tier 2
    • An inverter with local Modbus or Solar Assistant integration
    • Basic comfort with SSH or terminal commands (for Solar Assistant/MQTT setup)
    • A dedicated Pi or similar device for Solar Assistant (Solar Assistant requires a raspberry pi. I use a 4b Pi for this–cheap and good enough)


    ☐ Define what ‘working’ means at each tier — what can the system do when Tier 1 is complete? Tier 2? Tier 3?

    What “working” means at each tier

    Tier 1 complete: The house responds to presence. Loads turn off when everyone leaves, restore when someone returns. AC and lights don’t run in empty rooms. Water heater follows a schedule. A person comes home to a comfortable house without touching anything.

    Tier 2 complete: The house responds to both presence and energy state. Battery charges from solar when available, discharges during peak rates. Loads shift to the solar window automatically. The user can see battery SOC and solar production in HA.

    Tier 3 complete: The system makes autonomous decisions based on solar production, battery state, grid status, and weather forecast. Water heater and AC run on surplus solar. The house handles a grid outage without manual intervention. Nothing is on a fixed schedule — everything responds to actual conditions.

    Define the conversation model
    ☐ Write the opening prompt sequence — how does a new user start? What does Claude ask them first?

    We pasted the prompt at the end–it’s long. If you aren’t used to detailed AI prompts this will look very weird to you. It’s almost like some kind of self-help rap. But this defines how Claude will interact with you to build the system. It’s detailed, and it will help–a lot–in keeping things on track.


    ☐ Define the home inventory questions — what does Claude need to know about the user’s home before it can generate useful config?
    ☐ Define the output format — what does Claude produce? YAML to paste? Step-by-step instructions? Both?
    ☐ Write the ‘I made a change and it didn’t work’ recovery flow

    SECTION 2: Hardware — Proven and Documented
    Every piece of hardware in the knowledge file needs to be personally tested and working. No recommending things that haven’t been through the actual build process.
    Core platform
    ☐ Raspberry Pi 4 (2GB) — HA install documented — OS install, HA install, network config
    ☐ Home Assistant OS install process documented end-to-end
    ☐ Network static IP assignment documented
    ☐ Nabu Casa remote access setup documented
    ☐ HA Companion app install and account linking documented — iPhone and Android

    Zigbee
    ☐ Home Assistant Connect ZBT-1 — setup and ZHA config documented
    ☐ SONOFF SNZB-06P presence sensor — pairing, tuning, entity IDs documented
    ☐ Sensitivity to High — entity: select.sonoff_snzb_06p_detection_sensitivity
    ☐ Timeout to 15 seconds — entity: number.sonoff_snzb_06p_presence_detection_timeout
    ☐ Illumination sensor enable documented — entity: sensor.sonoff_snzb_06p_last_illumination_state
    ☐ Seeed Studio MR60BHA1 — setup and integration documented — NOT YET DONE
    ☐ At least one Zigbee smart plug with energy monitoring documented

    Smart plugs and switches
    ☐ Smart plug setup and entity naming conventions documented
    ☐ Power monitoring calibration process documented — how to confirm watt readings are accurate
    ☐ Phantom load identification workflow documented

    Water heater control
    ☐ Smart switch for resistive water heater documented — relay rating, wiring safety notes
    ☐ Water heater automation logic tested and documented
    ☐ Rheem/conventional electric integration documented — based on Maui guest house

    Climate / AC control
    ☐ IR blaster setup for window AC documented — Sensibo or Broadlink or SmartIR
    ☐ SmartIR device code lookup process documented
    ☐ Window AC automation YAML documented and tested
    ☐ Presence-based on/off — binary_sensor.sonoff_snzb_06p
    ☐ Solar threshold run — run AC when production > 500W
    ☐ Battery SOC condition — only run from battery above 40%
    ☐ Mini-split integration documented — for users who have one

    Solar and battery — Tier 2 and 3
    ☐ EcoFlow Delta 2 / portable power station integration documented
    ☐ EcoFlow Home Assistant integration method documented — local API or MQTT
    ☐ Solar panel + microinverter (balcony system) integration documented
    ☐ EG4 18kPV integration via Solar Assistant documented — for full system
    ☐ Solar Assistant MQTT bridge config — /share/mosquitto/solar_assistant.conf
    ☐ Key entity IDs documented — pv_power, battery_power, battery_soc, load_power, grid_power
    ☐ Battery SOC tiers defined and documented — reserve, normal, excess

    Location and presence
    ☐ HA Companion app phone presence setup documented
    ☐ Zone configuration documented — home zone radius, arrival/departure zones
    ☐ Proximity integration setup documented
    ☐ Multi-person household handling documented — group.household_members
    ☐ Fallback logic documented — what happens when phone presence fails
    Energy monitoring
    ☐ Emporia Vue 3 integration documented — if using
    ☐ Shelly/Kasa smart plug energy monitoring documented
    ☐ How to build a whole-home consumption picture from partial monitoring

    SECTION 3: Software — Automations and Configuration
    Every automation in the knowledge file needs to be tested on real hardware. No theoretical YAML.

    Tier 1 — Grid-only with presence and basic EMS
    ☐ Departure automation — all loads to away mode when everyone leaves
    ☐ Arrival automation — restore comfort loads when someone approaches
    ☐ Pre-arrival staging automation — start recovery N minutes before arrival
    ☐ Room presence + AC off/on automation
    ☐ Room presence + lighting automation
    ☐ Water heater occupancy scheduling automation
    ☐ Phantom load cutoff automation — cut standby loads when away
    ☐ Time-of-use rate awareness automation — if utility has TOU pricing

    Tier 2 — Add battery/portable power station
    ☐ Battery SOC monitoring automation
    ☐ Charge-from-solar automation — route excess to battery
    ☐ Discharge-during-peak automation — draw from battery during TOU peak
    ☐ Load shifting to solar window automation
    ☐ Low battery reserve protection automation
    ☐ Overnight reserve management automation

    Tier 3 — Full solar + battery system
    ☐ Solar production threshold automations
    ☐ Water heater solar surplus automation — heat water when production exceeds load
    ☐ AC solar-direct run automation
    ☐ Battery arbitrage automation — buy cheap, avoid expensive
    ☐ Grid outage detection and response automation
    ☐ Multi-day weather forecast integration — adjust reserve based on tomorrow’s sun

    Notification system
    ☐ iPhone notification setup documented — notify.mobile_app format
    ☐ Multi-person notification documented — separate data blocks per person
    ☐ Energy event notifications documented — grid outage, low battery, high production
    ☐ Automation failure/fallback notifications

    SECTION 4: The Knowledge File Itself
    The knowledge file is not just a collection of documentation. It’s a structured prompt that teaches Claude how to be an EMS configurator. The structure matters as much as the content.

    File structure
    ☐ Write the system prompt / persona section — what role Claude plays, what it knows, how it communicates
    ☐ Write the home inventory intake section — the questions Claude asks to understand a specific home
    ☐ Write the supported hardware registry — every tested device with integration method and entity naming
    ☐ Write the automation library — every tested automation with YAML and explanation
    ☐ Write the bill of materials at each tier — Basic ~$150-300, Intermediate, Full
    ☐ Write the tuning and calibration guide — how to adjust after first installation
    ☐ Write the troubleshooting guide — common failure modes and fixes
    ☐ Write the ‘what to do when it breaks’ section
    ☐ Write the expansion path documentation — how Tier 1 grows to Tier 2 and 3

    Validation
    ☐ Test the complete file with a naive user scenario — simulate someone starting from scratch
    ☐ Test the file produces valid YAML on the first try
    ☐ Test the file handles edge cases — apartment, no solar, renter, etc.
    ☐ Test the file handles multi-person households
    ☐ Test the file handles the ‘I have weird hardware’ case

    SECTION 5: Hood River Test Build
    The Hood River house is the real-world test of the Tier 2 system — real HVAC, TOU utility rates, proper winters, actual coming and going. This is where the knowledge file gets proven before it’s released.
    ☐ Raspberry Pi + HA OS install at Hood River
    ☐ Balcony solar + EcoFlow Delta Pro setup and integration — arriving April 2nd
    ☐ AC coupling / microinverter + shared outlet concept tested
    ☐ HVAC integration documented — real heating system, not just fans
    ☐ TOU rate schedule configured in HA
    ☐ Location automations tuned for Hood River commute patterns
    ☐ Multi-day build documented as video series
    ☐ Knowledge file updated with Hood River learnings

    SECTION 6: Open Items and Questions
    Things that aren’t resolved yet and need decisions before the knowledge file can be finalized.
    Technical open items
    ☐ Seeed MR60BHA1 integration — needs full setup and test
    ☐ EcoFlow local API — confirm current API availability and HA integration method
    ☐ SmartIR vs Sensibo vs Broadlink — pick one to recommend as primary for beginners
    ☐ Emporia Vue 3 vs smart plug monitoring — when to recommend which
    ☐ Multi-zone presence — how to handle a house where you need more than one sensor
    ☐ Android vs iPhone presence reliability differences — document known issues

    Scope decisions
    ☐ Fire layer — decide when to add fire/sprinkler content to the knowledge file
    ☐ Security camera layer — decide when to add Frigate/camera content
    ☐ Pool equipment — include or separate document?
    ☐ EV charging — include at Tier 2 or 3?
    ☐ Community version vs personal version — same file or fork?

    Distribution
    ☐ Decide where the file lives — GitHub repo? ExpertAmateur download? Both?
    ☐ Decide on versioning — how do people get updates?
    ☐ Decide on the Claude Project setup instructions — how does someone load it?
    ☐ Decide on the feedback/improvement loop — how do users contribute back?

    So yeah, quite simple. Now you know why we haven’t already done this. Even this first beta will be very complete. And real. If I say “no, we don’t have the hardware but we can write it in from the spec. Claude says “no”. And actually there’s a shit-ton of stuff we left out to not make this too scary. Some people are going to need hyper-local weather. Some are going to need uninterruptible internet (we’ve done that). Some folks are going to need to control well pumps and other weird loads. We’ll do all that. But first…

    You’ll note there’s no way to comment here. That’s because the last time I turned comments on I got 7,453 spam comments in three months. Fahkahs. I had to delve into the guts of WordPress to bulk delete them. There might have been a few actual questions in the dreck. Sorry–I killed them all. Probably the best way to communicate is to comment on any video in my ExpertAmatuer channel. Let YouTube deal with the spammers. I read those, though not every day. Publishing my email is also a non starter–you already know why. My inbox is 95% spam. I do have a Facebook account as ExpertAmatuer, mostly so lonely young women who apparently really like 79 year-old married geezers can get in touch with me.

    Last updated: March 2026 | Bill Babcock | expertamateur.com

    Here’s the prompt–it’s long, but worth a look. Yes, of course Claude wrote this:

    ExpertAmateur EMS Knowledge File — System Prompt
    Version 0.1 — March 2026 — Bill Babcock

    This document contains two things: the actual system prompt text that goes into the Claude Project, followed by notes explaining the reasoning behind each section. When you load this into a Claude Project, use only the text between the START and END markers. And YES, this is a real model prompt.

    ── SYSTEM PROMPT START ──

    WHO YOU ARE
    You are an expert home energy management system builder working with a homeowner to design, configure, and build a system precisely fitted to their home, their hardware, and the way they actually live.
    You have deep knowledge of Home Assistant, residential energy systems, solar and battery storage, smart home devices, and home automation. You know what works and what doesn’t, what’s worth the money and what isn’t, and how to build things that keep working after the first weekend.
    You are not a salesperson and you are not trying to impress anyone. You give honest assessments, flag real limitations, and tell people when something is harder than it sounds. You have strong opinions about what works and you share them — but you always explain why, and you always defer to what the homeowner actually wants for their home.
    Your job is to help the person you’re talking to build a system that works for them. Not a demo, not a proof of concept — a real system that runs on their hardware, in their home, every day.

    HOW YOU COMMUNICATE
    Talk like a knowledgeable friend, not a manual. Short sentences. Plain language. No jargon unless you explain it. When something is technically complex, find the plain-language version first, then offer the technical detail for people who want it.
    Be direct. If someone’s plan won’t work well, say so and explain why. If there’s a better approach, describe it. Don’t hedge everything into uselessness.
    Be honest about uncertainty. If you’re not sure whether a specific device will work with a specific integration, say so. If something is on the checklist but hasn’t been fully tested yet, flag it.
    When you generate configuration — YAML automations, HA config entries, device settings — make it complete and ready to use. Don’t give people fragments they have to figure out how to complete. If you need more information before you can generate something complete, ask for it first.
    One question at a time. Don’t overwhelm people with a list of ten things you need to know. Ask the most important thing, get the answer, then ask the next thing.

    THE SYSTEM YOU’RE HELPING BUILD
    The ExpertAmateur Energy Management System is an open-source, AI-configured home energy management system built on Home Assistant. It runs locally on a Raspberry Pi, uses off-the-shelf hardware, costs a fraction of commercial alternatives, and is designed to be built and tuned by the homeowner — with your help.
    The system has three tiers. Each tier is fully functional on its own. Each one makes the next tier more valuable. Nothing built for a lower tier gets replaced when you move up.
    Tier 1 — Grid-Only with Smart Management (~$150–300 in hardware)
    The foundation. A Raspberry Pi running Home Assistant, smart plugs with energy monitoring, and the homeowner’s existing phone. Real-time consumption visibility, location-based automation, presence-aware load control, and basic scheduling. This tier alone delivers meaningful energy savings for most homes and is the prerequisite for everything above it.
    What Tier 1 can do:
    Know when everyone has left home and adjust loads accordingly — water heater to holding temp, climate to minimum, phantom loads cut
    Know when someone is heading home and stage a recovery so the house is comfortable on arrival
    Know whether a specific room is occupied and control climate and lighting accordingly
    Identify and cut phantom loads — standby power from TVs, chargers, entertainment systems
    Shift shiftable loads — water heating, laundry — to off-peak rate windows if the utility charges more at certain hours
    Tier 2 — Add Battery Storage (~$500–800 additional)
    A portable LiFePO4 battery (EcoFlow, Bluetti, or similar) connected to Home Assistant. Now the system can store energy and deploy it strategically — covering peak-rate hours from storage, charging from cheap overnight rates, providing basic outage resilience.
    What Tier 2 adds:
    Store energy when it’s cheap, use it when it’s expensive
    Cover household loads during short outages
    If you have balcony solar — store daytime production for evening use
    Manage battery state of charge intelligently — maintain reserves, protect against deep discharge
    Tier 3 — Full Solar + Battery System
    A properly sized solar array with inverter and battery bank, fully integrated into Home Assistant. Now the system manages a small power plant — optimizing self-consumption, managing grid interaction, coordinating all loads against real-time production.
    What Tier 3 adds:
    Solar-first dispatch — run loads from production before touching battery or grid
    Intelligent surplus routing — excess solar goes to water heating or battery, not wasted
    Weather-aware reserve management — hold more battery reserve when tomorrow looks cloudy
    Full outage resilience — maintain critical loads through multi-day grid outages
    Time-of-use arbitrage at scale — meaningful bill reduction from smart grid interaction
    What’s not in scope for this version
    Fire detection and wildfire mitigation is a planned extension of this system but is not included in this version. If you’re interested in that layer, watch for future releases at ExpertAmateur.com. Security cameras and AI detection are similarly planned but not yet included.

    HOW TO START WITH A NEW USER
    When someone loads this file and starts a conversation, your first job is to understand their situation well enough to give them useful, specific guidance. You don’t need to know everything before you start — but you need to know enough to not waste their time.
    Start here. Ask these questions, one at a time, in roughly this order. Stop when you have enough to give them a useful first recommendation.
    Question 1 — What are you trying to accomplish?
    Let them describe it in their own words. Don’t constrain them with multiple choice. Common answers: cut my electricity bill, get through power outages, make my solar work better, automate my house. All valid. Some people won’t know exactly — that’s fine too. ‘I want to stop wasting energy’ is a perfectly good starting point.
    Question 2 — What does your home look like?
    You need: do they own or rent, rough size of home, what climate control they have (central AC/heat, window AC, mini-split, none), whether they have a water heater and what type (electric resistance, heat pump, gas), whether they have a pool, how many people live there. You don’t need all of this immediately — get the most relevant pieces first based on what they said they want to accomplish.
    Question 3 — What hardware do you already have?
    Do they have Home Assistant running? Solar panels? A battery? Smart plugs? A smart thermostat? Any Zigbee devices? This tells you where they’re starting from and what Tier makes sense to target first.
    Question 4 — What’s your technical comfort level?
    Be specific: have they used a command line before? Are they comfortable following step-by-step technical instructions if each step is clearly explained? Have they done any home automation before? You’re not gatekeeping — you’re calibrating how much explanation to include in what you generate. Someone who has never seen a terminal needs different output than someone who has been tinkering with HA for years.
    Question 5 — What’s your budget for hardware?
    This determines which tier is realistic right now and what hardware you recommend. Don’t push people toward more than they need or can afford. Tier 1 is a completely legitimate destination, not just a stepping stone.
    Once you have answers to these five questions you should be able to tell the person: which tier makes sense to start with, what hardware they need to buy (if anything), and what the first concrete build step is. That’s the goal of the intake — get to a specific, actionable first step as fast as possible.

    WHAT YOU GENERATE
    When you generate configuration for someone’s system, follow these rules:
    YAML automations
    Always use real entity IDs from the person’s system, not placeholders. If you don’t have their entity IDs yet, ask for them before generating the automation. A completed automation with the right entity IDs is infinitely more useful than a template they have to figure out how to adapt.
    Always include the automation id field. Always include a clear alias. Include comments explaining what each section does for anyone reading it later.
    Test your YAML mentally before you produce it. Common errors: wrong indentation, missing ‘for:’ block on state triggers that need a delay, service calls that use deprecated syntax. When in doubt, use the newer ‘action:’ key rather than ‘service:’.
    Home Assistant configuration
    Be specific about where things go. ‘Add this to configuration.yaml’ is not enough — tell them exactly where in the file, what to watch out for, and how to validate it before restarting. Always remind them to run a configuration check before restarting HA.
    Hardware recommendations
    Only recommend hardware that has been tested and documented in this knowledge file. If someone asks about a device that isn’t in the tested hardware list, say so honestly and either help them evaluate it or suggest the closest tested alternative.
    When something isn’t working
    Start with the most likely cause, not the most thorough diagnosis. If an automation isn’t firing, the most likely cause is wrong entity ID or wrong state value — check those first. Give them one thing to check, not a list of ten. Get confirmation before moving to the next thing.

    IMPORTANT CAVEATS TO ALWAYS KEEP IN MIND
    Phone-based presence detection is reliable but not perfect. Phones lose coverage, run out of battery, and occasionally get left behind. Always design automations with graceful fallback — if presence detection fails, the system should fail toward comfort and safety, not toward maximum efficiency. A house that gets too cold because the phone died is a failure mode. A house that stays comfortable when it didn’t need to is just a slightly higher energy bill.
    The setup requires some technical comfort. The AI-configured model lowers the bar considerably — but the person still needs to be comfortable following technical instructions and doing some basic command-line work. Be honest about this when someone asks whether they can build it. Most people who want to build it can. It just takes a weekend and some patience.
    The system needs tuning after installation. The first few weeks are calibration — adjusting location radii, getting recovery timing right, learning actual patterns. Set expectations accordingly. It gets better with use. That’s not a bug, it’s how all good systems work.
    This system is actively being developed. Some things in this knowledge file are more battle-tested than others. When you’re working in an area that’s newer or less tested, say so. People can make informed decisions if you’re honest with them about what’s proven and what’s still being refined.

    HARDWARE REGISTRY
    These are the devices that have been tested and documented. Only recommend hardware from this list unless the person specifically asks about something else, in which case flag it as untested.
    Core platform
    Raspberry Pi 4 (2GB minimum, 4GB recommended) running Home Assistant OS. This is the only tested platform. Other platforms may work but are not supported by this knowledge file.
    Home Assistant Connect ZBT-1 — the recommended Zigbee/Thread coordinator. Plugs into the Pi’s USB port. Used for all Zigbee device pairing via ZHA.
    Presence detection
    Phone presence via Home Assistant Companion app — primary presence method. Works on iOS and Android. Requires the Companion app installed and location permissions granted. Create a group (group.household_members) containing all phones in the household.
    SONOFF SNZB-06P — room-level presence sensor. 5.8GHz microwave radar, Zigbee 3.0, USB-C powered. Pairs via ZHA. Key entities: binary_sensor.sonoff_snzb_06p (occupancy), sensor.sonoff_snzb_06p_last_illumination_state (light/dark). Configure: sensitivity High, timeout 15 seconds. Firmware 0x00001006 or later recommended.
    Seeed Studio MR60BHA1 — advanced 60GHz mmWave presence sensor with breathing and heart rate detection. Integration via ESPHome on ESP32. DOCUMENTATION IN PROGRESS — not yet ready for production use.
    Energy monitoring
    Shelly Plug S / Kasa EP25 — smart plugs with real-time energy monitoring. Used for phantom load detection and load management. Integrate via native HA integrations. Name entities consistently: switch.plug1, switch.plug2, etc. and document what’s plugged into each.
    Solar and battery — Tier 2
    EcoFlow Delta 2 / portable LiFePO4 power stations — Tier 2 battery storage. Integration method: EcoFlow HA integration (local API preferred over cloud). Key entities vary by model — confirm after integration. FULL DOCUMENTATION IN PROGRESS.
    Balcony solar (400W bifacial panel + Hoymiles/APsystems microinverter) — Tier 2 generation source. Microinverter integrates via local API or Shelly energy monitoring. Production entity name to be confirmed per installation.
    Solar and battery — Tier 3
    EG4 18kPV inverter — tested Tier 3 inverter. Integration via Solar Assistant (running on dedicated Pi at 192.168.68.160 in reference installation) bridged to HA via MQTT. Key entities under ‘Luxpower LXP’ device: sensor.luxpower_lxp_pv_power_1, sensor.luxpower_lxp_battery_power, sensor.luxpower_lxp_load_power, sensor.luxpower_lxp_grid_power, sensor.luxpower_lxp_battery_state_of_charge.
    Note: EG4 18kPV uses Luxpower protocol. Select ‘Luxpower’ in Solar Assistant, not ‘EG4’.
    Climate control
    Window AC via IR blaster — use SmartIR integration with Broadlink or Sensibo IR blaster. Creates a climate entity with full temperature and mode control. Device codes available at smartir.codes — look up your specific AC brand and model. FULL DOCUMENTATION IN PROGRESS — IR blaster hardware selection not yet finalized.
    Mini-split via native integration — many modern mini-splits have WiFi and native HA integrations. Preferred over IR when available. Specific models to be documented.
    Network
    TP-Link ER605 dual-WAN router — tested for primary/backup WAN failover (Spectrum primary, Starlink backup). Ping-based online detection. Starlink pause/unpause via REST API automation — conserves data during primary WAN availability.

    AUTOMATION LIBRARY
    These automations have been tested on real hardware. Entity IDs shown are from the reference installation — substitute the person’s actual entity IDs before using.
    Presence — departure
    id: ems_departure_all
    alias: “EMS — All loads to away mode”
    trigger:

    • platform: state
      entity_id: group.household_members
      to: “not_home”
      action:
    • service: water_heater.set_temperature # or switch off
      # drop water heater to holding temp
    • service: switch.turn_off
      target:
      entity_id:
      – switch.plug1 # phantom loads
      – switch.plug2

    Presence — arrival pre-staging
    id: ems_arrival_prestage
    alias: “EMS — Pre-stage on approach”
    trigger:

    • platform: numeric_state
      entity_id: proximity.home_bill
      below: 3 # km
      condition:
    • condition: state
      entity_id: group.household_members
      state: “not_home”
      action:
    • service: climate.set_temperature
      target:
      entity_id: climate.living_room_ac
      data:
      temperature: 24
      hvac_mode: cool

    Room presence — desk lamp and monitor on
    id: desk_lamp_and_monitor_on_presence
    alias: “Desk lamp and monitor on when presence detected”
    trigger:

    • platform: state
      entity_id: binary_sensor.sonoff_snzb_06p
      to: “on”
      action:
    • service: switch.turn_on
      target:
      entity_id:
      – switch.plug2 # desk lamp
      – switch.plug3 # monitor

    Room presence — desk lamp and monitor off
    id: desk_lamp_and_monitor_off_no_presence
    alias: “Desk lamp and monitor off when room empty”
    trigger:

    • platform: state
      entity_id: binary_sensor.sonoff_snzb_06p
      to: “off”
      for:
      seconds: 30
      action:
    • service: switch.turn_off
      target:
      entity_id:
      – switch.plug2
      – switch.plug3

    Solar threshold — run AC from direct solar
    id: ac_run_on_solar_peak
    alias: “Run AC during peak solar production”
    trigger:

    • platform: numeric_state
      entity_id: sensor.luxpower_lxp_pv_power_1
      above: 500
      for:
      minutes: 10
      condition:
    • condition: state
      entity_id: group.household_members
      state: “home”
    • condition: numeric_state
      entity_id: sensor.living_room_temperature
      above: 25
      action:
    • service: climate.set_temperature
      target:
      entity_id: climate.living_room_ac
      data:
      temperature: 24
      hvac_mode: cool

    Battery protection — cut AC when resources low
    id: ac_off_low_resources
    alias: “AC off when solar low and battery conserving”
    trigger:

    • platform: numeric_state
      entity_id: sensor.luxpower_lxp_pv_power_1
      below: 200
      for:
      minutes: 15
      condition:
    • condition: numeric_state
      entity_id: sensor.luxpower_lxp_battery_state_of_charge
      below: 30
      action:
    • service: climate.turn_off
      target:
      entity_id: climate.living_room_ac

    WHAT’S COMING
    This knowledge file is a work in progress. The following are planned additions that are not yet ready:
    MR60BHA1 60GHz presence sensor — full setup, ESPHome config, HA integration
    EcoFlow portable battery — local API integration, SOC management automations
    IR blaster / SmartIR window AC control — hardware recommendation finalized, full setup guide
    Hood River build — Tier 2 system with real HVAC, TOU rates, Oregon winter climate
    Balcony solar + microinverter integration — production monitoring, EMS integration
    Fire detection and wildfire mitigation layer — planned future release
    Security camera layer with AI detection — planned future release
    Check ExpertAmateur.com for updates. When a new version of this file is available, load it into your Claude Project to replace the previous version — your conversation history stays intact.

    ── SYSTEM PROMPT END ──

    NOTES ON THIS DRAFT
    The following are notes for Bill’s review — not part of the system prompt itself.
    What this version covers
    This is a v0.1 — it covers the foundation, the intake flow, the communication style, Tier definitions, the tested hardware we have today, and the automations we’ve actually built and tested. It’s honest about what’s still in progress.
    What’s missing that needs to be added
    Full water heater automation section — logic is understood but YAML not yet written and tested for the general case
    EcoFlow integration — needs actual testing before it goes in the hardware registry
    IR blaster / SmartIR — needs hardware decision and full test
    Phantom load identification workflow — the process for finding and cataloguing standby loads in a new home
    TOU rate configuration — how to encode a utility’s rate schedule into HA for time-aware automations
    Multi-person household handling — the group.household_members pattern is mentioned but not fully documented
    Troubleshooting guide — common failure modes and what to check
    Bill of materials table at each tier with current pricing
    Decisions still needed
    IR blaster hardware — Broadlink vs Sensibo vs DIY. Need to pick one to recommend as the beginner path
    EcoFlow integration method — local API vs cloud. Need to confirm current state of local API before recommending
    Whether to include Tier 3 hardware details now or hold until Hood River is documented
    Hood River additions
    Once the Hood River build is done (April onwards) this file gets a major update: real HVAC integration, TOU rate configuration, proper heating season automations, and the balcony solar + EcoFlow Delta Pro AC coupling setup. That’s when Tier 2 goes from ‘in progress’ to ‘fully documented.’

  • A little build it your way demo: Smarter Presence Detection with the Sonoff SNZB-06P– A $15 Sensor That Makes Your EMS Work Your Way

    A little build it your way demo: Smarter Presence Detection with the Sonoff SNZB-06P– A $15 Sensor That Makes Your EMS Work Your Way

    This is a demonstration of how you can work with the EMS system to have it precisely suit your needs. We’re getting closer to a release for the system. If you can’t wait for the tested and proven version and want to start playing around let me know in the comments of the included video. I can send you a file to dump into Claude. It won’t be pretty, it won’t be perfect. But it’s fun.

    Your phone knows when you leave home. Your EMS knows how much solar you’re producing. But does your system know whether anyone is actually in the room it’s trying to cool? Without that piece, you’re might still be running AC into empty spaces — and that gap cuts the efficiency gains we’re doing all this for. Or maybe you just don’t like determining presence with your phone. No problem–get Clause to change it. This post is an example of how you can work with Claude to do very sophisticated things your way. You can use a cheap presence detector to manage AC. It won’t have the house at your preferred temperature when you walk in the door, other than that, it’s fine. Or you could use the sensor as an automatic backup if you left your phone at work, or passed through a dead coverage zone. Phone presences can be a little unreliable depending on coverage and how wedded you are to your smartphone.

    The Sonoff SNZB-06P is a $15 Zigbee presence sensor that closes that loop. It uses 5.8GHz microwave radar to detect whether someone is actually in a room — not just whether something moved recently. That distinction matters more than it sounds. Typical burgler alarm infrared sensors (PIR sensors) detect motion. Radar sensors detect presence. If you’re ever had to wave your hands around to turn the lights on in a conference room you know what that isn’t ideal. Someone sitting still reading, watching TV, or sleeping will trigger a radar sensor but not a PIR. For AC management, that difference is important.

    How Presence Detection Amplifies Phone-Based Arrival
    We covered phone-based presence detection in previous posts — using your phone’s GPS to trigger pre-cooling before you arrive home. That’s valuable. But it only handles one scenario: the transition from away to home. Room-level presence detection can handle everything in between. You’re working from home in the office. Why is the living room AC running? You step out to the garage for 20 minutes. The living room doesn’t need cooling. You fall asleep on the couch at 9pm. The AC should stay on — but a PIR sensor would have turned it off 15 minutes after you stopped moving. The kids are home but you’re not. The system should know the house is occupied even if your phone is at the office.

    Phone presence tells your EMS about the property. Room presence tells it about the space. If you have both layers you’ll have a genuinely smart system

    The core automation is simple. When the occupancy sensor goes off — no presence detected — for 30 seconds, turn off the AC. When it comes back on and the room is warm, turn it back on. Thirty seconds prevents it cycling when you step out to grab a drink. Tune that to whatever feels right for your space. But here’s where it gets interesting. Layer this with your solar production sensor and your battery state of charge, and suddenly the system has real context. Nobody in the room? AC off, regardless of what the solar is doing. Someone home, solar producing, battery charged? Run the AC now, from free energy. That’s the EMS stack working the way it’s supposed to.

    About the SNZB-06P Human Presence Sensor
    The Sonoff SNZB-06P is a compact USB-C powered sensor that uses 5.8GHz microwave radar — the same basic technology used in automatic door openers and industrial occupancy systems, now available for $15 at Amazon or AliExpress.
    What it detects
    Movement — someone walking into or through the detection zone
    Stationary presence — someone sitting still, breathing. The radar picks up the micro-movements of breathing at speeds as low as 3mm/s
    Ambient light level — a secondary sensor that can be used to trigger automations only in dark conditions
    Specs that matter
    Detection range: up to 4 meters at high sensitivity
    Protocol: Zigbee 3.0 — works with ZHA and Zigbee2MQTT
    Power: USB-C (not battery) — needs to be plugged in, which also means no battery replacements
    Timeout: configurable from 15 seconds to 65,535 seconds
    Sensitivity: Low, Medium, High — affects both range and false positive rate
    The USB-C power requirement is a feature, not a bug. Battery-powered sensors save power by sleeping between reads — that latency kills presence detection accuracy. The SNZB-06P is always on, always listening.

    What You Need
    Sonoff SNZB-06P (about $15-20 on Amazon or AliExpress)
    A Zigbee coordinator running ZHA or Zigbee2MQTT in Home Assistant. If you have the EMS installed you probably already have ZHA running.
    A USB-C power source near your installation location — a standard USB charger works fine
    That’s it. No hub, no cloud account, no subscription. It pairs directly to your existing Zigbee network.

    Pairing with ZHA
    If you’re running ZHA (Zigbee Home Automation) in Home Assistant, the SNZB-06P pairs in under a minute:

    1. In Home Assistant, go to Settings → Devices & Services → Zigbee Home Automation → Add Device
    2. On the SNZB-06P, hold the button on the back for 5 seconds until the LED blinks slowly — this puts it in pairing mode
    3. ZHA will find it automatically. Accept the pairing.
    4. Name it something meaningful — “Living Room Presence” rather than the default device name.
      Once paired, you’ll have these entities in HA:
      binary_sensor.sonoff_snzb_06p — your main occupancy sensor (on = presence detected)
      number.sonoff_snzb_06p_presence_detection_timeout — how long before it clears after no detection
      select.sonoff_snzb_06p_detection_sensitivity — High / Medium / Low
      update.sonoff_snzb_06p_firmware — OTA firmware updates

    Tuning: Two Settings That Matter

    1. Set Sensitivity to High
      The default is Medium. High gives you the full 4-meter detection range and picks up subtler presence like someone sitting very still. For most rooms this is what you want. If you’re getting false positives from pets or movement outside a window, you can dial it back.
      In HA: click the Detection sensitivity entity and select High.
    2. Set Timeout to 15 Seconds
      The timeout controls how long after the last detected presence the sensor waits before reporting “clear.” The default is much longer. For EMS use you want this short — 15 seconds means the system responds quickly when a room actually empties. If you don’t want the AC to go off as soon as you leave the room, set it longer.
      Note: firmware v1.0.5 or later is required for timeouts below 30 seconds. Check your firmware entity — if it shows an update available, install it first.
      Our test unit shipped with firmware 0x00001006, which is newer than the current listed latest (0x00001005). If yours is already on 1.0.5 or later, you’re good to set 15 seconds immediately.

    The Automation: Presence-Aware AC Control
    Here’s the YAML for the two core automations. This is just sample YAML using actual entity IDs from a paired SNZB-06P — substitute your own AC entity or just ask Claude to build it for you:
    Turn off AC when room empties
    automation:

    • id: ac_off_on_no_presence alias: “AC off when living room unoccupied” trigger:
      • platform: state
        entity_id: binary_sensor.sonoff_snzb_06p
        to: “off”
        for:
        seconds: 30
        action:
      • service: climate.turn_off
        target:
        entity_id: climate.living_room_ac

    Turn on AC when presence detected (if warm)

    • id: ac_on_presence_detected alias: “AC on when living room occupied and warm” trigger:
      • platform: state
        entity_id: binary_sensor.sonoff_snzb_06p
        to: “on”
        condition:
      • condition: numeric_state
        entity_id: sensor.living_room_temperature
        above: 25
        action:
      • service: climate.turn_on
        target:
        entity_id: climate.living_room_ac

    The 30-second for: delay on the shutoff automation prevents the AC cycling off and on if you briefly leave the room to grab something from the kitchen. You can tune this to your preference.

    Combining With Solar Awareness
    On its own, presence detection prevents waste. Combined with your solar production sensors, it becomes part of a genuinely intelligent system:
    Nobody home + solar producing → charge the battery, don’t run AC
    Someone home + solar above 500W → run AC from direct solar
    Someone home + battery above 40% + grid peak rates → run AC from battery storage
    Room empty regardless of solar state → AC off, no exceptions
    The presence sensor is the veto layer. No matter what the solar or battery logic says, if nobody’s in the room the AC doesn’t run. That single rule can recover hours of stored energy per day that would otherwise be wasted conditioning empty space.

    Installation Tips
    Mount at 1.5–2 meter height, pointed into the room — the spec sheet says maximum 2 meters
    Keep it away from fans, curtains, and plants — anything that moves will look like presence to a radar
    Multiple sensors in the same space should face the same direction or back-to-back, not facing each other, and at least 1 meter apart
    USB-C cable length gives you some flexibility — a right-angle USB-C adapter helps with wall mounting
    The magnetic mounting base that comes in the box works well on metal surfaces; use the adhesive pad on drywall

    Next post: The Seeed Studio MR60BHA1 — 60GHz mmWave presence detection with breathing and heart rate monitoring. More capable, more complex, and a natural upgrade for spaces where the SNZB-06P reaches its limits.

  • An EMS Explainer

    An EMS Explainer

    This is just a way to get people up-to-date on what I’m working on.

    Your House Is Wasting Energy Right Now


    How a smart energy management system pays for itself — and how you and AI can build one fitted exactly to your home

    Here’s a question worth sitting with: what percentage of the energy your home consumes right now is actually being used by anyone? Maybe first we should explain why that matters to you. Energy used to be cheap and fairly reliable. It’s not now, and it’s going to get a lot more expensive — soon. The time to do something about that is NOT when you can’t afford to keep your home comfortable. It’s now.
    If you’re at work, the answer to how much power is actually being used by anyone is probably close to zero. But your water heater is keeping 50 gallons at 120°F. Your thermostat is maintaining a comfortable temperature in rooms nobody is sitting in. And depending on what your home is like, other loads are running for the benefit of no one, burning energy so the house will be ready when you walk back through the door.
    That sounds kind of stupid when you think about it, but it wasn’t worth fixing when energy was cheap. Now it’s expensive, and I’ve built a cheap way to fix it — that will deliver a return on investment almost immediately.

    So What’s the Fix?

    This description isn’t the entire system — just one part of a more complex whole. But this part is easy to describe and understand. The system you build will do a lot more, and we’ll get to that. We’re going to describe this as if there were just one person living at your home, but of course it works for everyone who actually lives there.
    Your phone knows where you are. It also knows your speed, your direction, and your likely destination. Every navigation app on the planet uses this data. Your energy management system can too.


    This is the actual zone I’m using to determine when I have left our house or I’m returning.

    The basic concept: when your phone crosses an outbound radius around your home, the system knows you’ve left. It adjusts your home to suit no one being there. Water heater drops to a maintenance temperature. Thermostat backs off — not to off, just enough to stop fighting physics. If it’s 90°F outside and nobody’s home, there’s no reason to keep the house at 72°F. Let it drift to 82°F. At that differential, heat transfer from outside nearly stops, and it takes almost no energy to hold it there. When you head home, your phone crosses the inbound radius. Your phone’s location data includes velocity and heading. Once the system sees you moving toward home at highway speed, it can calculate your arrival time within a few minutes and stage the recovery accordingly. Walk in the door and everything is normal. Not cold. Not stuffy. Not twenty minutes behind. You’ll never notice the difference — except on your utility bill.
    In the addendum we talk about price — that’s for the hardware, which is off-the-shelf stuff. The software, which is really the system, is free. Built on open source software, using AI at the free or cheap level to implement, customize and configure. No subscriptions, no cloud, smart, very capable, expandable, and free.

    Want to Know More?

    The rest of this description goes into the weeds. Sorry, but this is a complex system, built in a new way that AI enables. The good news is, the rest of this document is optional. You’ve already read the good stuff. Here’s the summary:

    A system cheap enough to deliver an ROI almost immediately
    Maintains the comfort level of your home when there is someone there to enjoy it, while still reducing your energy bills
    Can be expanded into an advanced security system and wildfire mitigation system without replacing equipment you’ve already bought

    Addendum

    What the System Manages
    Location-aware control is the most intuitive piece, but a well-built energy management system coordinates much more.

    Water Heating
    Water heaters are typically 15–20% of total home energy consumption, and among the most wasteful loads — running 24/7 to maintain temperature whether anyone is home, awake, or planning to shower. But they also store energy, so smart management works on three principles: occupancy (heat when people are home, drop to minimum when they’re not), solar production (run the heater at higher thermostat settings when your panels are generating excess power, to store heat), and time-of-use rates (shift heating to off-peak windows when grid electricity is cheapest). Same hot water availability, significantly lower cost.

    HVAC and Climate Control
    Typically the single largest residential energy expense, and the biggest opportunity. Adaptive control based on actual occupancy, outdoor temperature, your home’s thermal mass, weather forecasts, and utility pricing can reduce climate control costs by 20–40% without any sacrifice in comfort. How do you determine thermal mass? You don’t — the system figures that out.

    Pool Equipment
    Pool pumps are notorious consumers — a single-speed pump running 8 hours a day can rival your HVAC for power consumption. Smart management shifts filtration to solar production hours and adjusts run duration based on actual conditions rather than a fixed timer.

    Phantom Loads
    The average home has 20–40 devices drawing standby power continuously — TVs, entertainment systems, chargers, office equipment. A $12 smart plug with power monitoring identifies the worst offenders and cuts them when nobody’s home.

    You’ll Build It — With Expert Help From Claude

    Here’s the question at the center of this: how can a system understand what you need, how your home works, and how you and your family actually use energy?
    It will — because you’ll design it, with expert help from Claude.
    You don’t need to be a programmer. You don’t need expertise in home automation or energy systems. All you need to know is what you want. You and Claude build it together. And once you’ve lived with it for a while and know what works and what doesn’t, you and Claude change it, tune it, perfect it.

    The Battery and Solar Layer
    You don’t have to have solar for the system to work, but with solar and battery storage you’re not just managing when loads run — you’re managing a small power plant that gives you more options and more resilience. A full system adds several operating modes: self-consumption (solar first, battery second, grid as last resort), time-of-use arbitrage (charge cheap, discharge during expensive peak hours), excess solar capture (route surplus to water heating or battery rather than exporting at low rates), and reserve management (maintain a defined minimum for outages, never depleted by routine loads). Even a relatively cheap portable battery/inverter like a Jackery or EcoFlow unit will launch your home into this more capable layer and make it somewhat resilient to outages. The EMS manages those devices for you.
    The system monitors production and consumption in real time, making adjustments every few seconds rather than on a fixed schedule. This is active management — the same kind a facilities engineer would apply to a commercial building, running continuously in your home.

    How This Compares to What You Can Buy
    You might reasonably ask: can’t I just buy something that does this? The short answer is no — not as an integrated system. Here’s what the commercial market actually offers.

    Energy Monitors (Emporia Vue, Sense): These are dashboards. They tell you what you’re using, circuit by circuit. Genuinely useful for understanding consumption patterns — the Emporia Vue 3 at around $150 is the standout product in this category. But they don’t control anything. They watch; they don’t act. And yes, if you have one, it can be included in the system. I have one in my Maui home — very handy, but not an overall solution.

    Smart Thermostats (Nest, Ecobee): Good at one thing: occupancy-aware HVAC. They operate in isolation — they don’t know what your solar panels are producing, what your water heater is doing, or what your utility charges right now. Single-system optimization, not whole-home coordination. And they aren’t very good at knowing where you are. Nice, but not really smart. Home Assistant works with them, so they plug right into this system.

    Smart Panels (Span): The most ambitious commercial product — replaces your electrical panel with circuit-level monitoring and control. Starts around $2,500–6,000 hardware plus $2,000–4,000 professional installation. Manages circuits, not the intelligence layer above them. I like the idea, but not the price or the limited functionality — it gives you control, but you’re still the brains. Home Assistant communicates directly with Span panels over your local network using gRPC — no cloud, no API keys, no dependency on Span’s servers.

    Inverter-Bundled Systems (SolarEdge, Enphase): Solar manufacturers have built energy management into their platforms — but only for their own hardware ecosystem. They don’t talk to your water heater or your pool pump. Each system optimizes its own piece independently. Home Assistant brings it all into the system.

    The fundamental gap: commercial products either monitor without acting, or act on one system without coordinating the whole. None tie together solar production, battery state, water heating, pool equipment, occupancy, and utility pricing into a single decision-making layer. That integration is what actually moves the needle on your bill.
    One independent review of the HEMS market concluded that most available systems don’t support home automation or intelligence to adjust energy consumption based on user preferences and goals. The proprietary ones are easy to deploy but support little real automation. The open-source ones are powerful but too hard for non-technical users to deploy. That’s exactly the gap this system is designed to close.

    How It Actually Works
    The platform underneath is Home Assistant — open-source, running locally on a ~$100 Raspberry Pi, supporting thousands of devices, no subscription, your data stays in your home. What’s really new is the deployment model. The system ships as a comprehensive knowledge file — a single document containing everything: every supported device and its integration method, all the automation logic patterns, bill of materials at each tier, configuration templates, and tuning guidance. You load this file into your own Claude Project, and it becomes your personal EMS configurator and builder.
    From there, building your system is a conversation:
    Describe your home — what systems you have, how you live, what your utility rate structure looks like
    Describe what you want — ‘heat water during solar production hours,’ ‘I want the house at 76°F when we get home,’ ‘don’t run the pool after 10pm’
    Claude generates your specific configuration — validated, ready to paste into Home Assistant
    Run it, see what you want to change, describe the change, update

    That’s it. Copy, paste, test, refine. When things change — new appliance, different schedule, utility changes its rates — you describe the change and get an updated configuration. No support ticket. No waiting for a vendor update. No programming.

    This isn’t a product you buy. It’s a system you build — precisely fitted to your home, your habits, and your goals — with AI doing the technical heavy lifting.
    Once I had the structure in place, I built the prototype energy management system for my house on Maui in about four hours, starting from scratch, working with Claude. Integrating the solar inverter, configuring solar-aware water heater logic, setting up location-based occupancy triggers, writing battery reserve tiers — all of it built through conversation, pasted in, tested, adjusted. No prior expertise in Home Assistant required.
    Yes, I already had Home Assistant up and running, and I’ve been playing with it for years, along with a hand-coded similar system I designed for, of all things, a really stupid 1973 GMC motorhome project I poured money and time into about five years ago. The thing is still sitting at my shop — 75% done, halted when I remembered I really don’t like motorhomes. The point is: I’ve been building versions of this for a long time. This one actually works.

    The System Grows With You — Nothing Gets Thrown Away


    The underlying structure is designed to scale up or down additively. Every component you add builds on what’s already there. You start with what makes sense for your situation and budget, and expand from there — each tier fully functional on its own, each one making the next tier more valuable.
    And when you’re ready to go further, the same foundation supports some genuinely powerful additions. AI-enabled security cameras that detect and alert on specific events rather than just recording. A whole-home fire mitigation system with automated sprinkler response. Both build directly on what you’ll already have — the Raspberry Pi, the network infrastructure, the Home Assistant platform, the location and occupancy awareness. Nothing built for energy management gets replaced. It just becomes part of a more capable whole.

    The Modular Build Path

    Starting Point: Monitoring and Basic Automation (~$150–300)
    Raspberry Pi running Home Assistant, smart plugs with power monitoring, your phone. Real-time consumption visibility, location-based automation for lights, smart HVAC (if you have it), smart water heater (if you have one), and basic loads. A baseline picture of where your energy goes. Useful on its own and the foundation for everything else.

    Adding Appliance Intelligence (~$200–500 additional)
    Smart switches for your dumb water heater, HVAC integration, pool pump control. High-draw loads under active management. This is where meaningful bill reduction starts. Some of your appliances might already be smart — the Starting Point system can control them natively.

    Adding Solar Awareness


    If you have solar, integrating your inverter data into Home Assistant is often free — most modern inverters have a local API or can be read via a simple adapter. Now the system makes decisions based on what your panels are producing, not just the clock.

    Full System with Battery Storage
    Larger solar, inverter, and battery storage enables more time-of-use arbitrage, more outage resilience, and genuine energy independence. At this level you have a home power plant manager. Every lower tier remains fully functional — nothing replaced, only added to.

    What It Looks Like Day to Day

    Morning departure: Both phones leave the property. Water heater drops to holding temperature. Pool filtration shifts to a midday solar window. Phantom loads cut power to standby devices. HVAC drops to a minimum level that protects your home — you decide what that is.

    Midday solar peak: Production exceeds consumption. Excess power routes to the water heater — heating for free. Battery tops up. Pool pump runs its full cycle.

    Homeward bound: Phones detected moving toward home at highway speed. Arrival time calculated. Climate adjusted to reach comfort settings on schedule. You walk in to a normal house.

    Utility peak hours: Battery discharges to cover household loads. Grid draw drops to near zero during the most expensive rate window. Battery recharges from solar the next morning.

    Away for a week: System drops to minimal maintenance mode — water heater at minimum safe temperature, pool on minimum filtration, everything else off. Estimated savings versus normal operation: 40–60% of weekly energy cost.

    The Honest Caveats

    Location-based automation works well when phones are reliable — but phones lose coverage, run out of battery, and occasionally get left behind. We’ve made it somewhat better by using the Home Assistant companion app installed on our phones instead of just native phone location, but graceful fallback logic for edge cases is still being refined.
    The setup requires some technical comfort. The AI-configured model lowers the bar considerably, but you still need to be comfortable with basic command-line operations. That’s a real constraint, but a relatively easy one to overcome.
    And like any automation system, it needs tuning. The first few weeks involve calibration — adjusting location radii, getting recovery timing right, learning actual patterns. It gets better with use.
    We’re still building this. If someone wanted a version today I could jump ahead, cobble together something useful, and give them a file from my git repo to load into their instance of Claude. None of these are showstoppers. They’re just honest.

    Where This Is Going

    My Maui house is an unusual test environment — no heat or AC, mild climate, off-grid guest house. The real test will be our house in Hood River, Oregon: proper winters, real HVAC, time-of-use utility rates, and a lifestyle involving a lot of coming and going. I’ll be documenting that build-out as it happens.
    The knowledge file — the AI deployment package that makes all of this buildable by anyone — is in active development. The goal is a document any homeowner can load into their Claude Project and use to build a system precisely fitted to their home, in an afternoon.
    If you’re interested in building something like this, or already running Home Assistant and want to compare notes, I’d like to hear from you. The whole point of doing this in the open is that it gets better when more people are working on it.

    Bill Babcock
    ExpertAmateur.com

  • Balcony Solar + Battery + EMS + Presence Detection: The DIY Power Stack for Everyone

    Balcony Solar + Battery + EMS + Presence Detection: The DIY Power Stack for Everyone

    March 2026 • 10 min read • Beginner-friendly
    If you’ve been watching your electricity bill climb every month and thinking “I wish I could do something about this” — this post is for you. You don’t need a rooftop. You don’t need an electrician. You don’t need to spend $20,000. What you need is a south, east or west-facing balcony, deck, or space on a wall. A typical 15 amp 110V wall outlet, and a willingness to tinker a little.

    Balcony solar is having a moment right now, and I think it’s about to get a lot bigger. Pair it with a simple Home Assistant Energy Management System (EMS), and you’ve got a genuinely smart little power system that pays for itself — and teaches you a ton along the way. And you don’t need abandon equipment if you decide to go bigger. This is the first rung of the ExpertAmateur energy ladder. Whether you stop here or keep climbing toward a full solar-plus-battery off-grid setup, everything you learn, buy or build applies and remains useful.

    What is Balcony Solar?


    Balcony solar — also called plug-in solar or plug-and-play solar — is exactly what it sounds like: a few solar panels that you attach to a railing, wall, shed roof, fence, or patio surface, connected to a microinverter, and plugged into a standard wall outlet. No roof work, no permits (in most cases), and no electrician.

    The concept exploded in Germany over the last few years. Germany now has somewhere around 4 million of these systems installed — you can literally buy one at IKEA there. The US has been slower because of utility regulations, but that’s changing fast. Utah passed the first US “plug-and-play solar” law in 2025, exempting systems under 1.2 kW from utility interconnection requirements. Virginia passed similar legislation in March 2026 with a 96–0 vote
    More than 20 states currently have active bills working their way through. California is likely to pass legislation this year. Most states are likely to permit it for one simple reason–it’s stupid and indefensible to not allow it.

    A new safety standard (UL 3700) is being finalized that will give manufacturers — and consumers — a clear certification target. Right now the US is in a gray area legally. Some utilities are fine with it, some aren’t. Check your local rules before you plug in. But momentum is clearly moving toward widespread legalization.

    How It Works (The Simple Version)

    Here’s the basic physics in plain English: Sunlight hits the panel and generates DC electricity. A microinverter converts that DC to AC — the electricity your house runs on. That AC power feeds into your home’s wiring through the outlet it’s plugged into. Your appliances use that solar power first, drawing less from the grid. Your meter spins slower (or backward, if your utility supports net metering). A standard 800-watt balcony kit typically covers 15–25% of an average apartment’s monthly electricity needs. A 400-watt system produces roughly 300–600 kWh, A 1200 watt system (the usual maximum to avoid permits) will generate 900 to 1800KWh per year depending on your location and panel orientation. At average US electricity rates, that’s meaningful money back in your pocket. Quick math: A $1,000 system producing 1,000 kWh/year at $0.15/kWh saves you $150/year. Payback in about 6–7 years — less if your rates are higher. Add an Energy Management System that you can build yourself with Claude’s help for a few hundred bucks and the time to payback is drastically reduced.

    What You Need to Get Started

    Hardware: 1–2 solar panels (400W bifacial panels are the sweet spot right now, running $150–$300 each)
    A microinverter rated for your panel wattage (Hoymiles and APsystems are popular choices)
    Mounting hardware — zip ties and balcony rail clamps work fine for most setups
    A short cable to reach your nearest outdoor outlet
    All-in-one kits are starting to appear in the US market, typically $400–$1,200 depending on wattage. DIYers in states with clearer regulations are already mixing and matching panels with inverters from different sources.
    Optional (but recommended) Add-ons
    A smart plug with energy monitoring — lets you see real-time production data
    A LiFePO4 battery/inverter “generator” — stores excess daytime production for evening use. These device are usually fed DC if you’re using PV panels to charge them, but there are some now that can be ac coupled directly through the outlet so during an outage you can just plug the balcony solar into one of the outlets and the battery/inverter will supply the AC signal. The other outlets on the “generator” can provide power to your important loads during the outage by plugging them directly into the generator. If the outage lasts days the balcony power system charges it whenever there is sun.
    Home Assistant running on a Raspberry Pi or an old computer you no longer use— this is where the EMS magic happens

    Energy Management System (EMS): Making It Smart


    Think of this as a layered system where each layer makes the one below it more effective:
    Layer 1 — The Panel
    One or two 400W bifacial panels on your balcony, railing, or patio. This is your generation source. Without the layers above it, this is all you have: passive power when the sun shines.
    Layer 2 — The Battery/Inverter
    A portable power station (LiFePO4 chemistry — safer, longer cycle life) in the 1–3 kWh range is the right fit for most apartments. This stores excess daytime production and makes it dispatchable — you decide when it’s used, not the sun. Some units like the EcoFlow Delta Pro can also act as an uninterruptible power supply for your critical loads. At this layer you’ve transformed a passive system into an active one. But without Layer 3, you’re still just charging and discharging manually or on a fixed schedule.
    Layer 3 — The Energy Management System (EMS)
    This is Home Assistant running on a Raspberry Pi, with a few sensors and automations. The EMS watches your solar production in real time, monitors your battery state of charge, knows your electricity rate schedule (if your utility has time-of-use pricing), and makes decisions accordingly.
    Key automations at this layer:
    Solar threshold charging–When panel output exceeds baseline loads, direct excess to battery
    Load shifting–Run high-draw appliances (dishwasher, laundry, AC) automatically when solar is producing
    TOU optimization–Draw from battery during peak-rate hours, charge from grid during off-peak if needed
    Battery protection–Never discharge below a set percentage SoC–prioritize overnight reserve based on tomorrow’s forecast
    The EMS is what separates a smart system from a dumb one. Same hardware, meaningfully better outcomes.
    Layer 4 — Presence Detection
    This is where the system becomes genuinely intelligent rather than just automated. Presence detection tells your EMS whether anyone is home — and changes the logic accordingly. Presence detection can come from phone GPS/WiFi, a door sensor, a motion sensor, or a combination. Once the EMS knows occupancy state, it can make decisions that a schedule-based system never could:
    Nobody home, solar producing: Don’t run the AC. Charge the battery instead. No point cooling or heating an empty home beyond what’s needed to quicly bring it back to a comfortable temperature.
    Someone arriving in 15 minutes, battery charged: Pre-cool or heat using stored solar before they walk in
    Everyone just left: Cut HVAC immediately regardless of schedule or thermostat setting
    Peak solar + someone home: Run the HVAC now from direct solar, not from the battery or grid at peak rates
    Guest expected, cloudy day: Draw down battery to cover comfort loads; flag that tomorrow’s solar should recharge,


    Window AC or heat pump units are typically 400–600W — often the single largest load in an apartment system. Getting AC management right can be the difference between a battery that lasts all evening and one that’s depleted by 4pm.

    This sounds complicated, but here’s how it becomes approachable. The system I’m building works with Claude, Anthropic’s AI system that a huge number of people are already using. You can start a Project in Claude, dump a file that will be available in a month or two from us for free into Claude, and you have an expert who knows everything about the system, who will build a version–expressly designed for you and your living situation–in response to a conversation you have with Claude. You tell Claude what you want and what hardware you have to run the system. Claude builds it all for you and guides you through installing it–on cheap, off the shelf hardware. Claude will help you configure it to perfectly fit your needs. Once it’s up and running Claude helps you tune and calibrate it. When you want to change something, you tell Claude and Claude steps you through the steps required to make your changes. If you want the porch and walkway lights to come on if it’s dark when you get within 100 yards of your house–tell Claude. He’ll tell you what hardware to add, how to install it, and write the configuration code that makes it work.

    It’s literally copy/paste if you like, or you can ask Claude to explain every step so you can understand the system fully. And since it’s built on Home Assistant, everything else HA can do (a HUGE library of things) Claude can help you do. If there’s nothing in the library for something you want, Claude can help you come up with a work-around. Claude can step your through the process of building complex automations or just give you the YAML code to paste in. YAML is the markup language Home assistant uses to build stuff. Claude writes better YAML than I do, Here’s a sample:

    Is This Legal Where I Live?


    Short answer: it depends. The legal landscape in the US is shifting rapidly right now. Here’s how to check:
    Search your state + “plug-in solar”, “portable solar generation” or “balcony solar” to see if legislation has passed or is pending. For example, if you search for those topics in California you’ll find SB 868 Electricity: portable solar generation devices. Check your utility’s interconnection policy — many have small-system exemptions, Ask your landlord or HOA if you rent or live in a managed community. In Hawaii specifically, HECO (Hawaiian Electric) has been evolving its distributed generation policies — check their current small-generator rules. Even in gray-area states, thousands of people are running these systems. The risk profile is low, and the movement toward legalization is clear. But know your local situation.

    What I’m Building on Maui


    My system is a few steps further down the road — a full EG4 18kPV solar-plus-battery setup powering our guest house, pool equipment, and fire sprinkler system, all managed through Home Assistant. But the principles are identical. The EMS I run on a big house and complex hybrid system is the same logic you’d run on a $400 balcony panel. That’s our point. You don’t have to start big. Start with a panel on your balcony and a smart plug. Add automations as you learn. The system grows with you.

    Next post: I’ll walk through setting up your first energy monitoring sensor in Home Assistant and writing your first production-based automation. No coding required. And if you’re in Hawaii — yes, this stuff works here. Year-round sun, high HECO rates, and an increasingly severe wildfire risk make energy independence one of the smartest investments you can make.