ESPHome-OpenTherm icon indicating copy to clipboard operation
ESPHome-OpenTherm copied to clipboard

HA - ESPhome config

Open marcos-acpc opened this issue 2 years ago • 29 comments

Hi I managed to flash it but when I go to add it on ESPHome it keeps giving me an API error. image

ps: to flash got needed to coment this line on opentherm_climate: 'traits.set_supports_heat_cool_mode(false);'

marcos-acpc avatar Jul 08 '21 04:07 marcos-acpc

image

print of the code I used from you

marcos-acpc avatar Jul 08 '21 04:07 marcos-acpc

Hi @marcos-acpc, I think you are using a old version of esphome.

Try to upgrade esphome, uncomment the line with traits.set_supports_heat_cool_mode and compile again.

rsciriano avatar Jul 08 '21 06:07 rsciriano

Hi thanks for the fast response. I will update when I return from my holidays. Does this line of code influence the config on Esphome server? Sorry but I didn't got time to go thru all code again and just just start reading and understanding it. Thanks

marcos-acpc avatar Jul 08 '21 06:07 marcos-acpc

Hi @marcos-acpc,

The compilation error that you got in the method traits.set_supports_heat_cool_mode was caused because, in recent versions, they have introduced a breaking change (they have renamed this method from set_supports_auto_mode).

This has indicated to me that you were using an older version of esphome and that this is the cause of the communication error with Home Assistant :-)

rsciriano avatar Jul 08 '21 15:07 rsciriano

Hi, thank you for the explanation I will check next available opportunity.

marcos-acpc avatar Jul 08 '21 15:07 marcos-acpc

@rsciriano Hi, I face the similar problem. The version of esphome is 1.19.4, and the version of HA is 2021.6.6.

When I compiling the firmware, esphome shows the log as below:

Compiling .pioenvs/opentherm/src/main.cpp.o In file included from src/opentherm_component.h:5:0, from src/main.cpp:40: src/opentherm_climate.h: In member function 'virtual esphome::climate::ClimateTraits OpenthermClimate::traits()': src/opentherm_climate.h:46:68: warning: 'void esphome::climate::ClimateTraits::set_supports_heat_cool_mode(bool)' is deprecated (declared at src/esphome/components/climate/climate_traits.h:60): This method is deprecated, use set_supported_modes() instead [-Wdeprecated-declarations] traits.set_supports_heat_cool_mode(supports_heat_cool_mode_); ^ src/opentherm_climate.h:48:44: warning: 'void esphome::climate::ClimateTraits::set_supports_cool_mode(bool)' is deprecated (declared at src/esphome/components/climate/climate_traits.h:56): This method is deprecated, use set_supported_modes() instead [-Wdeprecated-declarations] traits.set_supports_cool_mode(false); ^ src/opentherm_climate.h:49:43: warning: 'void esphome::climate::ClimateTraits::set_supports_heat_mode(bool)' is deprecated (declared at src/esphome/components/climate/climate_traits.h:58): This method is deprecated, use set_supported_modes() instead [-Wdeprecated-declarations] traits.set_supports_heat_mode(true); ^ src/opentherm_climate.h:51:39: warning: 'void esphome::climate::ClimateTraits::set_supports_away(bool)' is deprecated (declared at src/esphome/components/climate/climate_traits.h:119): This method is deprecated, use set_supported_presets() instead [-Wdeprecated-declarations] traits.set_supports_away(false); ^ Linking .pioenvs/opentherm/firmware.elf Retrieving maximum program size .pioenvs/opentherm/firmware.elf Checking size .pioenvs/opentherm/firmware.elf Building .pioenvs/opentherm/firmware.bin

After flashing the firmware to the esp board, the esp cannot communicate to the HA or Esphome, it seems that the esp board can connect to wifi, but cannot build connection to HA server or Esphome server via port 6053. Besides, the esp board can show the log via usb2ttl, and below is the log via usb2ttl.

