Getting Started
Introduction
Welcome to the JFK-Enterprise PowerMaster
The solution enables the control and monitoring of components for the use of renewable electrical energy. The focus is on cost optimization in the procurement and operation of components for the generation and use of electrical energy, such as generation, storage, and consumption systems. For households, these include, for example, photovoltaic systems, battery storage units, and consumers such as wallboxes for electromobility and heat pumps.
Framework
PowerMaster was developed using the Python framework Django as the backend, with Nuxt as the frontend. The software is delivered as a containerized application, allowing easy installation in both Docker and Kubernetes environments. This approach also facilitates straightforward versioning.
A PWA (Progressive Web App) is used to display the information. This is a modern web application that can be installed across platforms like a native app — on both mobile devices and desktop systems.
In addition to the application container, a PostgreSQL database container and a Redis message broker are provided.
Power Management System (PMS V3)
The power management logic is called PMS V3. It is the only power management system shipped; the earlier V2 engine has been removed from the application. PMS V3 is organized around:
- Devices — registered hardware with a role (PV, battery/ESS, load, grid meter, or read-only sensor) and an adapter.
- Adapters — the drivers that read and, for some devices, control the hardware: Victron Cerbo GX (ESS), go-e wallbox, Shelly energy meters, Huawei SUN2000 inverters, generic Modbus TCP, Home Assistant entities, and a simulator for testing.
- Policies — the plain-language rules (reserve SOC, PV charge limit, optional discharge, switchable loads) that decide what each device should do.
- Decisions & commands — every policy evaluation and every device command is recorded and explainable.
Communication with peripheral devices takes place via IP-based protocols such as Modbus TCP/IP, HTTP/HTTPS, and Home Assistant's REST API. Supported devices include Victron and Huawei inverters/ESS, Shelly power meters (3EM, Pro 3EM, Pro EM), go-e wallboxes, and any entity exposed through Home Assistant.
See PMS V3 for the full picture.
