Giter Club home page Giter Club logo

Comments (4)

zewelor avatar zewelor commented on August 24, 2024

I would guess its either old bluez ( https://github.com/zewelor/bt-mqtt-gateway/wiki/Upgrade-Bluez-on-Raspbian ) or / and try to run as root ( I think not every bt operation is supported from user )

from bt-mqtt-gateway.

lwestenberg avatar lwestenberg commented on August 24, 2024

it's not an issue with old bluez in this case. Do you maybe have an example somewhere that uses getServices(). I think that it breaks because the next update cycle is before getServices() finishes.

What makes the Medisana scale integration a bit more challenging is that it:
connects to the ble device and should wait for a very long time (30-50 sec) to collect all handle data. After that it processes the combined output.

from bt-mqtt-gateway.

Caroga avatar Caroga commented on August 24, 2024

Funny, I was trying to find a upgraded version of the BS440 python script and managed to find this repo. I'm interested in you achievements on this @westenberg. Did you managed to get this working with Medisana products?

from bt-mqtt-gateway.

lwestenberg avatar lwestenberg commented on August 24, 2024

Yes, I had it working long time ago with Bluetooth scripts in bash but eventually didn't continue because of other priorities. The issue with by-mqtt-gateway were the timeouts. You have to wait for about 30 sec to get all the data from Medisana scales.

Perhaps I will continue with this in the future but I think it will become more of a ESP32 Bluetooth solution or Home Assistant integration than by-mqtt-gateway.

from bt-mqtt-gateway.

Related Issues (20)

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.