Showing logs: [22:07:15]{l[I][logger:170]: Log initialized [22:07:15][C][ota:366]: There have been 0 suspected unsuccessful boot attempts. [22:07:15][W][app:022]: Component already registered! (0x3fff3d9c) [22:07:15][I][app:029]: Running through setup()... [22:07:15][D][opentherm_component:044]: Setup [22:07:16][D][sensor:117]: 'PID Climate Result': Sending state 0.00000 % with 1 decimals of accuracy [22:07:16][D][sensor:117]: 'PID Climate HEAT': Sending state 0.00000 % with 1 decimals of accuracy [22:07:16][D][sensor:117]: 'PID Climate ERROR': Sending state 0.00000 % with 1 decimals of accuracy [22:07:16][C][wifi:037]: Setting up WiFi... [22:07:16][I][wifi:235]: WiFi Connecting to 'Calmdown'... [22:07:16][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:07:16][D][opentherm_component:096]: update hotWaterClimate: 0 [22:07:19][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:07:26][D][binary_sensor:036]: 'Flame': Sending state OFF [22:07:26][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:07:26][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:07:26][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:07:26][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:07:26][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:07:26][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:07:26][D][climate:369]: 'Hot water' - Sending state: [22:07:26][D][climate:372]: Mode: OFF [22:07:26][D][climate:374]: Action: OFF [22:07:26][D][climate:392]: Current Temperature: -1.00°C [22:07:26][D][climate:398]: Target Temperature: 0.00°C [22:07:26][D][climate:369]: 'Heating water' - Sending state: [22:07:26][D][climate:372]: Mode: OFF [22:07:26][D][climate:374]: Action: OFF [22:07:26][D][climate:392]: Current Temperature: 0.00°C [22:07:26][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:07:26][I][wifi:498]: WiFi Connected! [22:07:26][C][wifi:344]: SSID: 'Calmdown' [22:07:26][C][wifi:345]: IP Address: 192.168.19.13 [22:07:26][C][wifi:347]: BSSID: FC:7C:02:BB:83:28 [22:07:26][C][wifi:348]: Hostname: 'opentherm' [22:07:26][C][wifi:352]: Signal strength: -33 dB ▂▄▆█ [22:07:26][C][wifi:356]: Channel: 6 [22:07:26][C][wifi:357]: Subnet: 255.255.255.0 [22:07:26][C][wifi:358]: Gateway: 192.168.19.1 [22:07:26][C][wifi:359]: DNS1: 192.168.19.1 [22:07:26][C][wifi:360]: DNS2: (IP unset) [22:07:26][D][wifi:507]: Disabling AP... [22:07:26][C][ota:029]: Over-The-Air Updates: [22:07:26][C][ota:030]: Address: 192.168.19.13:8266 [22:07:26][C][api:022]: Setting up Home Assistant API server... [22:07:26][I][app:059]: setup() finished successfully! [22:07:26][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:07:26][D][opentherm_component:096]: update hotWaterClimate: 0 [22:07:29][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:07:35][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:07:35][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:07:35][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:07:35][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:07:35][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:07:35][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:07:35][D][climate:369]: 'Hot water' - Sending state: [22:07:35][D][climate:372]: Mode: OFF [22:07:35][D][climate:374]: Action: OFF [22:07:35][D][climate:392]: Current Temperature: -1.00°C [22:07:35][D][climate:398]: Target Temperature: 0.00°C [22:07:35][D][climate:369]: 'Heating water' - Sending state: [22:07:35][D][climate:372]: Mode: OFF [22:07:35][D][climate:374]: Action: OFF [22:07:35][D][climate:392]: Current Temperature: 0.00°C [22:07:35][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:07:35][D][api:067]: Disconnecting 192.168.19.3 [22:07:35][D][api:067]: Disconnecting 192.168.19.4 [22:07:35][I][app:105]: ESPHome version 1.19.4 compiled on Jul 15 2021, 22:05:08 [22:07:35][C][wifi:484]: WiFi: [22:07:35][C][wifi:344]: SSID: 'Calmdown' [22:07:35][C][wifi:345]: IP Address: 192.168.19.13 [22:07:35][C][wifi:347]: BSSID: FC:7C:02:BB:83:28 [22:07:35][C][wifi:348]: Hostname: 'opentherm' [22:07:35][C][wifi:352]: Signal strength: -32 dB ▂▄▆█ [22:07:35][C][wifi:356]: Channel: 6 [22:07:35][C][wifi:357]: Subnet: 255.255.255.0 [22:07:35][C][wifi:358]: Gateway: 192.168.19.1 [22:07:35][C][wifi:359]: DNS1: 192.168.19.1 [22:07:35][C][wifi:360]: DNS2: (IP unset) [22:07:35][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:07:35][D][opentherm_component:096]: update hotWaterClimate: 0 [22:07:38][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:07:45][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:07:45][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:07:45][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:07:45][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:07:45][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:07:45][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:07:45][D][climate:369]: 'Hot water' - Sending state: [22:07:45][D][climate:372]: Mode: OFF [22:07:45][D][climate:374]: Action: OFF [22:07:45][D][climate:392]: Current Temperature: -1.00°C [22:07:45][D][climate:398]: Target Temperature: 0.00°C [22:07:45][D][climate:369]: 'Heating water' - Sending state: [22:07:45][D][climate:372]: Mode: OFF [22:07:45][D][climate:374]: Action: OFF [22:07:45][D][climate:392]: Current Temperature: 0.00°C [22:07:45][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:07:45][C][template.switch:058]: Template Switch 'PID Climate Autotune' [22:07:45][C][template.switch:059]: Restore State: NO [22:07:45][C][template.switch:060]: Optimistic: NO [22:07:45][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:07:45][D][opentherm_component:096]: update hotWaterClimate: 0 [22:07:48][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:07:54][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:07:54][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:07:54][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:07:54][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:07:54][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:07:54][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:07:54][D][climate:369]: 'Hot water' - Sending state: [22:07:54][D][climate:372]: Mode: OFF [22:07:54][D][climate:374]: Action: OFF [22:07:54][D][climate:392]: Current Temperature: -1.00°C [22:07:54][D][climate:398]: Target Temperature: 0.00°C [22:07:54][D][climate:369]: 'Heating water' - Sending state: [22:07:54][D][climate:372]: Mode: OFF [22:07:54][D][climate:374]: Action: OFF [22:07:54][D][climate:392]: Current Temperature: 0.00°C [22:07:54][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:07:54][C][logger:189]: Logger: [22:07:54][C][logger:190]: Level: DEBUG [22:07:54][C][logger:191]: Log Baud Rate: 115200 [22:07:54][C][logger:192]: Hardware UART: UART0 [22:07:54][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:07:54][D][opentherm_component:096]: update hotWaterClimate: 0 [22:07:57][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:08:03][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:08:03][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:08:03][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:08:03][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:08:04][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:08:04][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:08:04][D][climate:369]: 'Hot water' - Sending state: [22:08:04][D][climate:372]: Mode: OFF [22:08:04][D][climate:374]: Action: OFF [22:08:04][D][climate:392]: Current Temperature: -1.00°C [22:08:04][D][climate:398]: Target Temperature: 0.00°C [22:08:04][D][climate:369]: 'Heating water' - Sending state: [22:08:04][D][climate:372]: Mode: OFF [22:08:04][D][climate:374]: Action: OFF [22:08:04][D][climate:392]: Current Temperature: 0.00°C [22:08:04][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:08:04][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:08:04][D][opentherm_component:096]: update hotWaterClimate: 0 [22:08:07][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:08:13][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:08:13][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:08:13][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:08:13][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:08:13][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:08:13][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:08:13][D][climate:369]: 'Hot water' - Sending state: [22:08:13][D][climate:372]: Mode: OFF [22:08:13][D][climate:374]: Action: OFF [22:08:13][D][climate:392]: Current Temperature: -1.00°C [22:08:13][D][climate:398]: Target Temperature: 0.00°C [22:08:13][D][climate:369]: 'Heating water' - Sending state: [22:08:13][D][climate:372]: Mode: OFF [22:08:13][D][climate:374]: Action: OFF [22:08:13][D][climate:392]: Current Temperature: 0.00°C [22:08:13][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:08:13][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:08:13][D][opentherm_component:096]: update hotWaterClimate: 0 [22:08:16][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:08:22][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:08:22][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:08:22][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:08:22][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:08:22][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:08:22][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:08:22][D][climate:369]: 'Hot water' - Sending state: [22:08:22][D][climate:372]: Mode: OFF [22:08:22][D][climate:374]: Action: OFF [22:08:22][D][climate:392]: Current Temperature: -1.00°C [22:08:22][D][climate:398]: Target Temperature: 0.00°C [22:08:22][D][climate:369]: 'Heating water' - Sending state: [22:08:22][D][climate:372]: Mode: OFF [22:08:22][D][climate:374]: Action: OFF [22:08:22][D][climate:392]: Current Temperature: 0.00°C [22:08:22][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:08:22][C][pid.climate:054]: PID Climate 'PID Climate Controller' [22:08:22][C][pid.climate:055]: Control Parameters: [22:08:22][C][pid.climate:056]: kp: 0.38197, ki: 0.01012, kd: 3.60387 [22:08:22][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:08:22][D][opentherm_component:096]: update hotWaterClimate: 0 [22:08:26][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output) [22:08:32][D][sensor:117]: 'External Temperature': Sending state -1.00000 °C with 0 decimals of accuracy [22:08:32][D][sensor:117]: 'Return Temperature': Sending state -1.00000 °C with 1 decimals of accuracy [22:08:32][D][sensor:117]: 'Boiler Temperature': Sending state 0.00000 °C with 1 decimals of accuracy [22:08:32][D][sensor:117]: 'Heating Water Pressure': Sending state -1.00000 hPa with 1 decimals of accuracy [22:08:32][D][sensor:117]: 'Boiler Modulation': Sending state -1.00000 % with 0 decimals of accuracy [22:08:32][D][sensor:117]: 'Heating Target Temperature': Sending state 10.00000 ºC with 1 decimals of accuracy [22:08:32][D][climate:369]: 'Hot water' - Sending state: [22:08:32][D][climate:372]: Mode: OFF [22:08:32][D][climate:374]: Action: OFF [22:08:32][D][climate:392]: Current Temperature: -1.00°C [22:08:32][D][climate:398]: Target Temperature: 0.00°C [22:08:32][D][climate:369]: 'Heating water' - Sending state: [22:08:32][D][climate:372]: Mode: OFF [22:08:32][D][climate:374]: Action: OFF [22:08:32][D][climate:392]: Current Temperature: 0.00°C [22:08:32][D][climate:396]: Target Temperature: Low: 0.00°C High: 0.00°C [22:08:32][C][pid.sensor:056]: PID Climate Sensor 'PID Climate Result' [22:08:32][C][pid.sensor:056]: State Class: 'measurement' [22:08:32][C][pid.sensor:056]: Unit of Measurement: '%' [22:08:32][C][pid.sensor:056]: Accuracy Decimals: 1 [22:08:32][C][pid.sensor:056]: Icon: 'mdi:gauge' [22:08:32][D][opentherm_component:095]: update heatingWaterClimate: 0 [22:08:32][D][opentherm_component:096]: update hotWaterClimate: 0 [22:08:35][D][opentherm_component:123]: setBoilerTemperature at 10.000000 °C (from PID Output)

whxciotw avatar Jul 15 '21 14:07 whxciotw

I think you are using a old version of esphome.

Try to upgrade esphome, uncomment the line with traits.set_supports_heat_cool_mode and compile again.

Hi I just returned, I updated the esphome and managed to flash it with your original file. It connects to network fine but the error on home assistant persists. image

marcos-acpc avatar Jul 18 '21 20:07 marcos-acpc

to add this is showing on when flashing: image

marcos-acpc avatar Jul 18 '21 20:07 marcos-acpc

I found this on esphome documentation but I don't understand what needs to be changed to make it work: https://esphome.io/api/classesphome_1_1climate_1_1_climate_traits.html

marcos-acpc avatar Jul 19 '21 11:07 marcos-acpc

@rsciriano I tried to change it and make it work but for now, is out of reach for me as I don't know much about c++.

marcos-acpc avatar Jul 20 '21 12:07 marcos-acpc

make it to fully connect only with it attached to the boiler.. water pressure dont work but it might be from boiler.

marcos-acpc avatar Jul 20 '21 18:07 marcos-acpc

Hi @marcos-acpc,

I have been testing and the connection error occurs with version 2021.6.6 of Home Assistant.

Upgrading to version 2021.7.3 solves the problem :-)

