I started messing around with my 2 pucks when they first arrived. Everything worked rather good these days, but I was on Windows 7 that time.
Now I'm using the same hardware (with same built-in bluetooth adapter) with Ubuntu.
I have updated bluez to 5.45 and enabled the flag in chrome. But when clicking the orange connect button, it just says No ports found.
I can pair both pucks though.
After these failures I tried to set up my RaspberryPi 3 as an espruino server. But I got a similar result there too. Installed bluez 5.45 and espruino-web-ide via NPM. But IDE says No ports found.
When pairing the puckjs while espruino-server is running it logs: noble: unknown peripheral dd361c4c702e connected! But this didn't change the result.
Maybe someone has an idea whats going wrong here. Tried rebooting all devices, resetted the pucks and flashed firmware 1v92 and 1v89 to the pucks.
Thanks in advance
On std Linux: so when you go to https://www.espruino.com/ide/ and click connect you don't see a Web Bluetooth option - just No Ports Found? Can you go to 'settings' in the top right, then 'console', then copy/paste everything it says in here?
No Ports Found
Also, can you go to https://www.puck-js.com/go and see if it says you have Web Bluetooth enabled or not? I guess it's possible that there's some issue (Chrome does need a complete restart after changing the flags...).
Something I noticed you said is that you paired the devices on Linux first? Unlike on Windows, you don't need to pair beforehand on Linux. In fact, pairing might cause the Pucks to connect to the system, which might then leave them unavailable to connect to the application itself (or any device).
Just to be sure, when using the Raspberry Pi I'd disable bluetooth on the main Linux PC.
Sorry, the 'no ports found' in https://www.espruino.com/ide/ was totally my fault. If you do a full refresh of the webpage then it should be fixed now.
Thanks for the fast reply Gordon.
No problem, I will definetly check the https://www.espruino.com/ide/ with Web Bluetooth again. Unfortunately I won't be able to try it before the weekend.
When I visit https://www.puck-js.com/go it states that Web Bluetooth is enabled. I wasn't really sure if pairing is necassary... So I definetly tried with and without pairing. But good to know it's not needed... Might check that again too.
Another note: I managed to get the pucks working with EspruinoHub and NodeRed on the Raspberry Pi.
But I may also send you some logs next weekend.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem