mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 11:37:27 +01:00
Message to string extend (#7755)
This commit is contained in:
parent
928b39f495
commit
1e80c4807e
@ -371,11 +371,11 @@ void OpenthermHub::dump_config() {
|
|||||||
ESP_LOGCONFIG(TAG, " Numbers: %s", SHOW(OPENTHERM_NUMBER_LIST(ID, )));
|
ESP_LOGCONFIG(TAG, " Numbers: %s", SHOW(OPENTHERM_NUMBER_LIST(ID, )));
|
||||||
ESP_LOGCONFIG(TAG, " Initial requests:");
|
ESP_LOGCONFIG(TAG, " Initial requests:");
|
||||||
for (auto type : this->initial_messages_) {
|
for (auto type : this->initial_messages_) {
|
||||||
ESP_LOGCONFIG(TAG, " - %d", type);
|
ESP_LOGCONFIG(TAG, " - %d (%s)", type, this->opentherm_->message_id_to_str((type)));
|
||||||
}
|
}
|
||||||
ESP_LOGCONFIG(TAG, " Repeating requests:");
|
ESP_LOGCONFIG(TAG, " Repeating requests:");
|
||||||
for (auto type : this->repeating_messages_) {
|
for (auto type : this->repeating_messages_) {
|
||||||
ESP_LOGCONFIG(TAG, " - %d", type);
|
ESP_LOGCONFIG(TAG, " - %d (%s)", type, this->opentherm_->message_id_to_str((type)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -483,6 +483,8 @@ const char *OpenTherm::message_id_to_str(MessageId id) {
|
|||||||
TO_STRING_MEMBER(EXHAUST_TEMP)
|
TO_STRING_MEMBER(EXHAUST_TEMP)
|
||||||
TO_STRING_MEMBER(FAN_SPEED)
|
TO_STRING_MEMBER(FAN_SPEED)
|
||||||
TO_STRING_MEMBER(FLAME_CURRENT)
|
TO_STRING_MEMBER(FLAME_CURRENT)
|
||||||
|
TO_STRING_MEMBER(ROOM_TEMP_CH2)
|
||||||
|
TO_STRING_MEMBER(REL_HUMIDITY)
|
||||||
TO_STRING_MEMBER(DHW_BOUNDS)
|
TO_STRING_MEMBER(DHW_BOUNDS)
|
||||||
TO_STRING_MEMBER(CH_BOUNDS)
|
TO_STRING_MEMBER(CH_BOUNDS)
|
||||||
TO_STRING_MEMBER(OTC_CURVE_BOUNDS)
|
TO_STRING_MEMBER(OTC_CURVE_BOUNDS)
|
||||||
@ -492,14 +494,39 @@ const char *OpenTherm::message_id_to_str(MessageId id) {
|
|||||||
TO_STRING_MEMBER(HVAC_STATUS)
|
TO_STRING_MEMBER(HVAC_STATUS)
|
||||||
TO_STRING_MEMBER(REL_VENT_SETPOINT)
|
TO_STRING_MEMBER(REL_VENT_SETPOINT)
|
||||||
TO_STRING_MEMBER(DEVICE_VENT)
|
TO_STRING_MEMBER(DEVICE_VENT)
|
||||||
|
TO_STRING_MEMBER(HVAC_VER_ID)
|
||||||
TO_STRING_MEMBER(REL_VENTILATION)
|
TO_STRING_MEMBER(REL_VENTILATION)
|
||||||
TO_STRING_MEMBER(REL_HUMID_EXHAUST)
|
TO_STRING_MEMBER(REL_HUMID_EXHAUST)
|
||||||
|
TO_STRING_MEMBER(EXHAUST_CO2)
|
||||||
TO_STRING_MEMBER(SUPPLY_INLET_TEMP)
|
TO_STRING_MEMBER(SUPPLY_INLET_TEMP)
|
||||||
TO_STRING_MEMBER(SUPPLY_OUTLET_TEMP)
|
TO_STRING_MEMBER(SUPPLY_OUTLET_TEMP)
|
||||||
TO_STRING_MEMBER(EXHAUST_INLET_TEMP)
|
TO_STRING_MEMBER(EXHAUST_INLET_TEMP)
|
||||||
TO_STRING_MEMBER(EXHAUST_OUTLET_TEMP)
|
TO_STRING_MEMBER(EXHAUST_OUTLET_TEMP)
|
||||||
|
TO_STRING_MEMBER(EXHAUST_FAN_SPEED)
|
||||||
|
TO_STRING_MEMBER(SUPPLY_FAN_SPEED)
|
||||||
|
TO_STRING_MEMBER(REMOTE_VENTILATION_PARAM)
|
||||||
TO_STRING_MEMBER(NOM_REL_VENTILATION)
|
TO_STRING_MEMBER(NOM_REL_VENTILATION)
|
||||||
|
TO_STRING_MEMBER(HVAC_NUM_TSP)
|
||||||
|
TO_STRING_MEMBER(HVAC_IDX_TSP)
|
||||||
|
TO_STRING_MEMBER(HVAC_FHB_SIZE)
|
||||||
|
TO_STRING_MEMBER(HVAC_FHB_IDX)
|
||||||
|
TO_STRING_MEMBER(RF_SIGNAL)
|
||||||
|
TO_STRING_MEMBER(DHW_MODE)
|
||||||
TO_STRING_MEMBER(OVERRIDE_FUNC)
|
TO_STRING_MEMBER(OVERRIDE_FUNC)
|
||||||
|
TO_STRING_MEMBER(SOLAR_MODE_FLAGS)
|
||||||
|
TO_STRING_MEMBER(SOLAR_ASF)
|
||||||
|
TO_STRING_MEMBER(SOLAR_VERSION_ID)
|
||||||
|
TO_STRING_MEMBER(SOLAR_PRODUCT_ID)
|
||||||
|
TO_STRING_MEMBER(SOLAR_NUM_TSP)
|
||||||
|
TO_STRING_MEMBER(SOLAR_IDX_TSP)
|
||||||
|
TO_STRING_MEMBER(SOLAR_FHB_SIZE)
|
||||||
|
TO_STRING_MEMBER(SOLAR_FHB_IDX)
|
||||||
|
TO_STRING_MEMBER(SOLAR_STARTS)
|
||||||
|
TO_STRING_MEMBER(SOLAR_HOURS)
|
||||||
|
TO_STRING_MEMBER(SOLAR_ENERGY)
|
||||||
|
TO_STRING_MEMBER(SOLAR_TOTAL_ENERGY)
|
||||||
|
TO_STRING_MEMBER(FAILED_BURNER_STARTS)
|
||||||
|
TO_STRING_MEMBER(BURNER_FLAME_LOW)
|
||||||
TO_STRING_MEMBER(OEM_DIAGNOSTIC)
|
TO_STRING_MEMBER(OEM_DIAGNOSTIC)
|
||||||
TO_STRING_MEMBER(BURNER_STARTS)
|
TO_STRING_MEMBER(BURNER_STARTS)
|
||||||
TO_STRING_MEMBER(CH_PUMP_STARTS)
|
TO_STRING_MEMBER(CH_PUMP_STARTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user