rsciriano avatar Jul 20 '21 18:07 rsciriano

make it to fully connect only with it attached to the boiler.. water pressure dont work but it might be from boiler.

Yes, some boilers provide less information than the opentherm protocol supports. Return Temperature and External Temperature are often missing

rsciriano avatar Jul 20 '21 18:07 rsciriano

@rsciriano but the external sensor you refer to on the read me the file is supposed to be inside or outside the house?

marcos-acpc avatar Jul 20 '21 18:07 marcos-acpc

@rsciriano but the external sensor you refer to on the read me the file is supposed to be inside or outside the house?

Yes, The external sensor I refer to on readme is inside the house. That sensor is used in the thermostat (PID Climate)

In my case, this sensor are in another device, in another room. To use it, need declare on YAML as a Home Assistant sensor (line 82)

  - platform: homeassistant
    id: temperature_sensor
    entity_id: sensor.temperature_sensor
    name: "Actual temperature"
    unit_of_measurement: °C
  • The id property value have been alwaystemperature_sensor
  • The entity_id property value is the Entity Id of the sensor on Home Assistant

On the other hand, The sensor I was referring to before, is another one that can be connected to the boiler and read via opentherm.

rsciriano avatar Jul 20 '21 19:07 rsciriano

@rsciriano but the external sensor you refer to on the read me the file is supposed to be inside or outside the house?

