Giter Site home page Giter Site logo

Comments (10)

Ernst79 avatar Ernst79 commented on June 9, 2024 1

Score sensor is added in 12.5.0

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 9, 2024

I had a look, but it says that the data is encrypted. Can you send me the bind key of one of the toothbrushes?

from ble_monitor.

mihsu81 avatar mihsu81 commented on June 9, 2024

I had a look, but it says that the data is encrypted. Can you send me the bind key of one of the toothbrushes?

I didn't know whether you needed them or not. Here they are:

   BLE KEY:  1330b99cded13258acc391627e9771f7
   MAC:      ED:DE:34:3F:48:0C
   MODEL:    k0918.toothbrush.t700
   BLE KEY:  3d188a61a5a1186ba07c91338fc8dec8
   MAC:      E2:D1:09:38:40:42
   MODEL:    k0918.toothbrush.t700i
   BLE KEY:  7beae204dfd2646fc71b9ddbdfafee82
   MAC:      F1:C5:01:D4:6C:F2
   MODEL:    k0918.toothbrush.t700i

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 9, 2024

Thanks, I started with a PR to add this, but it is based on some guessing. Adding a test is always good :smile thanks.

I will create a beta asap.

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 9, 2024

{'rssi': -58, 'mac': 'EDDE343F480C', 'type': 'T700', 'packet': 201, 'firmware': 'Xiaomi (MiBeacon V5 encrypted)', 'data': True, 'toothbrush': 0, 'end time': datetime.datetime(2023, 6, 29, 12, 50, 43), 'score': 83}

Thanks, it works!

from ble_monitor.

mihsu81 avatar mihsu81 commented on June 9, 2024

Thanks a lot @Ernst79. It works fine.
Would it be possible to create 2 more sensors, one for the score and one for the duration?

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 9, 2024

Score is already an attribute of the toothbrush sensor. But if you want, I can make a separate sensor of it.

Duration is a bit more difficult, as I have to subtract starttime and endtime messages, and store them in the meantime, but I can give it a try later.

from ble_monitor.

mihsu81 avatar mihsu81 commented on June 9, 2024

Score is already an attribute of the toothbrush sensor. But if you want, I can make a separate sensor of it.

Duration is a bit more difficult, as I have to subtract starttime and endtime messages, and store them in the meantime, but I can give it a try later.

Thanks a lot. I think having the score as a separate entity would make more sense because it's the main thing to display, especially for kids to make them more interested in brushing their teeth. 😁 Also the time they spent brushing their teeth.

from ble_monitor.

mihsu81 avatar mihsu81 commented on June 9, 2024

@Ernst79 Thanks a lot for adding the Score as a separate entity. Is the duration still in scope?

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 9, 2024

Could you create a new issue for that? I normally forget to look at closed issues over time.

from ble_monitor.

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.