A small box with a big job
Edge is a controller that sits in a cabinet next to the equipment. Nothing special to look at: an industrial computer, a few ports, an antenna. Yet it is the one that decides which part of what the cloud wants actually reaches the inverter.
We deliberately don’t make it a dumb relay. If a controller simply passes commands from the cloud into registers, then any mistake in the cloud, in the optimiser or on the network instantly becomes physical. And physical mistakes in energy are expensive and can’t always be fixed with a restart.
Seven floors, with the market on the seventh
We wrote the order of priorities down as a rule, and tests check it on every code change. From the top down it goes like this: the equipment’s own hardware protection, then the BMS, then grid protection, then Edge’s local safety limits, then the reserve the owner kept for themselves, then market commitments, and only at the very end the optimiser.
No command can skip a floor. If the owner said 30% of charge must always stay in reserve for outages, the market does not get that 30%, however tempting the price. People sometimes tell us we leave money on the table that way. Maybe. But an owner who was once left without a reserve during an outage will never let anyone run their battery again.
What Edge does by itself, without the cloud
Edge reads the BMS, inverters, PLCs and meters without replacing any of them. It checks every command for expiry, for repetition and against limits. Once it applies a setpoint, it sends back an acknowledgement with a measurement attached.
When there is no link, Edge buffers telemetry and sends it later. And if the cloud stays silent for longer than the settings allow, it moves the site to a safe state on its own. In other words, the battery does not keep following the last command for hours just because nobody told it to stop.
The first week we only watch
On every new site Edge starts in read-only mode. We check power signs, phases and meter accuracy, and watch how the equipment behaves by day and by night. Writing is switched on as a separate step, after a check, and the owner knows about it.
The maker’s registers live only in local adapters. What goes to the cloud is normalised state and bounded intents such as “discharge up to 200 kW until 20:00”, not raw register addresses. That way the cloud physically cannot write something into an inverter that Edge does not understand.
An open core and our own modules
For the industrial controller we take a proven open-source core for on-site energy control and pin it to an exact version. On top run Wesfin’s own modules: the secure link, local safety, buffering, normalising data from different makers.
For the client that means one simple thing: they are not tied to a single equipment supplier. If they want an inverter from another maker, we write an adapter and everything else stays as it was.
Where we are now
The Edge reference loop first passed its checks against a battery simulator: a command from the cloud, the expiry and limit checks, execution, a measurement coming back. Today Edge runs on real client equipment.
One thing matters to us on principle. We never present an evidence pack from a simulator as a device certificate or as permission to control someone else’s equipment. A simulator proves the logic is right. Only a check on site proves a particular cabinet is wired right.