FlexiO API
Using the FlexiO Local API
Your FlexiObox exposes a local API on your home network. If you're the kind of person who likes connecting devices to a home automation system, building a local energy dashboard, or just pulling real-time data from your battery, this is how you do it.
What is the FlexiO Local API?
The FlexiO Local API is a read interface running directly on your FlexiObox. It gives you access to real-time measurements (things like battery state of charge, solar production, grid power, and electricity prices) without going through the cloud.
It's available at: http://myio.local/api
Interactive documentation (Swagger) is built into your device at: http://myio.local/api/docs
Both URLs only work when your computer or phone is on the same Wi-Fi network as your FlexiObox.
Who is this for?
This page is for technical FlexiO owners who want to connect their system to local tools, think Home Assistant, Node-RED, a Grafana dashboard or any smart home platform that can make HTTP requests.
You don't need to be a software developer, but you should be comfortable with concepts like IP addresses, API calls, and JSON responses.
LIFEPOWR does not provide support for setting up the FlexiO API on your local network. This feature is for technical FlexiO owners only.
What you can do with it
The FlexiO API provides three things:
Device information: Check your FlexiObox firmware version and device name.
Real-time energy measurements: Read live values from the energy management system such as solar, battery, grid, household consumption, and more. Updated continuously, no cloud round-trip needed.
Load control parameters: Read (and in one case, write) the generic load control settings. Useful if you're managing an external load, for example a heat pump, based on energy availability or electricity price. More information can be found here.
Before you start
Make sure that:
Your FlexiObox is powered on and connected to your local network.
The device you're using to call the API is on the same network as the FlexiObox.
You can reach http://myio.local/api/docs in a browser. If this loads, you're good.
If myio.local doesn't resolve, try finding the FlexiObox IP address on your router's device list and use that instead (e.g., http://192.168.1.xx/api).
Available endpoints
Access to API via http://myio.local/api/<endpoint>
For example: http://myio.local/api/ems/measurements
Measure | Units | Description | Endpoint | Method |
|---|---|---|---|---|
batteryCurrentInvFiltered | kW | Battery current draw | /api/ems | GET |
batteryVoltageInvFiltered | kW | Battery voltage | /api/ems | GET |
TotalInvPowerFiltered | kW | Filtered power measurement from inverter | /api/ems | GET |
LoadPowerFiltered | kW | Power draw from the household | /api/ems | GET |
MeterPowerFiltered | kW | Total power sent/collected from the grid | /api/ems | GET |
totalPVPowerFiltered | kW | Total PV power collected – includes hybrid and retrofit | /api/ems | GET |
stateOfChargeFiltered | % | Battery state of charge | /api/ems | GET |
stateOfHealthFiltered | % | Battery state of health | /api/ems | GET |
powerSetpoint | kW | Power set point to be sent to inverter | /api/ems | GET |
consumptionElectricityPrice | €/kWh | Current electricity price used for calculations | /api/ems | GET |
powerSetpointGeneric | kW | Power available to control a generic load | /api/ems/load_control | GET |
genericLoadMaximumElectricityPrice | €/kWh | Maximum electricity price to apply generic load control | /api/ems/load_control | GET/PUT |
Good to know
Local only. The API isn't reachable from outside your home network. If you need remote access, you'd need to set that up on your own router (VPN, port forwarding, etc.) — but we don't officially support or recommend that.
Real-time, not historical. The API returns current values only. For historical data, charts, and trends, use the FlexiO app.
Always-on. The API is available as long as your FlexiObox is running — no activation or configuration needed on your side.
Swagger docs on-device. Visit http://myio.local/api/docs for the full interactive API reference, including request/response schemas.