Customize it to fit the hardware.

This commit is contained in:
Attila Body 2025-06-05 12:57:11 +02:00
parent 381c994449
commit afd998adb6
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
5 changed files with 24 additions and 14 deletions

View file

@ -34,7 +34,7 @@ static void IRAM_ATTR esp_ot_process_response_callback(unsigned long response, o
void esp_ot_control_task_handler(void *pvParameter)
{
while (1) {
unsigned long status = esp_ot_set_boiler_status(false, true, false, false, false);
unsigned long status = esp_ot_set_boiler_status(false, false, false, false, false);
ESP_LOGI(T, "====== OPENTHERM =====");
ESP_LOGI(T, "Free heap size before: %ld", esp_get_free_heap_size());
@ -61,7 +61,7 @@ void esp_ot_control_task_handler(void *pvParameter)
ESP_LOGI(T, "CH Temp: %.1f", chTemp);
float pressure = esp_ot_get_pressure();
ESP_LOGI(T, "Slave OT Version: %.1f", pressure);
ESP_LOGI(T, "Pressure: %.1f", pressure);
unsigned long slaveProductVersion = esp_ot_get_slave_product_version();
ESP_LOGI(T, "Slave Version: %08lX", slaveProductVersion);