1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-11-16 04:33:49 +01:00

Merge branch 'pr/51' into dev

This commit is contained in:
Robert van den Breemen 2021-04-05 00:03:54 +02:00
commit 6031d2f82e
3 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ typedef struct {
float Toutside = 0.0 ; // f8.8 Outside temperature (°C)
float Tret = 0.0 ; // f8.8 Return water temperature (°C)
float Tstorage = 0.0 ; // f8.8 Solar storage temperature (°C)
float Tcollector = 0.0 ; // f8.8 Solar collector temperature (°C)
int16_t Tcollector = 0.0 ; // s16 Solar collector temperature (°C)
float TflowCH2 = 0.0 ; // f8.8 Flow water temperature CH2 circuit (°C)
float Tdhw2 = 0.0 ; // f8.8 Domestic hot water temperature 2 (°C)
int16_t Texhaust = 0; // s16 Boiler exhaust temperature (°C)
@ -187,7 +187,7 @@ enum OpenThermMessageID {
OT_Toutside, // f8.8 Outside temperature (°C)
OT_Tret, // f8.8 Return water temperature (°C)
OT_Tstorage, // f8.8 Solar storage temperature (°C)
OT_Tcollector, // f8.8 Solar collector temperature (°C)
OT_Tcollector, // s16 Solar collector temperature (°C)
OT_TflowCH2, // f8.8 Flow water temperature CH2 circuit (°C)
OT_Tdhw2, // f8.8 Domestic hot water temperature 2 (°C)
OT_Texhaust, // s16 Boiler exhaust temperature (°C)
@ -291,10 +291,10 @@ enum OpenThermMessageID {
{ 27, OT_READ , ot_f88, "Toutside", "Outside temperature", "°C" },
{ 28, OT_READ , ot_f88, "Tret", "Return water temperature", "°C" },
{ 29, OT_READ , ot_f88, "Tstorage", "Solar storage temperature", "°C" },
{ 30, OT_READ , ot_f88, "Tcollector", "Solar collector temperature", "°C" },
{ 30, OT_READ , ot_s16, "Tcollector", "Solar collector temperature", "°C" },
{ 31, OT_READ , ot_f88, "TflowCH2", "Flow water temperature CH2 circuit", "°C" },
{ 32, OT_READ , ot_s16, "Tdhw2", "Domestic hot water temperature 2", "°C" },
{ 33, OT_READ , ot_f88, "Texhaust", "Boiler exhaust temperature", "°C" },
{ 32, OT_READ , ot_f88, "Tdhw2", "Domestic hot water temperature 2", "°C" },
{ 33, OT_READ , ot_s16, "Texhaust", "Boiler exhaust temperature", "°C" },
{ 34, OT_UNDEF , ot_undef, "", "", "" },
{ 35, OT_READ , ot_u16, "FanSpeed", "fan speed", "rpm" },
{ 36, OT_READ , ot_f88, "ElectricalCurrentBurnerFlame", "Electrical current through burner flame", "µA" },

View File

@ -1014,7 +1014,7 @@ void processOTGW(const char *buf, int len){
case OT_Toutside: OTdataObject.Toutside = print_f88(); break;
case OT_Tret: OTdataObject.Tret = print_f88(); break;
case OT_Tstorage: OTdataObject.Tstorage = print_f88(); break;
case OT_Tcollector: OTdataObject.Tcollector = print_f88(); break;
case OT_Tcollector: OTdataObject.Tcollector = print_s16(); break;
case OT_TflowCH2: OTdataObject.TflowCH2 = print_f88(); break;
case OT_Tdhw2: OTdataObject.Tdhw2 = print_f88(); break;
case OT_Texhaust: OTdataObject.Texhaust = print_s16(); break;

View File

@ -76,10 +76,10 @@
%homeassistant%/sensor/%node_id%/Toutside/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Toutside", "device_class": "temperature", "name": "%hostname%_Outside_Temperature", "stat_t": "%mqtt_pub_topic%/Toutside", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Tret/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Tret", "device_class": "temperature", "name": "%hostname%_Return_water_temperature", "stat_t": "%mqtt_pub_topic%/Tret", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Tstorage/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Tstorage", "device_class": "temperature", "name": "%hostname%_Solar_storage_temperature", "stat_t": "%mqtt_pub_topic%/Tstorage", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Tcollector/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Tcollector", "device_class": "temperature", "name": "%hostname%_Solar_collector_temperature", "stat_t": "%mqtt_pub_topic%/Tcollector", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Tcollector/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Tcollector", "device_class": "temperature", "name": "%hostname%_Solar_collector_temperature", "stat_t": "%mqtt_pub_topic%/Tcollector", "unit_of_measurement": "°C", "value_template": "{{ value / 256 }}" }
%homeassistant%/sensor/%node_id%/TflowCH2/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-TflowCH2", "device_class": "temperature", "name": "%hostname%_Flow_water_temperature_CH2 cir.", "stat_t": "%mqtt_pub_topic%/TflowCH2", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Tdhw2/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Tdhw2", "device_class": "temperature", "name": "%hostname%_Domestic_hot_water_temperature_2", "stat_t": "%mqtt_pub_topic%/Tdhw2", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Texhaust/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Texhaust", "device_class": "temperature", "name": "%hostname%_Boiler_exhaust_temperature", "stat_t": "%mqtt_pub_topic%/Texhaust", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/Texhaust/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-Texhaust", "device_class": "temperature", "name": "%hostname%_Boiler_exhaust_temperature", "stat_t": "%mqtt_pub_topic%/Texhaust", "unit_of_measurement": "°C", "value_template": "{{ value / 256 }}" }
%homeassistant%/sensor/%node_id%/TdhwSet/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-TdhwSet", "device_class": "temperature", "name": "%hostname%_DHW_setpoint", "stat_t": "%mqtt_pub_topic%/TdhwSet", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/MaxTSet/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-MaxTSet", "device_class": "temperature", "name": "%hostname%_Max_CH_water_setpoint", "stat_t": "%mqtt_pub_topic%/MaxTSet", "unit_of_measurement": "°C", "value_template": "{{ value }}" }
%homeassistant%/sensor/%node_id%/CoolingControl/config , {"avty_t": "%mqtt_pub_topic%", "dev": {"identifiers": "%node_id%", "manufacturer": "Schelte Bron", "model": "otgw-nodo", "name": "OpenTherm Gateway (%hostname%)", "sw_version": "%version%"}, "uniq_id": "%node_id%-CoolingControl", "name": "%hostname%_Cooling_control_signal", "stat_t": "%mqtt_pub_topic%/CoolingControl", "unit_of_measurement": "%", "value_template": "{{ value }}" }