-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not seeing console messages when pushing puck.js button #1
Comments
I came back to my puck.js, re-deployed the sketch, disconnected and ran node index.js. Now the LEDs no longer illuminate. Could I have a low battery already? I think I did not wait long enough for the sketch to be uploaded. Tried again, waited until I see the SENT message in the Web IDE. Then I disconnected from the Web IDE, and tried to run index.js again. Get the colors again with the switch presses but no advertisement messages. |
I am using 2v01 firmware on the Puck in case that matters. |
I'm not an expert on the Puck. I got this working on the Pi. I simply can't remember if I ever tried it on my Mac, so I can't give any particular guidance until I have some spare time to dig it out and try. That isn't going to be for a while as I'm on vacation. |
Thanks for the update. I will try on my Pi and then see if I have the same experience there.
I will have to perhaps add some bluetooth support to the Pi with apt-get installs?
Enjoy your vacation -- didn't mean to interrupt.
Jim
On Feb 19, 2019, at 5:10 PM, knolleary <notifications@github.com<mailto:notifications@github.com>> wrote:
I'm not an expert on the Puck. I got this working on the Pi. I simply can't remember if I ever tried it on my Mac, so I can't give any particular guidance until I have some spare time to dig it out and try. That isn't going to be for a while as I'm on vacation.
—
|
Turns out that noble is broken for Mac running the latest OS X Mojave. There are open issues reported in the githib project. But there is a parallel project noble-mac: https://github.com/Timeular/noble-mac and if you make the dependency for this project be noble-mac instead of noble then things mostly work. |
I also tried this on my Pi using a fresh install of Raspbian Stretch and the original code works there. |
puck-remote installs for me (Mac OS X Mojave) but running node index.js does not log battery values like the github page says it should.
I did npm install and see the warning:
Running on my Mac, not a Raspberry Pi.
I did disconnect from the espruino web ide after deploying the sketch.
Using node v8.15.0 because npm install reported a build failure otherwise. I am using nvm to manage node.js installs.
The LEDs glow the right colors after the button pushes (1, 2, 3) but no advertisement messages appear in the console.
The text was updated successfully, but these errors were encountered: