Node-RED Middleware on Edge gateway
Bluetooth beacon integration using Node-RED firmware
For the BLE devices, the sensor data of gateways such as ingics and beacons such as Ruuvi are is fetched through scan nodes in Node-red of the gateway(eg: RPi) and publishes the same to a secured MQTT topic in the cloud.
This data is read in the cloud using secure MQTT reader nodes, retrieves Wirepas sensor metadata from the cloud database and sends it back to the database with realtime processed data.
Created an HTTP end-point for fetching and displaying the latest data of sensors in a browser as JSON.
Ruuvi tag data have also been sent through ESP and read with MQTT in node-RED middleware and saved to the database. These methods were used in the air quality module, D6T, and D7S, etc
Wirepas indoor positioning engine
For the use case of Wirepas, we had used Node-red middleware programming for two use cases in a warehouse inventory tracking solution with Bluetooth beacons:
Data retrieval and database integration
Wirepas positioning engine’s sensor data is fetched from the Influxdb from a hosted server, refactor the incoming data to the corresponding latitude, longitude area-id, etc, and save the resultant data to a cloud PostgreSQL database.
Updated virtual zone information in positioning tool
When any changes are made in the shopfloor map, the unique area id’s get changed. A node-red flow is created which retrieves the updated details on inputting the building name of the map.
GPS location data from Cellular IOT devices
The Node-red middleware flow listens to 9001 port using TCP node and communicates with the Cellular-IOT cloud server. All data is received as buffers and this data is converted to decimal format and parses to corresponding location data and saved to the database. The OTA update from the cloud is developed using Node-Red middleware tools.
- This is established through three steps in the following order:
- Hello Request (to the server)
- Hello Response(from the server) – to establish the connection
- Data Record Upload(to the server)
- Commit Request(to the server)
- Commit Response(from the server)
All data is received as buffers and this data is converted to decimal format and parses to corresponding location data and saved to the database.
Call us to know more about our capabilities around Bluetooth gateway programming, Wirepas positioning engine, Node-RED middleware and Cellular-IOT firmware configuration, data visualisation using the Grafana dashboard.