Comments (10)
Score sensor is added in 12.5.0
from ble_monitor.
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.
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.
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.
{'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.
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.
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.
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.
@Ernst79 Thanks a lot for adding the Score as a separate entity. Is the duration still in scope?
from ble_monitor.
Could you create a new issue for that? I normally forget to look at closed issues over time.
from ble_monitor.
Related Issues (20)
- [Bug]: Add option for devices becoming unavailable after x minutes have passed? HOT 1
- [Bug]: Stopped working (integration not loaded), cannot reinstall (Config flow could not be loaded) HOT 3
- [New Sensor]: Teltonika EYE sensor HOT 6
- [Bug]: Entity is using native unit of measurement 'None' HOT 8
- [Query] High CPU usage when using Passive BLE HOT 2
- [Bug]: Exception importing custom_components.ble_monitor HOT 1
- [Bug]: The component cannot run in HA HOT 1
- [Documentation]: Fail to install bluepy (missing libglib2.0-dev) HOT 1
- [Bug]: pycryptodomex HOT 6
- [Feature Request]: Backport Private BLE Device into Passive BLE Monitor HOT 2
- [New Sensor]: Brushing duration for k0918.toothbrush.t700 & k0918.toothbrush.t700i
- Add name to diagnostics
- [Bug]: HHCCJCY10 only updates once an hour HOT 16
- [Bug]: All Xiaomi stopped sending their data at the same time HOT 3
- Can't get token of a YLKG07YL with the script HOT 2
- [New Sensor]: add support for PTX BLE Wireless Switch 090615.remote.btsw1 HOT 7
- Anki (Over)Drive HOT 1
- [Bug]: UnicodeDecodeError HOT 4
- [New Sensor]: Grundfos MI401 HOT 17
- The sensor's value update very slow, request a debug method HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ble_monitor.