Yes, The external sensor I refer to on readme is inside the house. That sensor is used in the thermostat (PID Climate)

In my case, this sensor are in another device, in another room. To use it, need declare on YAML as a Home Assistant sensor (line 82)

  - platform: homeassistant
    id: temperature_sensor
    entity_id: sensor.temperature_sensor
    name: "Actual temperature"
    unit_of_measurement: °C
  • The id property value have been alwaystemperature_sensor
  • The entity_id property value is the Entity Id of the sensor on Home Assistant

On the other hand, The sensor I was referring to before, is another one that can be connected to the boiler and read via opentherm.

I got this. it was just to double check. :) The problem with the connection with HA, gone when I plug it into the boiler. Only after was ON and running with the boiler, that I managed to connect on esphome integrations. I would like to add but if possible could you please add some explanation on this: image I understand what they ruffly means but I don't understand the percentages and the autotune. With this everyone would understand better what to look for.

marcos-acpc avatar Jul 20 '21 20:07 marcos-acpc

I have the same issue ESPHome it keeps giving me an API error. ESP home version 2021.8.2 Home assistant version: core-2021.8.8

image

Johnssj3 avatar Aug 28 '21 22:08 Johnssj3

release v0.2 everything works, release v0.3 does not work core-2021.9.4 supervisor-2021.09.0 ESPHome version: 2021.8.2

