Hello there
for a school project I need to recognize a clap by using machine learning. Searching the web for information I came across Edge Impulse. I tried it out because it looked really cool but I have multiple issues when getting started.
I can’t connect my board to the webinterface.
My node.js always tells me “Uncaught SyntaxError: Unexpected identifier” when i type something in it.
I checked multiple tutorials and some different discussion, also checked some youtube videos but nothing seems to help.
? What is your password? [hidden]
Endpoints:
Websocket:
API:
Ingestion:
? Which device do you want to connect to? COM4 (STMicroelectronics)
[SER] Connecting to COM4
[SER] Serial is connected (00:23:00:2E:35:38:51:11:33:36:37:30)
[WS ] Connecting to wss://remote-mgmt.edgeimpulse.com
[WS ] Connected to wss://remote-mgmt.edgeimpulse.com
[SER] Detecting data frequency…
[SER] Failed to get information off device No valid sensor readings received from device:
[SER] Detecting data frequency…
(node:12700) UnhandledPromiseRejectionWarning: Error: No valid sensor readings received from device:
at getSensorInfo (C:\Users\luki\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js:524:15)
at async getAndConfigureProject (C:\Users\luki\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js:450:22)
at async Timeout.sendHello [as _onTimeout] (C:\Users\luki\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js:147:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:12700) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:12700) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.