Daikin Heat Pump ESPAltherma / HomeAssistant installer bundle for emoncms

Thanks @John. Agreed on the coffee front, It’s quite a bit of code I’ve just sent his way!

I just found the explanation in a file called “Daikin I Protocol.md” under doc.

converters.h is using convid to decide what to do in the switch code.

Interestingly in the EDLA monobloc .h file there is no ‘200’.
lots of 30X’s though.

In converters.h, cases 300, 301, 302, 303, 304, 305, 306 and 307 all call the convertTable300() function.

As for an approach, I’d like to maintain the integrity of the original program, with as little disruption as possible, but I also didn’t want to have to duplicate lots of the code to create the ability to have 2 different data sets being created simultaneously (the ON/OFF set and the 0/1 set). This would only be needed to send MQTT messages and HTTPS messages to 2 different places, in 2 different formats, if MQTT couldn’t be set up to cope with 0’s and 1’s.

So in converters.h I added:

and modified the 200 and 300 functions to contain:
image
and
image

Pull request now re-posted on github:

1 Like