This is an attempt to publicy document the fields and features of the Ökofen JSON API as it lacks documentation from the vendorside. Please feel free to file pull requests in case you have any additions or corrections. Most of the field descriptions are the result of trial and error.
After enabling the JSON API you need to configure the port and password within the heater's settings menu. Afterwards the JSON API should be exposed and reachable. You are able to access all metrics by hitting the all
endpoint of the API.
http://{$ip}:{$port}/{$password}/all
Abbreviation | Meaning |
---|---|
hk{$n} | Heating circuit #{$n} |
pu{$n} | Buffer tank #{$n} |
ww{$n} | Hot-water circuit #{$n} |
sk{$n} | Solar thermal collector circuit #{$n} |
pe{$n} | Pellematic heater #{$n} |
se{$n} | Solar gain data #{$n} |
circ{$n} | Hot-water circulation pump #{$n} |
The name of the fields are described with the dot-notation syntax. For the field json_data['system']['L_ambient']
the field name in this documentation would be system.L_ambient
.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
Temperature that was reported by the ambient temperature sensor. You'll need to multiply the value by the given factor to get the actual temperature in degree celsius als floating point value.
Unit | Factor | Type | Range |
---|---|---|---|
None | 1 | int | -32768 to 32767 |
Description (Help Wanted)
Unclear if it's an error counter that is equal to the amount of errors that were detected or if the integer value that is reported by the API represents a specific error code or bitflag.
Unit | Factor | Type | Range |
---|---|---|---|
None | None | bool | 0 or 1 |
Description (Unsure)
Whether an USB-stick is connected to the Pellematic heater or not.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
Current temperature that was reported by the online weather service (see weather.L_source
for information about the configured weather provider).
Unit | Factor | Type | Range |
---|---|---|---|
% | 1 | int | -32768 to 32767 |
Description
How cloudy it currently should be according to the configured online weather service (see weather.L_source
for information about the configured weather provider).
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The current air temperature that was reported from a sensor that is installed inside a room that is heated by the used heating circuit. This value is zero (0) if there is no sensor installed for the given heating circuit.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The target air temperature that is set by the user for the selected heating circuit. This value can be ignored if there is no sensor installed for the given heating circuit.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The current flow temperature ("Vorlauftemperatur") of the heating system for the selected heating circuit.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The target flow temperature ("Vorlauftemperatur") of the heating system for the selected heating circuit.
Unit | Factor | Type | Range |
---|---|---|---|
K | 0.1 | int | -32768 to 32767 |
Description
Influences the target room temperature. Basis is the datapoint temp_heat. This datapoint sets the wanted target to +X or -Y relative to the basis of temp_heat. For example, temp_heat is set to 22 degree and remote_override is set to +2 the real target for the heating system is 24 degree.
Unit | Factor | Type | Range |
---|---|---|---|
number | 1 | int | 0 to 3 |
Description
The current mode of the heating circuit. 0: Off, 1: Auto, 2: Heating, 3: Setback
Unit | Factor | Type | Range |
---|---|---|---|
number | 1 | int | 0 to 1 |
Description
Defines the current active time program. Value 0 means "time program 1" and value 1 means "time program 2".
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The current setback ("Absenktemperatur") temperature. Relevant if either the time program defines that current the setback time is active or if the circuit is set to mode 3.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The target temperature for the LED room thermostate. This temperature is the target if the remote is set to "middle" position. Relevant for the data point remote_override
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The target temperature while the heating system is in vacation mode. The vacation mode is set for a period of time on the touch (remote) control panel or through the app.
Unit | Factor | Type | Range |
---|---|---|---|
None | None | string | None |
Description
You can set or get the name for the heating circuit
Unit | Factor | Type | Range |
---|---|---|---|
num | 1 | int | 0:Off, 1:Comfort, 2:Minimum, 3:Ecological |
Description
This setting has influence to the desired target temperature for the heating circuit. The system uses weather data to estimate if it get's warmer during daytime and adjusts the target temperatures accordingly. The setting itself expresses the influence of the weather to the heating circuit. If you set comfort here, then the heater respects the L_comfort setting.
Unit | Factor | Type | Range |
---|---|---|---|
°C | 0.1 | int | -32768 to 32767 |
Description
The target temperature of the hot water boiler.
Unit | Factor | Type | Range |
---|---|---|---|
num | 1 | int | 0 or 1 |
Description
Indicates if the pump for the water heater is currently running or not. 0 means off, 1 means on.
Unit | Factor | Type | Range |
---|---|---|---|
n.a | n.a | string | n.a |
Description
The actual state of the hot water system. The heater tells if it's currently allowed to heat up water or not, and if/why water is heated or not. Also heat once is mentioned here. The whole string consists of all informations together and is seperated by a pipe (|) symbol.
Unit | Factor | Type | Range |
---|---|---|---|
number | 1 | int | 0 to 1 |
Description
Defines the current active time program. Value 0 means "time program 1" and value 1 means "time program 2".
Unit | Factor | Type | Range |
---|---|---|---|
None | None | Bool | 0 or 1 |
Description
If the time program normally would not allow the system to heat the water boiler, this value overrides the behaviour and allows the water to be heated once. This mode is set back after the hot water boiler reaching the target temperature.
Unit | Factor | Type | Range |
---|---|---|---|
None | None | string | None |
Description
You can set or get the name for the hot water circuit
Unit | Factor | Type | Range |
---|---|---|---|
minutes | 1 | int | 0-90 |
Description
Allowes the heater to start X minutes earlier in the morning if the water temperature is low enough and according to weather forecast there's no sun for solar water heating.
Unit | Factor | Type | Range |
---|---|---|---|
num | 1 | int | 0:Off , 1:On |
Description
When the heater goes to Off, setting this to 1 (On) will use the remaining heat in the system to (over-)heat the water boiler so the remaining thermal energy isn't wasted, instead it's stored in the warm water.
Unit | Factor | Type | Range |
---|---|---|---|
num | 1 | int | 0:Off, 1:Comfort, 2:Minimum, 3:Ecological |
Description
Setting this influences when water will be allowed to be heated. The system takes the weather forecast into consideration. The range is from 0 (don't use the weather forecast at all) to 3 (strongly let the forecast influence the beginning of the start time). Using 3 means also during summer that the system locks the warm water at all if sun is expected around noon. This will be announced in the L_statetext with a message like "Sunny weather expected, warm water setpoint reduced".