Heating
The heating module allows settings for heating control to be configured.
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
heating/config
The heating control configuration.
# $HOST e.g. wem2-AbCd
Read
curl http://$HOST/heating/config
{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}
Write
curl http://$HOST/heating/config -d '{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/heating/config
{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}
Write
With MQTT on $PREFIX/heating/config_update
mosquitto_pub -h $BROKER -t $PREFIX/heating/config_update -m '{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}'
| Name | Description |
|---|---|
sgr_blocking_typeint | SG-Ready output 1 configuration (used for blocking operation).
|
sgr_extended_typeint | SG-Ready output 2 configuration (used for extended operation).
|
min_hold_timeint | Minimum hold time for SG-Ready output 1 and SG-Ready output 2. |
meter_slot_grid_powerint | Specifies which electricity meter is considered the grid connection meter for control. |
control_periodint |
|
extended_loggingbool | Specifies whether detailed information about control decisions should be recorded in the event log. |
yield_forecastbool | Specifies whether the PV yield forecast should be used for heating control. |
yield_forecast_thresholdint (kWh) | Threshold for the PV yield forecast. When PV yield forecast control is enabled and the forecast exceeds the configured energy, dynamic electricity price control is disabled and only PV excess is used. |
extendedbool | Specifies whether extended operation control should be enabled. |
extended_hoursint (h) | Number of (cheapest) hours for which extended operation should be used. |
blockingbool | Specifies whether blocking operation control should be enabled. |
blocking_hoursint (h) | Number of (most expensive) hours for which blocking operation should be used. |
pv_excess_controlbool | Specifies whether PV excess control should be enabled. |
pv_excess_control_thresholdint (W) | Threshold for PV excess control. When PV excess control is enabled and PV excess exceeds the configured value, heating is only switched to extended operation when there is PV excess. |
p14enwgbool | Specifies whether §14a EnWG control should be enabled. |
p14enwg_inputint | Specifies which input of the energy manager should be used for shutdown via §14a EnWG.
|
p14enwg_typeint | Configuration for the input.
|
heating/state
The heating control state.
| Name | Description |
|---|---|
sgr_blockingbool | Indicates whether blocking operation is active. |
sgr_extendedbool | Indicates whether extended operation is active. |
p14enwgbool | Indicates whether blocking operation is active due to §14a EnWG. |
next_updateint | A Unix timestamp in minutes indicating when the heating control will perform the next update. |
heating/config
The heating control configuration.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/heating/config
{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}
Write
curl http://$HOST/heating/config -d '{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/heating/config
{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}
Write
With MQTT on $PREFIX/heating/config_update
mosquitto_pub -h $BROKER -t $PREFIX/heating/config_update -m '{
"sgr_blocking_type": 0,
"sgr_extended_type": 0,
"min_hold_time": 15,
"meter_slot_grid_power": 1,
"control_period": 0,
"extended_logging": false,
"yield_forecast": true,
"yield_forecast_threshold": 10,
"extended": true,
"extended_hours": 3,
"blocking": true,
"blocking_hours": 14,
"pv_excess_control": true,
"pv_excess_control_threshold": 1400,
"p14enwg": false,
"p14enwg_input": 0,
"p14enwg_type": 0
}'
| Name | Description |
|---|---|
sgr_blocking_typeint | SG-Ready output 1 configuration (used for blocking operation).
|
sgr_extended_typeint | SG-Ready output 2 configuration (used for extended operation).
|
min_hold_timeint | Minimum hold time for SG-Ready output 1 and SG-Ready output 2. |
meter_slot_grid_powerint | Specifies which electricity meter is considered the grid connection meter for control. |
control_periodint |
|
extended_loggingbool | Specifies whether detailed information about control decisions should be recorded in the event log. |
yield_forecastbool | Specifies whether the PV yield forecast should be used for heating control. |
yield_forecast_thresholdint (kWh) | Threshold for the PV yield forecast. When PV yield forecast control is enabled and the forecast exceeds the configured energy, dynamic electricity price control is disabled and only PV excess is used. |
extendedbool | Specifies whether extended operation control should be enabled. |
extended_hoursint (h) | Number of (cheapest) hours for which extended operation should be used. |
blockingbool | Specifies whether blocking operation control should be enabled. |
blocking_hoursint (h) | Number of (most expensive) hours for which blocking operation should be used. |
pv_excess_controlbool | Specifies whether PV excess control should be enabled. |
pv_excess_control_thresholdint (W) | Threshold for PV excess control. When PV excess control is enabled and PV excess exceeds the configured value, heating is only switched to extended operation when there is PV excess. |
p14enwgbool | Specifies whether §14a EnWG control should be enabled. |
p14enwg_inputint | Specifies which input of the energy manager should be used for shutdown via §14a EnWG.
|
p14enwg_typeint | Configuration for the input.
|
heating/state
The heating control state.
| Name | Description |
|---|---|
sgr_blockingbool | Indicates whether blocking operation is active. |
sgr_extendedbool | Indicates whether extended operation is active. |
p14enwgbool | Indicates whether blocking operation is active due to §14a EnWG. |
next_updateint | A Unix timestamp in minutes indicating when the heating control will perform the next update. |