Giter Site home page Giter Site logo

Python 3.10 compatibility about avea HOT 1 OPEN

k0rventen avatar k0rventen commented on June 2, 2024
Python 3.10 compatibility

from avea.

Comments (1)

k0rventen avatar k0rventen commented on June 2, 2024

Hi Sören,

unfortunately there is nothing I can do regarding the bluepy lib..

I am aware of the bleak (https://pypi.org/project/bleak/) library that could replace bluepy for the BLE transmission, but that would require significant effort, and breaking changes regarding the avea module itself (a v2 with explicit new dependencies)

I'm not using the lib anymore, and i'm not quite sure i have still a bulb laying around, but if you're up for the task, i think we could give it a try 😄

From what I can see the main changes would be:

  • moving to async,
  • using this class for scanning in discover_avea_bulbs()
  • using this method instead of writeCharacteristic().

as the reverse engineering and logic is already done, it's not the end of the world, but i'm not that acquainted with async programming in python..

Let me know if you could help, i'll search my bulbs, and we'll make this work 👍

from avea.

Related Issues (9)

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.