Victor-Mo / IRT-ESP

Nefit / Buderus iRT protocol encoder / decoder for ESP8266
GNU Lesser General Public License v3.0
22 stars 6 forks source link

How to integrate IRT-ESP to Home assistant #16

Open gadafivg opened 2 years ago

gadafivg commented 2 years ago

Hello,

Modified BBQKees board to iRT and sucessfuly getting data from Buderus GB112. Since iRT-ESP is version without MQTT autodiscovery having issues integrating it to Homeassistant. As noob i'm tried to write entity to configuration.yaml but getting nowhere. On EMS-ESP there are no steps described for this. Plz help...

mrwee commented 2 years ago

You have to create your sensors manually in the configuration.yaml file. E.g.:


sensor:
  - platform: mqtt
    name: "Outdoor temperature"
    state_topic: "irt-esp/boiler_data"
    device_class: "temperature"
    value_template: "{{ value_json.outdoorTemp }}"
    qos: 0
    unit_of_measurement: "°C"
    icon: mdi:coolant-temperature
    unique_id: "boiler_outdoorTemp"`
gadafivg commented 2 years ago

I have modified files and getting majority of data into HAssio. Still cannot get info from Thermostat side. Is there way to get those?

Victor-Mo commented 2 years ago

Not sure what kind of information you are looking for ? But the maximum set of information you can get is:

Boiler stats:
  Hot tap water: off
  Central heating: active
  Warm Water activated: on
  Warm Water selected temperature: 40.0 C
  Warm Water current temperature: 62.0 C
  Warm Water 3-way valve: off
  Selected flow temperature: 40 C
  Current flow temperature: 44.0 C
  Return temperature: 37.0 C
  Gas: on
  Boiler pump: on
  Fan: on
  Ignition: off
  Burner selected max power: 30 %
  System service code: -H (83)
  Heating temperature setting on the boiler: 55 C
  Outside temperature: 12.0 C
  Flow temp. PID: 1.00 0.10 0.00
  Max. flow temp.: 60 C

(This is the output of the telnet command 'info') But the information that is available is strongly depend on the connected thermostat.

With the telnet command 'log m' you can show the MQTT messages that are being send, this is from my system: {"wWSelTemp":40,"selFlowTemp":40,"selBurnPow":30,"outdoorTemp":12,"wWCurTmp":62,"curFlowTemp":44,"retTemp":37,"wWActivated":"on","burnGas":"on","heatPmp":"on","fanWork":"on","ignWork":"off","heating_temp":55,"wWHeat":"off","ServiceCode":"-H","ServiceCodeNumber":83}