Open-source tools to build self-made management system for surplus PV power

Share

From pv magazine France

DIY enthusiasts equipped with a photovoltaic system can now build their own management system to optimize their self-consumption. French electronics and telecommunications engineer André Buhart, now retired, designed a “solar router” to direct excess solar power to electrical devices. The plans and software for building the system are available for free online, as open source.

Dubbed F1ATB, the system is built from a shopping list, available on the designer's website, which details all the necessary components according to the desired system configuration. The manufacturing steps are explained step by step, and safety rules are clearly outlined. “DIYers will have no problem,” André Buhart told pv magazine France. “You only need to do proper electrical wiring and assembly, without being an expert electrician.”

Modular structure

The router connects to the electricity meter to be split into two, or even three, separate modules according to the homeowners' needs. This architecture allows the measurement part to be installed close to the meter, while the control modules can be placed next to the equipment to be powered, regardless of their location or distance from the meter, thanks to Wi-Fi communication.

A router connected to an underfloor heating system Image: André Buhart

“This modular structure is very successful,” said Buhart, noting that he regularly interacts with users online. “A large community has grown around the system over the years, as is often the case with open-source projects.”

According to the engineer, the F1ATB system now has some 4,400 members in a Facebook group, 20,000 subscribers on YouTube, and 1,700 participants on the site's forum, which lists more than 10,000 messages related to installation and usage questions, and on which André Buhart contributes.

No authorization is required in France to install the system, which is built from standard parts that can be ordered online. For a simple assembly accessible to non-technical users, the kit consists of a Shelly module, an ESP32 microcontroller mounted on a card, a heatsink, and the appropriate cables, for a total cost of around €100 ($117.7). The most experienced users can reduce the bill to around €30.

A router with Shelly Image: André BuhartThe F1ATB relies on three essential functions: power measurement at the input (and output) of the individual meter, data processing, and control of devices absorbing excess solar power. It is available in single- and three-phase versions.The first step is to determine, in real time, whether the household is injecting or drawing electricity from the grid. “In France, feed-in tariffs are less restrictive, but in Belgium, users pay nearly €0.25/kWh injected, so this data is quite interesting in itself,” said Buhart, who has developed several measurement methods, depending on the available equipment.The F1ATB can, for example, read data from a Linky brand smart meter via the télé-information client (TIC) in two-second increments, use current probes installed on the incoming cables, or interrogate solar systems by connecting to inverters, such as those from US-based manufacturer Enphase. A total of seven measurement methods are offered on the engineer's website.

Choice of power measurement sources Image: André Buhart

Once the measurement is complete, the data is transmitted to an ESP32 microcontroller, an inexpensive component costing around €10, which is often used in home automation. Buhart has installed a web server on this microcontroller to record historical data.

The equipment is controlled by small electrical components such as triacs or solid-state relays (SSRs), used as very fast switches. The choice of component depends directly on the power of the device to be controlled – generally between 2 and 3 kW for a water heater, but there is no specific upper limit. “It's essential to select the right amperage and to oversize it to integrate a good cooler,” explained Buhart. For example, for a 3 kW water heater, it's recommended to use a 60-amp SSR and adapt the power accordingly. All of these recommendations, including component selection, assembly precautions, and concrete examples, are clearly detailed on the project website.

For control, Buhart preferred to use the “multi-sine” and “sine train” approaches rather than traditional sinusoidal slicing, which tends to create interference on the network. The former involves sending only a limited number of complete sinusoids per second, for example one in five to transmit 20% power), and the latter relies on sending continuous sequences over a given period. The details are also described and available online.

Energy management

To access the data, there is no smartphone app, just a web interface accessible from a phone or computer. Key information is available in real time, including injected power, consumption, and history, among other things.

Main page of the router interface on smartphone Image: André Buhart

The French engineer also developed a device for live local display based on a small, 3D-printable box in the shape of a small house, which displays available power in real time. A color code allows for quick reading: red when consumption exceeds production, green when solar production is in excess.

The router's management software can be downloaded directly from the F1ATB website, with the user connecting the router to their computer via a USB port and installing the program.

How did the idea of ​​developing this DIY router come about? “After installing solar panels at home, I looked at the technical constraints, and, like others before me, the question quickly arose of how to improve my self-consumption,” said Buhart. “The water heater is, in itself, a super battery. The router allows it to be used during the day and not just during off-peak hours at night.” User requests and the engineer's needs then dictated the device's development

Going forward, Buhart said he is working on new developments and configurations for the solar router. If the device were to enter industrial production, a certification process would be required. Certification is not planned at the moment.

 

This content is protected by copyright and may not be reused. If you want to cooperate with us and would like to reuse some of our content, please contact: editors@pv-magazine.com.

Popular content

‘Grid-forming technology is no longer experimental – it’s here and working’
07 July 2025 In grids increasingly dominated by renewables, grid-forming technology is emerging as critical tool for maintaining stability and ensuring reliable po...