rvdbreemen / OTGW-firmware

A ESP8266 devkit firmware for the Nodoshop version of the Opentherm Gateway (OTGW)
MIT License
152 stars 34 forks source link

Human readable ASF, RBP-flags, TSP, FHB-values, OEM fault/service codes and the like. #10

Open STemplar opened 3 years ago

STemplar commented 3 years ago

The Remeha boilers (and other brands too) can send fault and parameter codes to the thermostat. It is done by using the Transparent Slave Parameters. Only Thermostats of the same brand know which fault or parameter codes corresponds with a certain OEM fault code / (TSP) value.

A nice feature woult be being able to make a JSON-file with a crosstab which pairs the OpenTherm values and the corresponding description from the manuals.

Class 1: Control and Status Information register 5 {flag8 u8} "Application-specific flags" (correponds with the Remeha E:xx fault codes.) register 72 {flag8 u8} "Fault flags/code V/H" register 73 {u16} "OEM diagnostic code V/H" register 102 {flag8 u8} "Solar storage fault flags" register 115 {u16} "OEM diagnostic code"

Class 2: Configuration Information register 3 {flag8 u8} "Slave configuration" register 74 {flag8 u8} "Configuration/memberid V/H" register 103 {flag8 u8} "Solar storage config/memberid"

Class 6: Transparent Slave Parameters register 11 {u8 u8} "TSP setting" (correponds with the Remeha Pxx parameter codes.) register 89 {u8 u8} "TSP setting V/H" register 106 {u8 u8} "TSP setting solar storage"

Class 7: Fault History Data register 13 {u8 u8} "Fault buffer entry" register 91 {u8 u8} "Fault buffer entry V/H" register 108 {u8 u8} "Fault buffer entry solar storage"

rvdbreemen commented 3 years ago

@STemplar I use a lookup table that does that. I actually used the spec 2.2 for the description of the ID. Is that what you mean? Because I am planning to include all the ID's you provided in the other ticket.

STemplar commented 3 years ago

@STemplar I use a lookup table that does that. I actually used the spec 2.2 for the description of the ID. Is that what you mean? Because I am planning to include all the ID's you provided in the other ticket.

No, I mean these codes/descriptions which are vendor specific: Parameters Dutch Parameters_NL1 Parameters_NL2 English Parameters_EN1 Parameters_EN1

Storingscodes Dutch Storingscode_NL1 Storingscode_NL2 Storingscode_NL3 Storingscode_NL4 Errorcodes English Storingscode_EN1 Storingscode_EN2 Storingscode_EN3 Storingscode_EN4

Blokkeringscodes Dutch Blokkeringscodes_NL1

Blocking code English Blokkeringscodes_EN1 Blokkeringscodes_EN2

Status / Substatus Dutch afbeelding afbeelding English afbeelding afbeelding

You can find them in the Remeha installation manuals ands appear to be generic for Remeha boilers. Remeha Thermostats link those descriptions to the corresponding Data-ID replies. By doing that they can display this information on their screen. I would be nice if your firmware could do the same.

Other Remeha info: Data-ID 11: correponds with the Remeha Pxx parameter codes using {u8 u8} data-type. (High Byte= Parameternr. / Low Byte= Value)

Checking this Equipment matrix I suspect Itho Daalderop, Intergas and Atag to have their own implementations.

rvdbreemen commented 3 years ago

Aha, so I have not looked at the implementation of the The Slave Parameters. I was focused on the basic message first. But it's definitly something I can consider implementing, as I own a Remeha Calenta myself ;-) I will reopen the issue, and put it back on the backlog.

STemplar commented 3 years ago

Aha, so I have not looked at the implementation of the The Slave Parameters. I was focused on the basic message first. But it's definitly something I can consider implementing, as I own a Remeha Calenta myself ;-) I will reopen the issue, and put it back on the backlog.

Then you probably have an iSense thermostat too. Check every parameter and option while checking the send and returned Data-ID's. Then you can compile a crosstab.

STemplar commented 2 years ago

Hi Robert, here my second attempt, added some Calenta Parameters.:

boiler Remeha Tzerra M 28c Plus.lut.txt

STemplar commented 2 years ago

Master MemberID Code (Data-ID 2 LB): Remeha <11> Master product type and version of two Remeha thermostats (Data-ID 126 u8 u8): qSense v1.2 <35 12> iSense v27 <32 27> Slave product type and version of two Remeha boilers (Data-ID 127 u8 u8): Tzerra M 28c Plus <13 16> Calenta 40c <10 19>

rvdbreemen commented 2 years ago

So we need a way to collect information ;-)

STemplar commented 2 years ago

Indeed, perhaps the easy way out is display the bitfields and ask for people to post the accompanying thermostat model info in the Discord channel? Or do you think of a fancier way?