Problem connecting Vibration V3 to Ubidots

Would the web interface on the Ethernet Modem allow the ODR to be configured? (I only have Macs).

Thanks.

I will recommend node red and use tis flow

Hello everyone,

I’m part of Ubidots’ support team and I thought I’d kick in.

I’m glad that @jpny has now been able to send data to Ubidots. Just to clarify about the STEM accounts (free) limitations, the only two limitations that I can think of that would have affected your data transmission at that moment were request rate (up to 1 request/second) and according to what @Bhaskar said, the payload size (10kb per request). I’m not sure how long is the payload from the sensor, so I can’t confirm on the latter, but I don’t believe this will be the case.

For more information on the STEM account limitations and how they compare to a paid license, please visit this article

Best regards,
Sebastián

If you mean the last tab in the Wireless Gateway config, what do you mean by “I only have Macs.” ?

Apple MacOS computers.

Alrighty. So I now have the ethernet modem, I have it plugged into my network, and I have its IP address. I’ve installed Node Red, and used import, pasting in the Github information you posted and it appeared as Flow 6. I see the “1 Vibration Plus” with 23 “unknown: ui_chart” things attached. Aside from that, I have no idea what to do next, where I would enter an IP or how to change a configuration on the sensor.

Thanks.

  1. you will need to install node red dashboard.
  2. make sure you have select correct port settings ( in my setup i was using USB modem, so all my settings were for usb modem
  3. make sure you have selected correct sensor mac address

Thanks

Making progress. Dashboard installed, I reimported but I still have “unknown: ncd-gateway-node” twice and “unknown: ncd-wireless-node”. I cannot find any way to edit these in node-red. I tried editing the raw data, but I don’t know the proper syntax for Ethernet. Am I missing some editing field or does the raw data need to be correct before import?

did you install ncd red wireless library ?

I had no idea there was such a thing! But I’ve now tried and it failed with the errors pasted below. This is officially way too complicated to change one little setting. I’m stumbling my way through this using homebrew and this is the first time I’ve even heard of node-red much less any clue of how it works. You guys need to find a way to make your hardware way more friendly with MacOS or IOS or expand the settings available by HTTP. I’m sure the vast majority of Mac users wouldn’t even be able to do what I have so far, with moderate familiarity with UNIX. I can’t imagine there’s a lot of overlap between people using sensors and being system administrators. :slightly_smiling_face:

Any idea how to get past this next hurdle?

553 verbose stack Error: command failed
553 verbose stack at ChildProcess. (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
553 verbose stack at ChildProcess.emit (node:events:390:28)
553 verbose stack at maybeClose (node:internal/child_process:1064:16)
553 verbose stack at Socket. (node:internal/child_process:450:11)
553 verbose stack at Socket.emit (node:events:390:28)
553 verbose stack at Pipe. (node:net:672:12)
554 verbose pkgid @serialport/bindings@2.0.8
555 verbose cwd /Users/palmj/.node-red
556 verbose Darwin 20.6.0
557 verbose argv “/opt/homebrew/Cellar/node/16.11.1/bin/node” “/opt/homebrew/bin/npm” “install” “ncd-red-wireless”
558 verbose node v16.11.1
559 verbose npm v8.1.2
560 error code 1
561 error path /Users/palmj/.node-red/node_modules/@serialport/bindings
562 error command failed
563 error command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
564 error CXX(target) Release/obj.target/bindings/src/serialport.o
565 error gyp info it worked if it ends with ok
565 error gyp info using node-gyp@8.3.0
565 error gyp info using node@16.11.1 | darwin | arm64
565 error gyp info find Python using Python version 3.9.7 found at “/opt/homebrew/opt/python@3.9/bin/python3.9”
565 error gyp info spawn /opt/homebrew/opt/python@3.9/bin/python3.9
565 error gyp info spawn args [
565 error gyp info spawn args ‘/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
565 error gyp info spawn args ‘binding.gyp’,
565 error gyp info spawn args ‘-f’,
565 error gyp info spawn args ‘make’,
565 error gyp info spawn args ‘-I’,
565 error gyp info spawn args ‘/Users/palmj/.node-red/node_modules/@serialport/bindings/build/config.gypi’,
565 error gyp info spawn args ‘-I’,
565 error gyp info spawn args ‘/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
565 error gyp info spawn args ‘-I’,
565 error gyp info spawn args ‘/Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/common.gypi’,
565 error gyp info spawn args ‘-Dlibrary=shared_library’,
565 error gyp info spawn args ‘-Dvisibility=default’,
565 error gyp info spawn args ‘-Dnode_root_dir=/Users/palmj/Library/Caches/node-gyp/16.11.1’,
565 error gyp info spawn args ‘-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp’,
565 error gyp info spawn args ‘-Dnode_lib_file=/Users/palmj/Library/Caches/node-gyp/16.11.1/<(target_arch)/node.lib’,
565 error gyp info spawn args ‘-Dmodule_root_dir=/Users/palmj/.node-red/node_modules/@serialport/bindings’,
565 error gyp info spawn args ‘-Dnode_engine=v8’,
565 error gyp info spawn args ‘–depth=.’,
565 error gyp info spawn args ‘–no-parallel’,
565 error gyp info spawn args ‘–generator-output’,
565 error gyp info spawn args ‘build’,
565 error gyp info spawn args ‘-Goutput_dir=.’
565 error gyp info spawn args ]
565 error gyp info spawn make
565 error gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ]
565 error …/src/serialport.cpp:329:14: error: no matching member function for call to ‘Set’
565 error results->Set(Nan::Newv8::String(“cts”).ToLocalChecked(), Nan::Newv8::Boolean(data->cts));
565 error ~~~~~~~^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context,
565 error ^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
565 error ^
565 error …/src/serialport.cpp:330:14: error: no matching member function for call to ‘Set’
565 error results->Set(Nan::Newv8::String(“dsr”).ToLocalChecked(), Nan::Newv8::Boolean(data->dsr));
565 error ~~~~~~~^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context,
565 error ^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
565 error ^
565 error …/src/serialport.cpp:331:14: error: no matching member function for call to ‘Set’
565 error results->Set(Nan::Newv8::String(“dcd”).ToLocalChecked(), Nan::Newv8::Boolean(data->dcd));
565 error ~~~~~~~^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context,
565 error ^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
565 error ^
565 error …/src/serialport.cpp:378:14: error: no matching member function for call to ‘Set’
565 error results->Set(Nan::Newv8::String(“baudRate”).ToLocalChecked(), Nan::Newv8::Integer(data->baudRate));
565 error ~~~~~~~^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context,
565 error ^
565 error /Users/palmj/Library/Caches/node-gyp/16.11.1/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
565 error V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
565 error ^
565 error 4 errors generated.
565 error make: *** [Release/obj.target/bindings/src/serialport.o] Error 1
565 error gyp ERR! build error
565 error gyp ERR! stack Error: make failed with exit code: 2
565 error gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
565 error gyp ERR! stack at ChildProcess.emit (node:events:390:28)
565 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
565 error gyp ERR! System Darwin 20.6.0
565 error gyp ERR! command “/opt/homebrew/Cellar/node/16.11.1/bin/node” “/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
565 error gyp ERR! cwd /Users/palmj/.node-red/node_modules/@serialport/bindings
565 error gyp ERR! node -v v16.11.1
565 error gyp ERR! node-gyp -v v8.3.0
565 error gyp ERR! not ok
566 verbose exit 1

node red deos have a learning curve, but once you are passed that you will defiantly like it.
the reason behind building node red lib, is that it works across all platforms.
Are you using command line to install the lib or node red ui ?

I tried the npm method.

Same error doing it from the “manage palette” menu. This seems like a bug.

Okay, I tried this on a “clean” MacOS Catalina Intel system, with the same exact result. I think there is something wrong with ncd-red-wireless 1.5.48. I installed XCode command line tools, then Homebrew, then “node”, and then Node Red. From the Node Red UI node-red-dashboard installed fine, ncd-red-wireless, no-go. It looks like it is looking for @serialport/binding, in the .node-red/node-modules/ directory and there is no such directory. Here’s the fresh failure log:


2021-10-31T16:36:03.663Z Install : ncd-red-wireless 1.5.48

2021-10-31T16:36:03.668Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict ncd-red-wireless@1.5.48
2021-10-31T16:36:15.312Z [err] npm
2021-10-31T16:36:15.312Z [err] ERR! code 1
2021-10-31T16:36:15.312Z [err] npm ERR! path /Users/palmj/.node-red/node_modules/@serialport/bindings
2021-10-31T16:36:15.314Z [err] npm ERR!
2021-10-31T16:36:15.314Z [err] command failed
2021-10-31T16:36:15.314Z [err] npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-10-31T16:36:15.314Z [err] npm ERR! CXX(target) Release/obj.target/bindings/src/serialport.o
2021-10-31T16:36:15.314Z [err] npm ERR! gyp info it worked if it ends with ok
2021-10-31T16:36:15.314Z [err] npm ERR!
2021-10-31T16:36:15.314Z [err] gyp info using node-gyp@8.2.0
2021-10-31T16:36:15.314Z [err] npm ERR! gyp info using node@17.0.1 | darwin | x64
2021-10-31T16:36:15.314Z [err] npm ERR! gyp info find Python using Python version 3.9.7 found at “/usr/local/opt/python@3.9/bin/python3.9”
2021-10-31T16:36:15.314Z [err] npm ERR! gyp http GET https://nodejs.org/download/release/v17.0.1/node-v17.0.1-headers.tar.gz
2021-10-31T16:36:15.314Z [err] npm ERR! gyp http 200 https://nodejs.org/download/release/v17.0.1/node-v17.0.1-headers.tar.gz
2021-10-31T16:36:15.314Z [err] npm ERR! gyp http GET https://nodejs.org/download/release/v17.0.1/SHASUMS256.txt
2021-10-31T16:36:15.314Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp http 200 https://nodejs.org/download/release/v17.0.1/SHASUMS256.txt
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args [
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘binding.gyp’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-f’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘make’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-I’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘/Users/palmj/.node-red/node_modules/@serialport/bindings/build/config.gypi’,
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp info spawn args ‘-I’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] gyp info spawn args ‘-I’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘/Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/common.gypi’,
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp info spawn args ‘-Dlibrary=shared_library’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-Dvisibility=default’,
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp info spawn args ‘-Dnode_root_dir=/Users/palmj/Library/Caches/node-gyp/17.0.1’,
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-Dnode_lib_file=/Users/palmj/Library/Caches/node-gyp/17.0.1/<(target_arch)/node.lib’,
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp info spawn args ‘-Dmodule_root_dir=/Users/palmj/.node-red/node_modules/@serialport/bindings’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-Dnode_engine=v8’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘–depth=.’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘–no-parallel’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘–generator-output’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘build’,
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ‘-Goutput_dir=.’
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn args ]
2021-10-31T16:36:15.315Z [err] npm ERR! gyp info spawn make
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ]
2021-10-31T16:36:15.315Z [err] npm ERR! …/src/serialport.cpp:329:14: error: no matching member function for call to ‘Set’
2021-10-31T16:36:15.315Z [err] npm ERR! results->Set(Nan::Newv8::String(“cts”).ToLocalChecked(), Nan::Newv8::Boolean(data->cts));
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] ~~~~~~~^
2021-10-31T16:36:15.315Z [err] npm ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:244:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:247:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! …/src/serialport.cpp:330:14: error: no matching member function for call to ‘Set’
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] results->Set(Nan::Newv8::String(“dsr”).ToLocalChecked(), Nan::Newv8::Boolean(data->dsr));
2021-10-31T16:36:15.315Z [err] npm ERR! ~~~~~~~^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:244:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:247:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! …/src/serialport.cpp:331:14: error: no matching member function for call to ‘Set’
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] results->Set(Nan::Newv8::String(“dcd”).ToLocalChecked(), Nan::Newv8::Boolean(data->dcd));
2021-10-31T16:36:15.315Z [err] npm ERR! ~~~~~~~^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:244:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:247:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
2021-10-31T16:36:15.315Z [err] npm ERR! ^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! …/src/serialport.cpp:378:14: error: no matching member function for call to ‘Set’
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.315Z [err] results->Set(Nan::Newv8::String(“baudRate”).ToLocalChecked(), Nan::Newv8::Integer(data->baudRate));
2021-10-31T16:36:15.315Z [err] npm ERR! ~~~~~~~^
2021-10-31T16:36:15.315Z [err] npm
2021-10-31T16:36:15.315Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:244:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.315Z [err] npm ERR!
2021-10-31T16:36:15.316Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context,
2021-10-31T16:36:15.316Z [err] npm ERR! ^
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! /Users/palmj/Library/Caches/node-gyp/17.0.1/include/node/v8-object.h:247:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
2021-10-31T16:36:15.316Z [err] npm ERR!
2021-10-31T16:36:15.316Z [err] V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
2021-10-31T16:36:15.316Z [err] npm ERR! ^
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! 4 errors generated.
2021-10-31T16:36:15.316Z [err] npm ERR! make: *** [Release/obj.target/bindings/src/serialport.o] Error 1
2021-10-31T16:36:15.316Z [err] npm ERR! gyp ERR! build error
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! gyp ERR! stack Error: make failed with exit code: 2
2021-10-31T16:36:15.316Z [err] npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2021-10-31T16:36:15.316Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2021-10-31T16:36:15.316Z [err] npm ERR!
2021-10-31T16:36:15.316Z [err] gyp ERR! System Darwin 19.6.0
2021-10-31T16:36:15.316Z [err] npm ERR! gyp ERR! command “/usr/local/Cellar/node/17.0.1/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! gyp ERR! cwd /Users/palmj/.node-red/node_modules/@serialport/bindings
2021-10-31T16:36:15.316Z [err] npm ERR!
2021-10-31T16:36:15.316Z [err] gyp ERR! node -v v17.0.1
2021-10-31T16:36:15.316Z [err] npm ERR! gyp ERR! node-gyp -v v8.2.0
2021-10-31T16:36:15.316Z [err] npm
2021-10-31T16:36:15.316Z [err] ERR! gyp ERR! not ok
2021-10-31T16:36:15.327Z [err]
2021-10-31T16:36:15.327Z [err] npm ERR! A complete log of this run can be found in:
2021-10-31T16:36:15.327Z [err] npm ERR! /Users/palmj/.npm/_logs/2021-10-31T16_36_15_317Z-debug.log
2021-10-31T16:36:15.342Z rc=1

