The Algorithm

Homsai's mission is to maximize the use of self-produced energy, giving priority to the charge cycle of any storage device. To do this, it maintains a list of HVAC devices of which various information is saved, such as the Status and Expected Consumption.

The Expected Consumption is used to decide whether or not to turn on a device when there is an energy surplus. On the other hand, for switching off, the measured Real Consumption is used, updated instant by instant during the operation cycle.

Homsai always improves the knowledge of the HVAC devices in your home, learning parameters such as Real Consumption or the Climatic Curve of the rooms.
Homsai Decisional Flow
If you want to know the details of the Homsai decisional algorithm, here it is:
Every 15 minutes Homsai:
- Reads the
Photovoltaic ProductionPP sensor - Reads the
House ConsumptionHC sensor - Reads the
Battery AbsorptionBA sensor (if present) - Calculate the
Available PowerAP as PP - HC - BA - If the
Available PowerAP is greater than 0:- Check if there are any Climate Entities turned off
- The list of climate entities off is processed by Homsai AI based algorithm
- The list of selected climate entities is sorted by desired temperature, the entities that have a greater temperature difference are processed first
- For each Entity E it is evaluated if the expected consumption is less than the
Available PowerAP, in the case E it is activated and the consumption of E subtracted from theAvailable PowerAP - Entities are processed as long as PD is positive
- If the
Available PowerAP is less than 0:- Check if there are any Climate Entities turned on
- The list of climate entities on is sorted by desired temperature, the entities that have a smaller temperature difference are processed first
- Each entity E is deactivated, and the consumption of E added to the
Available PowerAP - Entities processed as long as PD is negative