Generic Load Controller
Before you start
Please read the information about the FlexiO API first. This can be found here.
This feature is for technical FlexiO owners only. LIFEPOWR does not provide support for setting up the FlexiO API on your local network.
Load control units
Measurement | Unit | What it tells you | Endpoint | Method |
|---|---|---|---|---|
powerSetpointGeneric | kW | Power available for controlling a generic load | /api/ems/load_control | GET |
genericLoadMaximumElectricityPrice | €/kWh | Maximum price at which load control activates | /api/ems/load_control | GET / PUT |
The genericLoadMaximumElectricityPrice endpoint is the only writable value. You can PUT a new price threshold to control when your generic load should run based on the current electricity price.
Generic Load Controller - how it works
FlexiO can do more than monitor your energy. Through the load control endpoints above, it publishes a control signal that tells external devices when it's a good time to consume energy and when it isn't.
Here's the idea: if you're on a dynamic energy tariff (or a day/night meter), electricity prices change throughout the day. FlexiO tracks those prices and calculates a powerSetpointGeneric value (in kW) that indicates how much power is available for an external load right now. Pair that with the genericLoadMaximumElectricityPrice threshold, and you've got a simple decision engine: run the load when prices are low, stop when they're high.
Use cases
Heat pumps and boilers Schedule heating to run when energy is cheapest, based on your actual tariff, not a fixed timer.
Any controllable load If it can be switched on/off via a relay or smart plug, you can tie it to FlexiO's signal.
How to set it up
Read
powerSetpointGenericfrom/api/ems/load_controlto check how much power FlexiO recommends for your external load at this moment.Set your price threshold by writing to
genericLoadMaximumElectricityPricevia PUT, this tells FlexiO at what electricity price (in €/kWh) the load should still be allowed to run.Build your own logic (e.g., in Home Assistant, Node-RED, or a simple script) that pulls these values and switches your device on or off accordingly.
FlexiO doesn't control external devices directly, it provides the signal, and you (or your integration platform) act on it. Some of our integration partners offer ready-made solutions for this. If you're a technical FlexiO user, the API gives you everything you need to build it yourself.