@TravisE_NCD_Technica can you share the instruction for the install.

Sure.

  1. Install XCode Command Line Tools. ‘xcode-select --install’ will trigger the GUI to launch a dialog asking if you want to install the command line tools. That succeeds.

  2. Next, the Homebrew package manager: ’ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” ’

  3. Then install ‘node’: ‘brew install node’

  4. Next, Node Red: ‘sudo npm install -g --unsafe-perm node-red’

  5. Launch ‘node-red’ and open http://127.0.0.1:1880/.

  6. Using Palette Manager, find and install node-red-dashboard. Succeeds.

  7. Using PM, find and install ncd-red-wireless. Fails.

Same result between MacOS 11.6 (Big Sur) and MacOS 10.15.7 (Catalina), with the previous error log.

Try going to the .node-red directory on your computer and install ncd-red-wireless-2. This package is more optimized for later versions of node. ncd-red-wireless is intended for processors which cannot run later versions of Node.

Yay, that worked! Okay, I did add the Ethernet Gateway, and I see the vibration sensor’s MAC address, which it had to have auto-discovered, so that’s promising. One thing, what is “Network ID (0 - 0x7FFF)”? I’m not sure what it is asking for there. Is that just a way to uniquely identify the network?

Next, when I change a setting, how/when does it get applied? Do I need to do anything to send it to the device?

Thanks.

I think I figured it out, but it’s not quite working. I put the sensor in config mode, then change the setting for ODR to 200Hz, and click “deploy.” Then I hit reset on the device. Node Red says “Configuration Acknowledged” but the debug reports back with the 800Hz setting.

did you put the sensor in cfg mode as well ?
once cfg is complete it will come with configuration complete message.