Comments (1)
You have to write a value to 4120 to enable output on 4130. Depending on what you write to 4210, you get different outputs:
I also looked into this one and implemented it into the GUI (that I did not document very good): https://github.com/joushx/python-sonicare/blob/main/examples/gui/sensor/sensor.py#L46. Now I added instructions to the README.
2: unknown values. They change sometimes, but I cannot find when or how, or any meaning
This one looks like a temperature value in degrees Celsius for me.
1: pressure data: 5th and 6th byte output a signed integer, positive if you press on the brush (the normal force when you brush your teeth), negative it you pull the brush up. 7th byte has a value of '2' if you exceed the recommended pressure. Only streams this when the brushing is active.
I know that there is the pressure and some kind of alarm, but I think I somehow broke it in the code...
8: grip strength: 5th byte indicated how strong you hold the body. Around 100 if you don't touch it, around 160 is you squeeze it. Other bytes seem to be some kind of moving average, and other related values I cannot identify. These values regardless of brushing active of inactive.
That is very interesting! I think my brush cannot measure that. Feel free to integrate it into the GUI if you want.
from python-sonicare.
Related Issues (2)
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 python-sonicare.