diff --git a/laird-rs1xx-temp-rh-sensor/CHANGELOG.md b/laird-rs1xx-temp-rh-sensor/CHANGELOG.md new file mode 100644 index 000000000..393db04ca --- /dev/null +++ b/laird-rs1xx-temp-rh-sensor/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## 1.0.0 - 2026-02-18 + +- First version of plugin \ No newline at end of file diff --git a/laird-rs1xx-temp-rh-sensor/LICENSE.md b/laird-rs1xx-temp-rh-sensor/LICENSE.md new file mode 100644 index 000000000..bffeef341 --- /dev/null +++ b/laird-rs1xx-temp-rh-sensor/LICENSE.md @@ -0,0 +1,7 @@ +Copyright 2026 Thinger.io + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/laird-rs1xx-temp-rh-sensor/README.md b/laird-rs1xx-temp-rh-sensor/README.md new file mode 100644 index 000000000..9e4ef5493 --- /dev/null +++ b/laird-rs1xx-temp-rh-sensor/README.md @@ -0,0 +1,61 @@ +# Sentrius RS1xx Temp-RH Sensor + +The Laird Sentrius™ RS1xx Temp/-RH has a temperature sensor, humidity sensor, and an external open/closed detection sensor making it a perfect fit for cold chain applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The robust IP65 sensor enclosure allows it to be used in harsh environments. + +## Features + +- **Temperature Sensor**: Monitors ambient temperature for cold-chain applications +- **Humidity Sensor**: Tracks relative humidity levels +- **External Open/Closed Detection**: Integrated sensor for door/access monitoring +- **Dual Connectivity**: LoRaWAN and Bluetooth Low Energy (BLE) communication +- **Data Storage**: Stores sensor data locally when LoRaWAN network is unavailable for later retrieval +- **Rugged Design**: IP65-rated enclosure for harsh industrial environments +- **Integrated Antennas**: Built-in antennas for simplified installation +- **Operating Temperature**: -25°C to 50°C +- **Compact Dimensions**: 116 x 91 x 34 mm + +## Use Cases + +- Cold chain monitoring and logistics +- Pharmaceutical storage monitoring +- Food transportation and storage +- Warehouse environmental monitoring +- Industrial facility climate control +- Refrigeration unit monitoring + +## Thinger.io Integration + +The Sentrius RS1xx Temp-RH Sensor integrates with Thinger.io through LoRaWAN network servers, enabling real-time monitoring and data visualization of temperature, humidity, and door/access status. + +## Requirements + +A LoRaWAN server is required to communicate the Sentrius RS1xx Temp-RH Sensor into Thinger.io, some options are: + +- [The Things Stack](https://www.thethingsindustries.com/stack/) +- [LORIOT](https://loriot.io/) +- [ChirpStack](https://www.chirpstack.io/) + +Alongside, the corresponding plugin for the selected LoRaWAN server needs to be installed in your Thinger.io instance. + +## Get Started + +### Installation + +Look for the plugin in the [Thinger.io Plugin Store](https://marketplace.thinger.io/) and install it in your Thinger.io instance. Once the plugin is installed a new Product will be created for this device. + +### Configuration + +The Product is already preconfigured, check that the auto provision prefix matches the one selected in your LoRaWAN server plugin in Thinger.io, or change it to your desire. + +### Usage + +Start sending uplinks for autoprovisioning devices and buckets. +This product also provides a predefined dashboard and downlinks. + +## Additional Resources + +Laird Connectivity (Ezurio) resources can be found at: + +- [Sentrius RS1xx User Guide](http://assets.lairdtech.com/home/brandworld/files/Sentrius%20RS1xx%20User%20Guide%20v1_0.pdf) +- [Device Repository](https://www.thethingsnetwork.org/device-repository/devices/laird/rs1xx-temp-rh-sensor/) +- [Thinger docs](https://docs.thinger.io) \ No newline at end of file diff --git a/laird-rs1xx-temp-rh-sensor/assets/rs1xx-temp-rh-sensor.jpg b/laird-rs1xx-temp-rh-sensor/assets/rs1xx-temp-rh-sensor.jpg new file mode 100644 index 000000000..8f5c9328d Binary files /dev/null and b/laird-rs1xx-temp-rh-sensor/assets/rs1xx-temp-rh-sensor.jpg differ diff --git a/laird-rs1xx-temp-rh-sensor/plugin.json b/laird-rs1xx-temp-rh-sensor/plugin.json new file mode 100644 index 000000000..76e70d8a0 --- /dev/null +++ b/laird-rs1xx-temp-rh-sensor/plugin.json @@ -0,0 +1,506 @@ +{ + "name": "laird_rs1xx_temp_rh_sensor", + "version": "1.0.0", + "description": "The Laird Sentrius™ RS1xx Temp/-RH has a temperature sensor, humidity sensor, and an external open/closed detection sensor making it a perfect fit for cold chain applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The rob", + "author": "Thinger.io", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/thinger-io/plugins.git", + "directory": "laird-rs1xx-temp-rh-sensor" + }, + "metadata": { + "name": "Laird RS1XX-TEMP-RH-SENSOR", + "description": "The Laird Sentrius™ RS1xx Temp/-RH has a temperature sensor, humidity sensor, and an external open/closed detection sensor making it a perfect fit for cold chain applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The rob", + "image": "assets/rs1xx-temp-rh-sensor.jpg", + "category": "devices", + "vendor": "laird" + }, + "resources": { + "products": [ + { + "description": "The Laird Sentrius™ RS1xx Temp/-RH has a temperature sensor, humidity sensor, and an external open/closed detection sensor making it a perfect fit for cold chain applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The rob", + "enabled": true, + "name": "Laird RS1XX-TEMP-RH-SENSOR", + "product": "laird_rs1xx_temp_rh_sensor", + "profile": { + "api": { + "downlink": { + "enabled": true, + "handle_connectivity": false, + "request": { + "data": { + "path": "/downlink", + "payload": "{\n \"data\" : \"{{payload.data=\"\"}}\",\n \"port\" : {{payload.port=85}},\n \"priority\": {{payload.priority=3}},\n \"confirmed\" : {{payload.confirmed=false}},\n \"uplink\" : {{property.uplink}} \n}", + "payload_function": "", + "payload_type": "", + "plugin": "{{property.uplink.source}}", + "target": "plugin_endpoint" + } + }, + "response": { + "data": { + "payload": "{{payload}}", + "payload_function": "", + "payload_type": "source_payload", + "source": "request_response" + } + } + }, + "uplink": { + "device_id_resolver": "getId", + "enabled": true, + "handle_connectivity": true, + "request": { + "data": { + "payload": "{{payload}}", + "payload_function": "", + "payload_type": "source_payload", + "resource_stream": "uplink", + "target": "resource_stream" + } + }, + "response": { + "data": { + "payload": "{{payload}}", + "payload_function": "", + "payload_type": "source_payload", + "source": "request_response" + } + } + } + }, + "autoprovisions": { + "laird_rs1xx_autoprovision": { + "config": { + "mode": "pattern", + "pattern": "laird-rs1xx-.*" + }, + "enabled": true + } + }, + "buckets": { + "laird_rs1xx_data": { + "backend": "mongodb", + "data": { + "payload": "{{payload}}", + "payload_function": "decodeThingerUplink", + "payload_type": "source_payload", + "resource": "uplink", + "source": "resource", + "update": "events" + }, + "enabled": true, + "retention": { + "period": 3, + "unit": "months" + }, + "tags": [ + "temperature", + "humidity", + "sensor" + ] + } + }, + "properties": { + "uplink": { + "data": { + "payload": "{{payload}}", + "payload_function": "", + "payload_type": "source_payload", + "resource": "uplink", + "source": "resource", + "update": "events" + }, + "default": { + "source": "value" + }, + "enabled": true + } + } + }, + "_resources": { + "properties": [ + { + "property": "dashboard", + "value": { + "tabs": [ + { + "name": "Main", + "widgets": [ + { + "layout": { + "col": 0, + "row": 0, + "sizeX": 3, + "sizeY": 12 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Historic Temperature" + }, + "properties": { + "axis": true, + "fill": false, + "legend": true, + "multiple_axes": true + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#ff0000", + "name": "Temperature", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + } + ], + "type": "chart" + }, + { + "layout": { + "col": 0, + "row": 12, + "sizeX": 3, + "sizeY": 6 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Historic Humidity" + }, + "properties": { + "axis": true, + "fill": false, + "legend": true, + "multiple_axes": true + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "humidity", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#0000ff", + "name": "Humidity", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + } + ], + "type": "chart" + }, + { + "layout": { + "col": 3, + "row": 0, + "sizeX": 1, + "sizeY": 6 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Temperature" + }, + "properties": { + "color": "#ff0000", + "max": 100, + "min": -40, + "unit": "°C" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#1abc9c", + "name": "Source 1", + "source": "bucket", + "timespan": { + "mode": "latest" + } + } + ], + "type": "donutchart" + }, + { + "layout": { + "col": 3, + "row": 6, + "sizeX": 1, + "sizeY": 6 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Humidity" + }, + "properties": { + "color": "#0000ff", + "max": 100, + "min": 0, + "unit": "%RH" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "humidity", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#1abc9c", + "name": "Source 1", + "source": "bucket", + "timespan": { + "mode": "latest" + } + } + ], + "type": "donutchart" + }, + { + "layout": { + "col": 3, + "row": 12, + "sizeX": 1, + "sizeY": 6 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Door Status" + }, + "properties": { + "color": "#f39c12", + "max": 1, + "min": 0, + "unit": "" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "door_open", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#1abc9c", + "name": "Source 1", + "source": "bucket", + "timespan": { + "mode": "latest" + } + } + ], + "type": "donutchart" + }, + { + "layout": { + "col": 4, + "row": 0, + "sizeX": 2, + "sizeY": 12 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Last Recorded Information" + }, + "properties": { + "source": "code", + "template": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DateTemperature (°C)Humidity (%RH)Door Status
{{ entry.ts | date:'medium' }}{{ entry.temperature || '—' }}{{ entry.humidity || '—' }}{{ entry.door_open ? 'Open' : 'Closed' }}
\n
\n" + }, + "sources": [ + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "ts", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#1abc9c", + "name": "ts", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + }, + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#ff0000", + "name": "temperature", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + }, + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "humidity", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#3498db", + "name": "humidity", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + }, + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "door_open", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#9b59b6", + "name": "door_open", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + } + ], + "type": "html_time" + }, + { + "layout": { + "col": 4, + "row": 12, + "sizeX": 2, + "sizeY": 6 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Battery" + }, + "properties": { + "color": "#f0e924", + "max": 4, + "min": 2, + "unit": "V" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "laird_rs1xx_data", + "mapping": "battery", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#1abc9c", + "name": "Source 1", + "source": "bucket", + "timespan": { + "mode": "latest" + } + } + ], + "type": "donutchart" + } + ] + } + ] + } + } + ] + } + } + ] + } +} \ No newline at end of file