ananyevgv avatar Sep 07 '21 12:09 ananyevgv

First you need to connect the boiler, then it works. If the boiler is not connected, the API is not connected v.0.3

ananyevgv avatar Sep 10 '21 08:09 ananyevgv

EB41A6EF-A8B7-40E7-8993-BB4C31D5D775 I have this problem boiler (bulex is connected by VR33 card) to the melnyk unit. The light on the melnyk unit is flashing, the light on the VR33 also.

Joparmen avatar Oct 28 '21 20:10 Joparmen

I found this on esphome documentation but I don't understand what needs to be changed to make it work: https://esphome.io/api/classesphome_1_1climate_1_1_climate_traits.html

@marcos-acpc I fixed the warnings, look at my pull request/fork, If you want to add another climatemode, just add a comma and the one you like from this list. https://esphome.io/api/namespaceesphome_1_1climate.html#a8716cd7ed01ceb7ccedfa2f7b47a39d2

ShurikenGitHub avatar Oct 31 '21 11:10 ShurikenGitHub

@ShurikenGitHub Hi, thanks for the contribution. The only thing I need to test is when I turn off the thermostat the pumps keep running as normal but the flame turns on for few seconds time to time and keeps my house at 21c degrees but ye some testing will be required during this winter as gas prices are getting too high. And I do not want to turn on the heating till I really need it.

marcos-acpc avatar Oct 31 '21 21:10 marcos-acpc

@ShurikenGitHub I was trying to update my esp device but keep getting this: Screenshot from 2021-11-24 23-41-58 seems some error with dependencies but I dont know how to fix it :( i tried the new files with your updates included.

marcos-acpc avatar Nov 24 '21 23:11 marcos-acpc

Hi @marcos-acpc, I think the problem could be with the version of esphome Home Assistant add-on (a similar issue has reported here)

The issue could be solved by updating the add-on

rsciriano avatar Nov 25 '21 08:11 rsciriano

Hi @marcos-acpc, I think the problem could be with the version of esphome Home Assistant add-on (a similar issue has reported here)

The issue could be solved by updating the add-on

@rsciriano I'm running the latest version of the esphome addon and I get the same error. Could it be the Arduino framework version? This shows up before compilation starts. afbeelding

ShurikenGitHub avatar Nov 25 '21 09:11 ShurikenGitHub

@ShurikenGitHub Yes, Could it be the Arduino framework version. Try commenting out or removing the 9 line on opentherm.yam file with

arduino_version: '2.7.2'  

rsciriano avatar Nov 25 '21 09:11 rsciriano

I comented the Arduino and the esp async we server lines and now it compiles fine I will check all the functions later on.

marcos-acpc avatar Nov 25 '21 10:11 marcos-acpc

I comented the Arduino and the esp async we server lines and now it compiles fine I will check all the functions later on.

Everything OK ? I have some problem with this code.

HelpITru avatar Jan 05 '22 18:01 HelpITru

So far so good with me

marcos-acpc avatar Jan 05 '22 19:01 marcos-acpc