Giter VIP home page Giter VIP logo

Comments (16)

tritter avatar tritter commented on July 20, 2024

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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

@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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

@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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

@jaxter0ne Hmm is this maybe a newer version of the expert? :/ Are you sure its an expert? ;)

from homebridge-brewer.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

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.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

@jaxter0ne yes brew a coffee and send that snoop log, that should usually contain all data. Thanks for your patience.

from homebridge-brewer.

jaxter0ne avatar jaxter0ne commented on July 20, 2024

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.

tritter avatar tritter commented on July 20, 2024

@jaxter0ne updated dependencies, may be fixed now.

from homebridge-brewer.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.