Comments (16)
Hi,
@jaxter0ne Could you try to get it work with: https://github.com/petergullberg/brewbutton#brewbutton-in-the-browser
Check the browser sample in chrome, if that works it should work too using the plugin.
My first guess is maybe the token is wrong?
Thanks,
Thom
from homebridge-brewer.
Thanks for your reply! I encounter the same problem with the brewbutton.
I'm quite a newbie and have tried multiple times to get the token and I've got the same result each time. Do you have a real step by step way to retrieve it using a Mac, iPhone, Android phone? (I just don't have a PC)
Thank you very much!
from homebridge-brewer.
@jaxter0ne unfortunately it is quite hard to get the token. I added a guide to the Readme, I know its technical but this was for me the easiest way with just a Mac and an Android device: https://github.com/tritter/homebridge-brewer#token
from homebridge-brewer.
Do you paste the hexdump command line inside the Terminal on the mac or elsewhere? I can't seem to be able to make that command work...
from homebridge-brewer.
Hi @jaxter0ne sorry for my late reply. Yes I think I used a Mac for that, but hexdump should be available on linux too.
from homebridge-brewer.
Thanks for your answer.
This is what I get:
0B 00 04 00 12 14 00 83 AE B5 5A 12 84 24 98
0B 00 04 00 12 14 00 83 AE B5 5A 12 84 24 98
So my token should be: 83-AE-B5-5A-12-84-24-98
Right?
But it still doesn't work...
from homebridge-brewer.
Oh and this is how the plugin is configured on HomeBridge, if maybe it's not configured correctly:
{
"machines": [
{
"displayName": "Nespresso",
"name": "Expert_CDD376ED07FE",
"token": "83-AE-B5-5A-12-84-24-98",
"temperature": "High"
}
],
"platform": "Brewer"
}
]
from homebridge-brewer.
@jaxter0ne exactly looks good! Do you run on a raspberry do you have more Logs? Browser also didn't work for you? (https://github.com/petergullberg/brewbutton#brewbutton-in-the-browser)
Also make sure your phone is not connected to the machine (repower machine) as it can only have one connection at a time.
from homebridge-brewer.
It doesn't work in the browser either. This is what I get:
Requesting Bluetooth Device...
Connecting to GATT Server...
Getting Service...
Getting Characteristic...
established auth characteristic?
Writing Auth
authenticated
Notifications started
Reading status
Connected
Argh! NotSupportedError: GATT operation failed for unknown reason.
And then if I unplug and plug the machine again, this is what I get:
Requesting Bluetooth Device...
Connecting to GATT Server...
Getting Service...
Getting Characteristic...
established auth characteristic?
Writing Auth
authenticated
Argh! NotSupportedError: GATT operation failed for unknown reason.
from homebridge-brewer.
@jaxter0ne Hmm is this maybe a newer version of the expert? :/ Are you sure its an expert? ;)
from homebridge-brewer.
Well yes it is an expert, I bought it second hand because it's not sold by Nespresso anymore.
Maybe European models are different?
from homebridge-brewer.
Almost think so, do you understand bluetooth a bit? It looks like you're authenticated correctly but the gatt services have an error. Could you try a bluetooth scanner or change the browser site to read your characteristics?
You should find/change ids like these: https://github.com/petergullberg/brewbutton/blob/f907f4779a79ec822358f9eb12f0d480ca149060/brewbutton.html#L77
In the BLE Snoop you should also find them, at leas the authentication should be the same: "06aa3a41-f22a-11e3-9daa-0002a5d5c51b"
from homebridge-brewer.
Hm no I have no idea how to do that unfortunately. Could I send you my btsnoop_hci.log file so you can look it up maybe? Or if you can walk me through it I can try.
from homebridge-brewer.
@jaxter0ne yes brew a coffee and send that snoop log, that should usually contain all data. Thanks for your patience.
from homebridge-brewer.
This is the latest one I did. Please tell me if you need a new one.
Thank you so much for your help!
from homebridge-brewer.
@jaxter0ne updated dependencies, may be fixed now.
from homebridge-brewer.
Related Issues (13)
- Capsule count HOT 35
- Plugin Error HOT 11
- Keurig support HOT 1
- Link to package bluetooth_hci_socket-0.5.3-10-node-v108-linux-arm.tar.gz is no longer valid HOT 1
- Not connecting to Expert&Milk despite being picked up in Bluetoothctl HOT 7
- Machine disconnected HOT 10
- Working in Conjunction With Other Noble/Bluetooth Devices on The Same Pi/Homebridge HOT 1
- Wifi support HOT 2
- Nespresso Vertuo Next HOT 3
- brewer and Monterey HOT 4
- Error to install the plugin HOT 10
- Token generation not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-brewer.