Closed qschneider closed 1 year ago
Ja, das hätte ich tatsächlich auch gerne, allerdings müsste man die Laufzeiten im Brenner natürlich zusammenbauen und dafür muss man erst mal alle Teile haben. Und die kommen ja nur bei Änderungen. Wird ziemlich ekelig im C++-Code. Schaffe ich zeitlich gerade nicht.
maybe an alternative would be to generate entities off BLZ1S2... but keep them internally in esphome to do the processing over there. Finally the public entity would be a template.
fi
# Brennerlaufzeit Enthält zusammen mit den beiden folgenden Werten den Betriebsstundenzähler des Brenners auf Stufe 1. (Byte3 * 65536) + (Byte2 * 256) + Byte 1 = Laufzeit in Minuten
burner_operation_minutes_l1s2: #0x8836
id: BLZ1S2
internal: true #internal (Optional, boolean): Mark this component as internal. Internal components will not be exposed to the frontend (like Home Assistant). Only specifying an id without a name will implicitly set this to true.
burner_operation_minutes_l1s1: #0x8837
id: BLZ1S1
burner_operation_minutes_l1s0: #0x8838
id: BLZ1S0
burner_operation_minutes_l2s2: #0x8839
id: BLZ2S2
burner_operation_minutes_l2s1: #0x883A
id: BLZ2S1
burner_operation_minutes_l2s0: #0x883B
id: BLZ2S0
# Versionsnummer (Hauptversionsnummer, HV) Die Version der Logamatic-Firmware im Format "HV.NV"
firmware_version_vk: #0x893E
id: VVK
firmware_version_nk: #0x893F
id: VNK
module_id: #0x8940
name: "Logamatic Modulkennung"
# - platform: template
# burner_operation_minutes_l1:
# name: "Brennerlaufzeit Stufe1"
# entity_category: diagnostic
# lambda: |-
# if (id(BLZ1S2).state) {
# do some math...
# return xyz;
# }
I've added C++ code for the boiler runtime in #31. There are still open issues. @qschneider Would you mind testing whether you get a plausible value?
Yes i can check this, wrote a comment in the pull request, maybe it helps.
Any chance to add VVK.VNK and MODKENN in the future? These values are just to be more feature complete, they probably will never change. In my case they would be 3.18 and 6
Any chance to add VVK.VNK and MODKENN in the future? These values are just to be more feature complete, they probably will never change. In my case they would be 3.18 and 6
There's certainly a chance :)
Firmware version comes with #58
I'd suggest closing this issue as we now have everything except MODKENN. And MODKENN is not very helpful imho.
The following sensor are missing so far - but would be nice to have ;-) I describe them as detailed as i can, but there are missing steps to calculate or concatenate these values.
Brennerlaufzeit Enthält zusammen mit den beiden folgenden Werten den Betriebszähler des Brenners auf Stufe 1. (Byte3 65536) + (Byte2 256) + Byte 1 = Laufzeit in Minuten Betriebsminuten Stufe 1 0x8836 - Byte3, 0x8837 - Byte2, 0x8838 - Byte1 Betriebsminuten Stufe 2 0x8839 - Byte3, 0x883A - Byte2, 0x883B - Byte1
Versionsnummer (Hauptversionsnummer, HV) Die Version der Logamatic-Firmware im Format "HV.NV" Versionsnummer 0x893E, 0x893F
sensor.py
km271.h
buderus-km271.yaml