Awesome!!
So far, current tasks are:
- Clean up the API, add state notifications callbacks
- Normal main loop with events etc, current one is a quick crappy hack
- Implement pairing by OTP. Required for receiving configuration from the phone.
- Write a binding using the library
- Testing against other products, like LivingConnect
Help is desperately needed.
(1) largely solved by now, (2) is in progress, currently for Windows only. I like VisualStudio.
Great job! I would love to help out but I only own a single Danfoss thermostat (since I discovered that zwave was no longer possible) and no Living Connect controller.
Implemented (1) and (2) and back to reverse engineering. Dealing with pairing now. And UNIX version is up and running again.
Pairing is almost done. Connecting and establishing the link successfully, but there is one more step required for the peer to accept me and start data exchange; itās some challenge-response crypto mumbo jumbo. And i have almost understood it from the disassembly.
Great job! Looking forward to testing this
Iāll make it soon. Yesterday (or today at 1:40AM the authentication reported success
Now need to add configuration receive code from my old testapp to test it all together.
Then there will be some more polishing like adding missing PING packet, so that the grid doesnāt drop me because of inactivity.
The first fully working version is on github. Successfully pairs and downloads the configuration.
At the moment the only application for this library is a small crudely hacked up testapp. This or next week i need to set up OH development environment and try to do something like a binding
And library API needs some polishing, plus thereās no ping yet, the grid times out.
Cleaned up API and fixed some (major) bugs. Ping is the only remaining thing
The library has finally reached v1.0.
At this point i am stopping playing with the test app. Set up Eclipse and will start my binding next week.
Sounds promising
How is it going? Super excited for this!
Hi! A bit slow, christmas is coming, itās a party week now.
Wrote some skeleton in Java and fighting with embedding my library in a Java project. I donāt have too much experience with Java; used it mostly on Android, Maven build system and OSGI are totally alien for me.
Fortunately i can look at how rfxcom binding is made, they also have native code.
Today is the official birthday of the new binding. It went ONLINE.
With āstolenā keys, however. Configuration sharing process is difficult to integrate into OpenHAB, will do something later.
Niceeeeeee. Is there anything to test yet?
Not yet, after the NY i guess. Coming close to that, implementing the first set of channels right now. Flying to London on saturday for vacation till 30th December, so there will be a pause.
Have nice vacation! Canāt wait to see a DEVIreg binding (weāre on our way to London in Januaryā¦)
Yeah, London is great!
So iām back to the development now and iāve got something running and successfully controlling my thermostat. I even plan to deploy it on my 2.4 live installation to see how itās going in production.
But, i guess, i need to do some stability fixups before. Currently if connection fails for whatever reason the binding wonāt go back ONLINE automatically once the link has been restored.
Unfortunately itās not ready yet for public testing because setting up is quite nontrivial. You need to use some external tool (currently i use my OpenSDG testapp) in order to āhijackā all keys from your phone. Itās impossible to connect to the device directly from scratch.
Working on integrating this into openhab, but this is not trivial because OpenHAB currently does not implement āparametrizedā device discovery. Iāll have to use an external tool anyways.
It has been a productive new year holiday.The binding is online and successfully deployed on my installation. After some bugfixing it all seems to be good.
Now iāll be working on some external tool to facilitate configuration download from the phone, after which iāll open up a public testing.