oliexdev / openScale

Open-source weight and body metrics tracker, with support for Bluetooth scales
GNU General Public License v3.0
1.68k stars 292 forks source link

Add support for Wii balance board #339

Open XavierTolza opened 5 years ago

XavierTolza commented 5 years ago

Hi! could you add support for the wii balance board? Its a well known hardware, I tried to implement it myself but I could get the android studio running.

oliexdev commented 5 years ago

Why isn't your Android studio working? See https://developer.android.com/studio/intro/

tomassenabre commented 5 years ago

I am also interested in using the Wii balance board with Openscale. However, I do not have the knowledge to do it. I think a lot of people have a Wii balance board stored in a closet and it's a good idea to recycle this device.

I have searched for information and I have found how Claude Garrett uses a Raspberry PI to put his weight on the cloud with AWS. Use a python script to read the data on the Wii balance board. I leave the link here in case someone with more knowledge helps.

Wii Balance Board Cloud Scale Thanks for your work

oliexdev commented 5 years ago

I did a little research. The calculation is not the problem, as you wrote the hardware is well known. There is even an open-source Android App by paulburton https://github.com/paulburton/fitscales The problem is that the wii balance board is using Bluetooth 3.x with the l2cap protocol. openScale uses only the newer Bluetooth 4.x which is not downwards compatible. We have to implement the Bluetooth 3.x routines into openScale to do the communication. Unfortunately, in Android version > 4.2 Google removes the l2cap protocol in Android which is needed. :/ All in all it is possible if anybody are willing to take the effort to implement it for a new Android version.

edit: there is another implementation in .net @ https://github.com/schellingb/WiiBalanceScale

tomassenabre commented 5 years ago

Thank you Oliex for your response and your interest. Unfortunately I do not have the necessary knowledge to make the implementation that you comment on. We will wait in case someone wants to help us

SamSnead commented 5 years ago

Hoffe, ich kann auch in deutsch etwas schreiben.

Ich suche eine App, die mit dem WII Balance Board kommuniziert, aber nicht nur das Gesamtgewicht anzeigt, sondern die jeweilige Belastung des linken und rechten Fusses. Bin auch bereit, für die Entwicklung zu zahlen.

oliexdev commented 5 years ago

Also ich verstehe auch Deutsch aber wahrscheinlich die anderen nicht ;) Eigentlich wurde bereits alles in https://github.com/oliexdev/openScale/issues/339#issuecomment-433680792 gesagt. Für was willst du die Wii Balance denn genau benutzen?

SamSnead commented 5 years ago

Ich brauche eine Waage für medizinische Zwecke, die die Belastung (Gewicht) einer Person aufteilt in linker und rechter Fuss. Das Wii Board wäre perfekt dafür plus eben eine App, die das Gewicht links/rechts getrennt anzeigt.

oliexdev commented 5 years ago

Muss es eine App sein? Sonst würde ich sagen benutze https://github.com/schellingb/WiiBalanceScale

Michuelnik commented 3 years ago

I just read that Android Q (aka Android 10) brought back L2CAP...?

Rudy-MS commented 1 year ago

I would like to also voice my support in getting the Wii Fit board to work with OpenScale.

The hardware is pretty much everywhere(Thrift Stores, Flea Markets & Garage Salea).

Its also pretty cheap these days.

Espionage724 commented 1 year ago

I'd also be interested in balance board support! I saw this in F-Droid and thought to look into this before downloading it.

I dont know if I could get the board connected to my LOS 20 phone, but if I managed to hack it up somehow I'd need an app to use with it.

Liriel-666 commented 5 months ago

I would be for support of it. The old android app doesnt work anymore and tge only otger way is windows

LittleTale commented 2 months ago

Any news on integrating the Wii Balance Board ? The windows app works great. But it would be super useful to just step on it and check everything on your phone ! 🤳🏼