Installed Espruino Hub on a Raspberry Pi W, got it all working, and node-red works.
But how do you get the web bluetooth code working on there to connect to the Puck.js through the Pi, as im currently getting odd errors.
I copy pasted the code at https://www.espruino.com/Smart+Meter at the bottom of the page, and put that in a file called meter.html in the hub's www dir.
The page loads, but when you click the box, it says Web Bluetooth is not supported in this browser.
I'm guessing there's some extra work to tell it to use the Pi's MQTT bridge to the Puck, rather than connecting to the Puck directly, but still the error is odd, as it should support web bluetooth, as im still using the same Chrome that worked when I tried to connect to it directly from the example page.
© Espruino, powered by microcosm.
Report a problem