tikismoke / home-assistant-nespressoble

#deprecated see Readme to migrate to a better one. NESPRESSO ble Home Assistant custom componenets and also a 2MQTT script
GNU General Public License v3.0
38 stars 6 forks source link

ESpHome Proxy Bluetooth #12

Closed leovj closed 11 months ago

leovj commented 1 year ago

Hi tikismoke, if I use BLE Client for Esphome, do you think the integration will work? Where could I specify to use this device?

Thanks

tikismoke commented 1 year ago

Sorry have no idea at all how to do that 😔

leovj commented 1 year ago

Using ESPHome Bluetooth Proxy to connect to the machine, is there a way to change where the integration goes to read the bluetooth data? No on the USB dongle, but on ESP32..

tikismoke commented 1 year ago

Certainly but I do not know where neither how to do that. As already said I do no more work on this as I own no more a compatible lachine

rucanunes commented 1 year ago

Will this work on a Nespresso VERTUO Next?

tikismoke commented 1 year ago

If it has Bluetooth connection it should. The communication with the machine is the same on all of them.

rucanunes commented 1 year ago

I still don't know how to get this "resource: 8287ee82593d3c4e". My native language it's not English. Is there a step by step tutorial on how to get that number?

Thank you!

tikismoke commented 1 year ago

I still don't know how to get this "resource: 8287ee82593d3c4e". My native language it's not English. Is there a step by step tutorial on how to get that number?

Thank you!

https://gist.github.com/farminf/94f681eaca2760212f457ac59da99f23

https://github.com/tritter/homebridge-brewer#token

https://github.com/petergullberg/brewbutton#retrieve-auth-key

👍

rucanunes commented 1 year ago

I installed and run the Nexpresso app on a tablet. I could see all that the machine was doing in the app with "Enable Bluetooth HCI snoop log" ON. After I brew a coffe I stopped "Enable Bluetooth HCI snoop log". I can't find the "btsnoop_hci.log" file anywhere!! Damn!!

What am I doing wrong? I used it with and without an SD card and I was on Developer Mode".

rucanunes commented 1 year ago

I just realized why my machine doesn't record BT. It's connected to the wifi network. Is there a way to get the token via wifi?

catduckgnaf commented 1 year ago

hexdump -v -e ‘/1 "%02X "’ /mnt/user/media/btsnoop_hci.log | grep -o '0B 00 04 00 12 30 00 <… … … … … … .

. …>’

tikismoke commented 11 months ago

@leovj @rucanunes @catduckgnaf @soundch3z

Try this repo it's also using ble ha proxy:

https://github.com/bulldog5046/ha_nespresso_ingetration