-
-
-
-
Same here, no beeps. I will open it later to check for the piezo.
Edit: I have a black plastic sheet inside which is not in Gordons reference image, but also no piezo.!
img -
-
-
Hi!
I'm trying the various BLE Fuctions and according to the API reference, this should work:NRF.setSecurity({passkey:"123456", mitm:1, display:0});
however, I always get this error:
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v04 (c) 2019 G.Williams >Uncaught Error: BLE error 0x7 (INVALID_PARAM) at line 1 col 54 NRF.setSecurity({passkey:"123456", mitm:1, display:0}); ^
I don't have anything else in the code, just the one line. Is this somehow a documentation error or am I doing something wrong?
-
Hi, I'm trying to get EspruinoHub to work on my RPi.
I'm on Raspbian Stretch and all packages are up to date. No manually installed "special" versions of any kind.I'm following the steps from here: https://github.com/espruino/EspruinoHub; I'm only interested in the EspruinoHub and Web IDE Part, no need for NODE-RED.
The Setup fails at the "npm install" part with the following errors:
pi@raspberrypi:~/espruino/EspruinoHub $ npm install (node:16913) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7) npm ERR! at FSReqWrap.oncomplete (fs.js:135:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 4.19.42-v7+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! cwd /home/pi/espruino/EspruinoHub npm ERR! node -v v8.11.1 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/espruino/EspruinoHub/npm-debug.log npm ERR! not ok code 0 pi@raspberrypi:~/espruino/EspruinoHub $
I'm not really familiar with node.js and npm, and I suspect the environment setup is not correct. I installed node & npm from the defailt raspbian repos.
Any Ideas?
👍