Git Product home page Git Product logo

Comments (4)

zweckj avatar zweckj commented on June 23, 2024 1

Unfortunately no (or at least not yet), that's something I'd like to have as well. I assume that is only happening through the local streaming API. But I still couldn't find out how the local API works...

from lmcloud.

zweckj avatar zweckj commented on June 23, 2024 1

Sounds great! Do you see a lag in when this information is sent or is it near real time? I mean a second doesn't really matter that much but 5 would be critical. On the other hand, the LM App also manages to get the time quite quick (if it works occasionally...) ;-)

The information is as real time as the LM App gets it (and I should theoretically even be able to access it more reliably). I still need to figure out how the apps sends commands to the machine in streaming mode, before I can really implement that though...

My idea was to combine your code with this one: https://github.com/lucapinello/pyacaia Run it on a Pi Zero or something like that can be connected via bluetooth to the Acaia and then call the scale.startTimer() and scale.stopTimer() from the pyacaia repository

Thanks didn't know this repository. That looks very interesting. Maybe put a webserver around it and call a generic scale HTTP endpoint from the lamarzocco intergration. Will think about it.

from lmcloud.

zweckj avatar zweckj commented on June 23, 2024

This would be great to integrate it with a scale like the Acaia

I looked into it a bit. I found a way to access, the timer but even if I get the timer from the Machine, integrating it with Acaia won't be possible, as they only support mobile SDKs (Android & iOS) for connections.
Not sure where I could display this info in HA so it would still be useful.

from lmcloud.

ilpantera avatar ilpantera commented on June 23, 2024

Sounds great! Do you see a lag in when this information is sent or is it near real time? I mean a second doesn't really matter that much but 5 would be critical. On the other hand, the LM App also manages to get the time quite quick (if it works occasionally...) ;-)

My idea was to combine your code with this one: https://github.com/lucapinello/pyacaia
Run it on a Pi Zero or something like that can be connected via bluetooth to the Acaia and then call the scale.startTimer() and scale.stopTimer() from the pyacaia repository

from lmcloud.

Related Issues (5)

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.