Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling info #1

Open
WladyX opened this issue Jul 12, 2021 · 6 comments
Open

Compiling info #1

WladyX opened this issue Jul 12, 2021 · 6 comments

Comments

@WladyX
Copy link

WladyX commented Jul 12, 2021

Hello,
Thank you for publishing this, i would like to try it out on my R1 PRO, i think it should work, can you please provide some info on how to compile? I'm on Ubuntu by the way.
Thanks again,
Vlad

@DorianRudolph
Copy link
Owner

I added build instructions. I don't use Ubuntu, so I cannot test, but I think you will need the packages qtbase5-dev, qtconnectivity5-dev (see https://askubuntu.com/a/577334/522982), also gcc, make, cmake.
Let me know if it works for you.

@WladyX
Copy link
Author

WladyX commented Jul 12, 2021

Perfect, thank you! You pointed in the right direction.
I was able to compile with the following:
sudo snap install cmake --classic (cmake from apt repo in 20.04 is old)
sudo apt-get install qtbase5-dev libqt5bluetooth5 qtconnectivity5-dev [not sure if libqt5bluetooth5 really needed]
The app run ok.
Didn't test today if it actually works with my R1 PRO, but will report back once i test it.
Thanks again!

@WladyX
Copy link
Author

WladyX commented Jul 13, 2021

As expected seems to work perfect with my R1 PRO.
Thank you @DorianRudolph ! Where can i donate? :)

@WladyX
Copy link
Author

WladyX commented Jul 15, 2021

Seems I spoke too soon, it now connects, i can start it, but i got no info, from the logs i see:
qt.bluetooth.bluez: Cannot initiate reading of "{0000fe01-0000-1000-8000-00805f9b34fb}" of service "{0000fe00-0000-1000-8000-00805f9b34fb}" "org.bluez.Error.NotPermitted" "Read not permitted"

@DorianRudolph
Copy link
Owner

Great that you enjoy my program :)

I also get that message. It seems to be triggered by the service->discoverDetails(); call, even if I don't try to read anything (so maybe a Qt bug?).
Could you clarify "i got no info"?
If you start walking, does the "statistics" panel show the current speed and walked time, steps, and distance? Note that you need to set a data path in the settings menu if you want the statistics to accumulate multiple runs.
Does the speed slider update when you change the speed with the remote?
Is the start speed (speed of the walkingpad when turning it on with the remote) set correctly after connecting?

@WladyX
Copy link
Author

WladyX commented Jul 16, 2021

Today it seems to work, but what happened is that it connected, i could use the start button to start the belt, but all stats where 0.
Also first time this happened it was after a run session I took a break and then when i started again the next session the stats would not populate. If it happens again i'll try to give you more info to be able to try and replicate.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants