-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeLonghi Coffee Link Adapter #664
Comments
Zusatzinfo: (Zumindest meine Maschine) kann per BLE angesteuert werden. Erste Entwicklungen habe ich bereits, aber die Zeit... 😅 |
push |
@zonkAK Where you want to push it to? |
into the capable hands of a developer (and coffee fancier) who wants to tell his/her Alexa to make the Delonghi brew some coffee while crawling out of bed :-) |
I'll have more time in ~3 months, planning to work on this again then. |
Sounds great :-) Thank you! |
Hi coffee friends (like @AlCalzone and @ldittmar81), as a new owner of a "DeLonghi Primadonna Soul" I wish to make my initial contribution to a possible DeLonghi coffee machine adapter for iobroker. Situation:
Approach: Proposed steps and initial hints to have more insights into the existing API:
I hope my input helps a bit to find a skilled iobroker enthusiast with enough patience and passion to push things towards an adapter. Looking forwards to your feedback, additions and corrections! |
@th4git I currently don't have the capacity to continue with this project. Also, my machine is communicating with the App via Bluetooth, not WiFi, so my previous work would be of little help for the HTTP API. Maybe the commands are encoded similarly, if anyone needs the ones I've figured out (from decompiling the App), let me know. |
Is there anyone who wants to take care of this now? |
Some updates of this ? |
I believe it's not, it's by error. |
Hello, |
Hello, Authenticatingthe authentication to the API is a 2 steps process:
Extracting dataMy main purpose would be to monitor the status of the coffee machine. The thing is that most of the information about the status is aggregated in the 'd302_monitor' entry. Looking into the APK helped me a bit decyphering the data from 'd302_monitor', but it's still a work in progress. Just a short addition here, in case it can help someone to go further. |
Very nice ! Did you see any chance to directly talk to the coffee machine, through its local IP ? Mine seems to have an open http port. |
As a mater of fact, there is some important local trafic, which seems to include all actions sent to the machine. I was able to capture a bit of it, but everything is encrypted using some RSA keys shared at some point. The traffic is based on Ayla solution, so I think that understanding the Ayla protocol will be necessary to move further: https://content.aylanetworks.com/Archive/Ayla-Mobile-SDK-Developers-Guide.pdf To be followed |
Well, another update on my debug. Here is basically the process to do so:
This is how far I have been able to push for now. I should now be able to debug further and send commands to the machine... To be continued... |
Ahaa, getting closer to the Graal... So, I found that the commands.json call could return 3 types of messages to command the machine:
This asks the machine to return the value of the requested property (d302_monitor here)
I don't know yet the usage for this command
This asks the machine to exectute the command xxxxxxxxx. It seems that these commands follow the same syntax as bluetooth signals. I'll now need to wait a bit to get thirsty in order to try the different coffees and get the values. :) |
Nice progress @duckwc ! |
Well here is a small python code that I wrote. webserver.txt
I'm not a developper, so the code does the job, but is awful. Sorry about it... If someone with better coding skill than me is interested to take over from here, that would be very nice. |
Well, it seems the turn on signal doesn't work anymore. I'll need to figure out the trailing I guess... |
If any testing is needed I’m happy to run some tests. Unfortunately I have an iOS device so tracing is a pain. |
Wow! It's great that there are people who also want to be able to operate our coffee machine! I really want to help, but I don't know how |
Little addition: the power_on signal bits are 0x0d07840f02015512, and the trailing 0x65cb8f7c seems to simply be the current timestamp. |
For those interested in testing and completing the tool, I created a small repository here: https://github.com/duckwc/ECAMpy |
What kind of device or service you would like to see an adapter for?
De'Longhi Primo Donna Soul über Coffe Link App.
https://play.google.com/store/apps/details?id=it.delonghi&hl=de&gl=DE
Is an official API including documentation is available?
Nein, noch nichts gefunden
Are other libraries for an integration available?
Nein
Is this device already integrated in other Smart Home systems?
Nein
Is this device already integrated in homebridge? Might the ham adapter together with the homebridge plugin be sufficient?
Nein
Additional context
Kleiner Thread zum Adapterwunsch.
https://forum.iobroker.net/topic/45069/de-longhi-kaffeemaschine-mit-iobroker-starten?_=1631533653272
The text was updated successfully, but these errors were encountered: