How would I connect to a Puck from cli on Debian(Raspbian) to send commands and get a response, and perhaps configure them (same question as other post).
Install the Espruino CLI: https://www.npmjs.com/package/espruino
You need Node.js and NPM (which should come with it), then run npm install -g espruino.
npm install -g espruino
Once installed you can do espruino -d Puck to connect to the first Puck device found, or can specify espruino -p de:vi:ce:ad:dr:es - and you can list addresses with espruino --list
espruino -d Puck
espruino -p de:vi:ce:ad:dr:es
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