I tried to follow these steps but it didn’t work
I notice that everytime on the app we start communicating with the machine (brew or monitor or just oppening machine tab) it starts the conversation with a packet that has “8” at the start of its value and has 16 characters (mine was 85c55bc324a4170b) and it is writting on the 4th characteristic of the service 06aa1910f22a11e39daa0002a5d5c51b .
tikismoke
(tikismoke)
July 10, 2020, 4:29pm
42
Brewbutton (Android (ESP32) & Browser Web Bluetooth)
====================================================
The nespresso expert is a piece of shit and the app even more. So this project aims to replace the mobile app, and allow you to brew your own stuff. The only reason I started banging my head on this BLE protocol, was that the default "lungo" on the front dial added too much water, making it undrinkable, and to overcome the crappy App and the Crappy default settings on the machine.
I have also contributed a little to the reverse engineering of the protocol, see below.
As a base I started with the insights from: https://gist.github.com/farminf/94f681eaca2760212f457ac59da99f23
The brewbutton Android
----------------------
The android brew-button is a simple device with a piece of code that connects to an nespresso machine, and when triggered by the IO PIN, it will send a simple brew command. Right now, it's hard-coded to a 130ml coffee recipe brew.
My idea is to have a small brew button that can brew my morning coffe the way I want it.
Brewbutton in the browser
-------------------------
the Brewbutton html allows you to brew your coffee directly from the browser. It uses the Web Bluetooth API and does not require any installation or coding to make it work. You only need to get your AuthKey for your machine (See below). I have tested it with Chrome on W10, MAC and Android, and BlueFy for iOS. You should be able to test it right away, directly in browser.<br>
https://rawgit.com/petergullberg/brewbutton/master/brewbutton.html
Once you have found your authKey you can add it to the URL, so the script uses that key:<br>
https://rawgit.com/petergullberg/brewbutton/master/brewbutton.html?authKey=PutYourAuthKeyHere<br>
Your authkey should be 8 hexadecimal bytes without space<br>
This file has been truncated. show original
Sounds not the good service… Auth key Should be write to 06aa3a41-f22a-11e3-9daa-0002a5d5c51b
tikismoke
(tikismoke)
July 10, 2020, 4:31pm
43
Craps didn’t read correctly…
It’s ok you got it
So it will be easy now just follow the example in the repo doc.
You could also just try the Nespresso2mqtt.py script to test.
Hello, good morning, I got my machine authentication key and it’s working. I tested it through this site https://rawgit.com/petergullberg/brewbutton/master/brewbutton.html , now how do I do it in the home assistant? I already installed the component but this message comes.
tikismoke
(tikismoke)
July 12, 2020, 3:29pm
45
Seems your conf is not validate or not correctly installed.
For conf just copy/paste/change the example one here:
- platform: Nespresso
mac: d2:12:f1:7b:cd:6d
resource: 8287ee82593d3c4e
scan_interval: 30
Did you restart HA after installing it.
tikismoke
(tikismoke)
July 12, 2020, 4:14pm
49
Seems all is ok…
Could you tail -f /home or var or what you use/…/homeassistant.log when restarting ha and see if logs are more verbose?
tikismoke
(tikismoke)
July 12, 2020, 4:15pm
50
To be sure does your hass machine is not far away from the machine?
tikismoke
(tikismoke)
July 12, 2020, 4:16pm
51
As say to other remember to close any apps that are connected to the machine as those do not handle multiple connection.
the machine is really far, but still shouldn’t it give a valid configuration?
tikismoke
(tikismoke)
July 12, 2020, 4:43pm
53
Could you details your installation?
hassOS/venv/other
Ha version.
I’ll have a look tomorrow if time allows it to me.
I’m still in .111 not 112 yet maybe issue with this since I haven’t test it.
Long range seems to have be an issue for somes but as you said not for validation, only by usage.
tikismoke
(tikismoke)
July 12, 2020, 4:45pm
54
To test the range try the mqtt script on root of the repo. It will create mqtt tree/value and will tell you if the distance will be a problem.
You have to adapt mqtt parts, Mac and key.
tikismoke
(tikismoke)
July 12, 2020, 6:31pm
57
@bubez81 did you have seen those error in configuration through hassOS?
bubez81
(Michele Galanti)
July 13, 2020, 6:15am
59
nope…I’ve put this:
- platform: nespresso
mac: c3:85:81:8c:9b:d7
resource: 8f1431182572a4fa
scan_interval: 30
in my sensor.yaml and integrated it in configuration.yaml:
sensor: !include sensor.yaml
tikismoke
(tikismoke)
July 13, 2020, 8:02am
60
So it’s in sensor part ok.
Don’t understand except the Nespresso instead of nespresso
@Rafael_Zulkiewicz could you try with a little ‘n’ maybe it is case sensitive?
If it’s that could you open an issue on GitHub so that I didn’t forget it?