Follow these steps to seamlessly integrate Senseway devices and create an industrial monitoring system using the Senseway Node-RED component:
Before you begin, ensure you have Node-RED installed and running on your system. Then, install the Senseway Node-RED component:
- Open your Node-RED instance.
- Go to the "Manage Palette" menu.
- Search for and install the "node-red-contrib-sensemore-senseway" package.
- Restart Node-RED to activate the new component.
An example Node-RED flow is provided to help you understand how to configure the Senseway component and receive vibration data telemetry values. Follow these steps to import the example flow:
- Open your Node-RED instance.
- Click on the three horizontal lines at the top right corner and select "Import."
- Copy the contents of examples/example.flow.json.
- Paste the copied content into the import dialog and click "Import."
Once you've imported the example flow, configure the Senseway Device node to match your device's settings:
-
Locate the "Senseway Device" node in your imported flow.
-
Open the node's properties by double-clicking on it.
-
Fill in the following information:
deviceMac
: Enter the MAC address of your Senseway device.gatewayMac
: Enter the MAC address of the gateway.mqttUri
: Provide the MQTT broker URI (e.g.,mqtt://broker.example.com:1883
).mqttUsername
andmqttPassword
: Enter your MQTT broker credentials.- Adjust other parameters as needed, such as accelerometer range, sampling rate, etc.
-
Click "Done" to save the configuration.
To receive Telegram notifications for vibration data threshold changes, configure the Telegram node in the flow:
-
Open the "Check Thresholds And Diff" function node in your flow.
-
Locate the lines that start with
msg.token
andmsg.chatid
. -
Replace
"Your TELEGRAM TOKEN"
with your actual Telegram bot token and"Telegram Chat id"
with your desired chat ID.
- Deploy your modified flow.
- Observe the data coming from the Senseway device in the debug console or other output nodes you've added.
- Adjust the threshold values and settings in the function node as needed for your monitoring requirements.
Use additional Node-RED nodes, such as dashboard nodes or other analytics nodes, to visualize and analyze the received vibration data telemetry values. This can help you monitor equipment health and make informed decisions.
By using the Senseway Node-RED component, you can create a robust industrial monitoring system that enables proactive maintenance, efficient operations, and data-driven insights for optimal equipment performance.
For any questions or assistance, please contact Hello Sensemore or to website Sensemore.