There are some bugs in the user interface that i havent solved yet, however they are not the priority since we’re interested in the MDG Library and its communications.
I’ve succesfully established communication with the library and have full debugging and logging from both the app and the underlying MDG Lib. I can connect to the control servers,but haven’t been able to fully pair with my cc unit yet. The decompilation moved some exception handling around so i just need to play with it a bit more.
If @Jogge, or anybody else are willing to help out then please join the repository
hi,
i’m new to this community but I would definitely be interested in taking a look since i have a link cc and my new heating system has its own proptietary app …
the idea would be to control everything from a single app to make the use easier.
Hi! Could I please have an access to the code , too?
I’m new to this community, and I’m “happy” owner of danfoss things.
My login at bitbucket/github/gitlab is nayavu
Just a general update. The App is fully decompiled, but there is a few bugs in the user interface, however they do not affect the communication.
The underlying ProtoBuf protocol is fully deconstructed. However sinche the libluavm.so is reliant on the bionic c lib from android we cant runt the code on anything other than on an android OS.
Currently i’m trying to run the LUA code directly on windows, but i need to replace a lot of Posix calls.
The MDG lib is protocol to the MDG servers are “fairly” simple. So as we originally suggested we should theoretically be able to emulate the protocol. First step is to be able to generate a certificate based on the Brainpool EC curve. Alle the source code is in the lua files. After that its just a matter of communicating with the server in the protobuf format.
Also, according to Danfoss development, there’s an update on its way for the Link CC to patch for the KRACK vulnerability. I don’t know how or if this will affect the app at all, but they are hoping to be ready to update either beginning of December or January. I guess the Alexa-integration might be incorporated into the next update for the Link CC too.
Hi - impressive work you guys have put into this problem
From this thread, it seems most effort is put into controlling the living connect via http to the Link CC. Since I have a bunch of 014G0001 but no Link CC, I’m interested in the other possibility - reverse engineering the proprietary z-wave commands so openhab could talk to the thermostats directly. Does anyone have a overview of this approach at this time? Is that feasible? If the commands were reverse engineered, how much work would then be required in openhab to use the alternative commands?
Hi Morten,
I dont have a Zwave sniffer which is needed to be able to decode the streams. Work has been done on another forum and from what i have read they are able to read temperature but cannot control them yet.