tijmenvangulik / Ergometerspace

Documentation for ergometer-space
https://ergometer-space.org
Other
19 stars 7 forks source link

Testing running in Chrome under Linux #21

Closed neural-loop closed 3 years ago

neural-loop commented 4 years ago

I have a raspberry device that runs chrome and after setting the beta features flag, was able to 'connect' to the rowing machine. However, I think that it wasn't communicating. I'm opening this ticket, as I will attempt this again to see if it maybe works.

If it doesn't work - possibly we can debug a little bit to identify what the difference is in the browser API that communicates with USB/bluetooth devices between linux and windows.

In my setup, I have a small 12 touch screen monitor that has the raspberry pi mounted to the back of it, and so it would be nice to kind of make it a standalone setup for recording the rowing sessions

tijmenvangulik commented 4 years ago

Hi ,

I have never tried the linux or the pi (just only windows , mac os and android). I googled a bit on this subject. To get blue tooth working in chrome on linux there are some pre conditions:

https://acassis.wordpress.com/2016/06/28/how-to-get-chrome-web-bluetooth-working-on-linux/ https://acassis.wordpress.com/2016/06/28/how-to-get-chrome-web-bluetooth-working-on-linux/

It is possible for me to also do a electron / linux build. But this wil not fix any blue tooth issues because it uses the same chome web blue tooth stack as the browser.

You can also think about installing android on your raspberry pi. I think this may make it a lot easier for you. (And maybe also for the end users because android is good with touch screens ) I have supported android fro quite some time.You can download it from the google play store.

https://magpi.raspberrypi.org/articles/android-raspberry-pi https://magpi.raspberrypi.org/articles/android-raspberry-pi

Tijmen

On 16 Jun 2020, at 20:46, Justin Riddiough notifications@github.com wrote:

I have a raspberry device that runs chrome and after setting the beta features flag, was able to 'connect' to the rowing machine. However, I think that it wasn't communicating. I'm opening this ticket, as I will attempt this again to see if it maybe works.

If it doesn't work - possibly we can debug a little bit to identify what the difference is in the browser API that communicates with USB/bluetooth devices between linux and windows.

In my setup, I have a small 12 touch screen monitor that has the raspberry pi mounted to the back of it, and so it would be nice to kind of make it a standalone setup for recording the rowing sessions

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NUBDSWGUZUT5A5AZGLRW64WVANCNFSM4N74I4RA.

tijmenvangulik commented 4 years ago

This is the chrome doc’s:

https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md

Requires Kernel 3.19+ and BlueZ http://www.bluez.org/ 5.41+ installed. Read How to get Chrome Web Bluetooth working on Linux https://acassis.wordpress.com/2016/06/28/how-to-get-chrome-web-bluetooth-working-on-linux/. Note that Bluetooth daemon needs to run with experimental interfaces if BlueZ version is lower than 5.43: sudo /usr/sbin/bluetoothd -E

On 16 Jun 2020, at 20:46, Justin Riddiough notifications@github.com wrote:

I have a raspberry device that runs chrome and after setting the beta features flag, was able to 'connect' to the rowing machine. However, I think that it wasn't communicating. I'm opening this ticket, as I will attempt this again to see if it maybe works.

If it doesn't work - possibly we can debug a little bit to identify what the difference is in the browser API that communicates with USB/bluetooth devices between linux and windows.

In my setup, I have a small 12 touch screen monitor that has the raspberry pi mounted to the back of it, and so it would be nice to kind of make it a standalone setup for recording the rowing sessions

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NUBDSWGUZUT5A5AZGLRW64WVANCNFSM4N74I4RA.

neural-loop commented 4 years ago

I'll look into the android install.. good point about the better touchscreen support

tijmenvangulik commented 4 years ago

The other thing is that if you can use usb. This makes it more user friendly for the end user which does not have to do some actions to connect to the ble device. Your device will just directly work.

On 16 Jun 2020, at 21:33, Justin Riddiough notifications@github.com wrote:

I'll look into the android install.. good point about the better touchscreen support

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/21#issuecomment-644969900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NSI7LR753JNOMKNHL3RW7CHZANCNFSM4N74I4RA.