aelveborn / Wii-Scale

Turns your Wii Balance Board into a scale and presents your weight on a responsive website. Runs Linux and works on your Raspberry Pi.
http://aelveborn.github.io/Wii-Scale/
GNU General Public License v2.0
116 stars 27 forks source link

Python 3 version #39

Closed VerheeckeLorenzo closed 5 years ago

VerheeckeLorenzo commented 5 years ago

Hey there, i was interested to make this project, but my way. I'd like to use the board with flask and thus python 3, not python 2. I searched my a** off to find a library or anything that can help me to connect the board to my raspberry pi, in PYTHON 3. Do you know any libraries / ways to solve this? :(

mo-g commented 5 years ago

Python is no longer used at all. This daemon is now built solely in C and node. Sorry!

bsimmo commented 5 years ago

If you look in the other branches, one of them has the three or so old python files? It's a shame the Python version wasn't kept up on GitHub and the C started as a seperate project.. I can work with python far easier.

On Wed, 15 Aug 2018, 23:05 Gray Marchiori, notifications@github.com wrote:

Python is no longer used at all. This daemon is now built solely in C and node. Sorry!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aelveborn/Wii-Scale/issues/39#issuecomment-413353321, or mute the thread https://github.com/notifications/unsubscribe-auth/ALALt_FufCoyVUT-_Hmg_bzlJSoeXHakks5uRJsfgaJpZM4VOpws .

aelveborn commented 5 years ago

The python version had issues regarding the bluetooth stack and pairing. It was essential to go over to C. I'm not a C-coder my self either so the community is really helping me out here. But the dev branch should still have an updated version of the python code in it - you could use that branch.

sahoahfoa commented 5 years ago

I believe there is a fork by WisdomWolf that has added pairing and a few other bluetooth tidbits, but I haven't tried so I don't know if it stable/reliable. Also it's only Python 2, but it should be trivial to update it to Python 3.

aelveborn commented 5 years ago

Oh, I didn't know that, maybe that could work :)