EspruinoHub IDE can't connect to Puck.js #5994
Replies: 1 comment
-
Posted at 2018-09-05 by @gfwilliams If all is going well, in the
If it doesn't (which it isn't in your case) it's probably because node.js doesn't have the right permissions to access Bluetooth LE. Can you try running
And see if that helps after you then do Posted at 2018-09-05 by @gfwilliams Just to add, in Posted at 2018-09-05 by Davy Thank you! I'm not sure how I messed that up twice but you suggestion to run setcap and systemctl restart fixed it. Now everything is working smoothly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-09-04 by Davy
Hey everyone! I'm having some trouble accessing the Puck.js from the EspruinoHub IDE. After following these steps (RPi3 -> fresh Raspbian lite -> Installation of everything -> Headless Startup) I'm able to access the server at :1888 and Node Red at :1880 but the IDE doesn't give me the option to connect to the Puck.js. It just says "SEARCHING... NO PORTS FOUND".
There's also an error reported in the Chrome developer console when I click on the Connect / Disconnect button that may be related (image attached).
When I visit :1888/status this is what I get:
And when I run
sudo journalctl -f -u EspruinoHub
this is what I get:Bluetooth seems to be working and is detecting the Puck.js if I check it from bluetoothctl:
Am I missing a step or something?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions