cyrils / web-bt1-monitor

Web application to read Renogy RS232 compatible BT-1 bluetooth adapter using Web Bluetooth API.
GNU General Public License v3.0
9 stars 4 forks source link

Setup #2

Open bob5731 opened 1 year ago

bob5731 commented 1 year ago

How do I setup?

cyrils commented 1 year ago

You can use the demo page here for testing purposes.

For your personal use, you can do it in two ways:

  1. Download the source code and open index.html in your chrome browser
  2. Host the page in your website and load index.html in chrome
bob5731 commented 1 year ago

When I press on select device nothing happens. What could be causing it or how do I? Okay three different mobile browsers for Android and no luck.

cyrils commented 1 year ago

Its currently not supported in android, probably because of this chromium issue. You could try giving fine location access to chrome as discussed here.

bob5731 commented 1 year ago

I'm trying Chrome on my MacBook pro and still can't click to bring up the Bluetooth adapter. I'm also hosting it on a raspberry pi 3b+. Is there any way you can update it for the raspberry pi 3b+.

cyrils commented 1 year ago

Make sure your macbook is close to your bluetooth adapter. Please note this is a completely browser side application, where you host the code does not really matter. If you are looking for server side solution for your pi, take a look at renogy-bt1

cyrils commented 1 year ago

Does the browser show an empty prompt or nothing happens when clicking on Search?

bob5731 commented 1 year ago

Found out that raspberry pi doesn't see the Bluetooth module version 1. Raspberry pi is up to date. Shows the button to click on and nothing happens. I know the script works on my MacBook pro but nothing else. I would prefer not to keep my laptop open 24/7 would prefer to use a little credits card size computer. I tried your other script the one for the pie zero and I get all kinds of errors. When clicking on the prompt nothing happens.