OpenTherm gateway
Today I soldered the kit and flashed the NodeMCU that connects the board to the wifi network. It already works standalone and I can read the values through the network. Now I only need to connect the board with the heater and thermostat.
I created a new release of Ek(ster) which checks status codes in the HTTP responses of the microsub server. See version 0.8.3 on Github.
And as always please use the -verbose
option to show the actual requests and responses. An example:
ek -verbose channels
This way you get the actual headers and body of the requests, which could help with debugging.
The last few days, I made improvements to Ekster. I simplified the conversion from MF2 to JF2. The first version of this code was ad-hoc, because I didn't understand what I could expect from the MF2 library. Now that I know what the inputs look like, I have written a better converter. The code now converts directly from microformat.Microformat
to jf2.Item
with less layers of map[string][]interface{}
in between. At the same time I added logging that shows the properties that were used, but weren't accepted by this new code.