When using the SenseCAP Hub to connect to a 7-in-1 sensor and display the data on a third-party server, we need to compare the SenseCAP API documentation to know data such as air temperature and humidity, atmospheric pressure, rainfall, light intensity, etc. Usually, this wastes a lot of time and does not clearly show the data's change.
Today, we can use Node-red to create a WebSocket connection and connect to Node-red via an HTTP WebSocket to display the data, to display the data quickly and visually.
1. Prepare SenseCAP Hub, SenseCAP ONE S700 7-in-1 Compact Weather Sensor.1) SenseCAP Hub: It uses the MODBUS-RTU RS485 protocol to communicate with sensors and collect various sensor data simultaneously. And it is a powerful 4G data logger that can connect to a maximum of 32 RS-485 sensors. The data is collected and sent to the cloud (either to the SenseCAP server or the client's private server) via 4G/3G/2G (as shown in the system architecture below).
2)S700 7-in-1 Weather Sensor: The SenseCAP ONE series uses the RS-485 (MODBUS-RTU) / 232 / 422 (Modbus) / SDI-12 communication protocol. It can be used with any data logger that supports RS 485 (MODBUS-RTU) / 232 / 422 (Modbus) / SDI-12. The tutorial uses a SenseCAP ONE S700 7-in-1 Compact Weather Sensor.
It measures air temperature, relative humidity, barometric pressure, light intensity, rainfall (optical), wind speed, and wind direction (ultrasonic). It is ideal for application in harsh environments like outdoors, agriculture, or smart cities.
3) Download the SenseCAP One Configuration Tool and the SenseCAP Sensor Hub Configuration Tool from GitHub:
https://github.com/Seeed-Solution/SenseCAP-One-Configuration-Tool/releases
https://github.com/Seeed-Solution/SenseCAP-Sensor-Hub-Configuration-Tool-NG/releases
The preparation is done. Let's get started!
2. Connection and ConfigurationLet's start by connecting the device and configuring them.
The aviation connect (blue part) is connected to the power port (B6) of SenseCAP Hub and the USB port is connected to the computer.
Subscribed MQTT messages, the corresponding parameters need to be configured
Converts between a JSON string and its JavaScript object representation, in either direction.
Green indicates debugging information.
The blue square is the display of the layout, and different parts, the display effect is different
The yellow square is the information format conversion, mainly to facilitate the display of theline chart;
The implementation is simple, just drag and drop, then set the appropriate parameters, basically, no programming ability is required. And, wherever data is available, it can be presented via Node-Red.







Comments