diff --git a/laird-rs1xx-ext-temp-1w-sensor/CHANGELOG.md b/laird-rs1xx-ext-temp-1w-sensor/CHANGELOG.md new file mode 100644 index 00000000..393db04c --- /dev/null +++ b/laird-rs1xx-ext-temp-1w-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-ext-temp-1w-sensor/LICENSE.md b/laird-rs1xx-ext-temp-1w-sensor/LICENSE.md new file mode 100644 index 00000000..bffeef34 --- /dev/null +++ b/laird-rs1xx-ext-temp-1w-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-ext-temp-1w-sensor/README.md b/laird-rs1xx-ext-temp-1w-sensor/README.md new file mode 100644 index 00000000..6ca1ff13 --- /dev/null +++ b/laird-rs1xx-ext-temp-1w-sensor/README.md @@ -0,0 +1,58 @@ +# Sentrius RS1xx Ext Temp 1W Sensor + +The Laird Sentrius™ RS1xx Ext Temp 1W Sensor is a battery-powered, long-range sensor platform featuring an external temperature sensor probe. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication, making it ideal for industrial applications requiring remote temperature monitoring. The robust IP65 sensor enclosure allows it to be deployed in harsh environments. + +## Features + +- **Dual Wireless Connectivity**: LoRaWAN and Bluetooth v4.2 (Central/Peripheral) +- **External Temperature Probe**: 1-Wire temperature sensor with stainless steel probe +- **Integrated Antennas**: Custom Laird antenna for 868, 915, or 923 MHz +- **Rugged Enclosure**: IP65-rated for harsh environment protection +- **Battery Powered**: Long-lasting battery operation for remote deployments +- **Compact Design**: 116 x 91 x 34 mm dimensions +- **Operating Temperature Range**: -25°C to 50°C + +## Use Cases + +- Cold chain monitoring +- Industrial temperature monitoring +- HVAC systems +- Process control +- Warehouse monitoring +- Agricultural applications + +## Thinger.io Integration + +This device integrates with Thinger.io through LoRaWAN network servers, enabling real-time temperature data monitoring, visualization, and alerting capabilities. + +## Requirements + +A LoRaWAN server is required to communicate the Sentrius RS1xx Ext Temp 1W 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 Product Page](https://www.ezurio.com/iot-devices/lorawan-iot-devices/sentrius-rs1xx-lora-enabled-sensors) +- [Thinger docs](https://docs.thinger.io) \ No newline at end of file diff --git a/laird-rs1xx-ext-temp-1w-sensor/assets/rs1xx-ext-sensor.jpg b/laird-rs1xx-ext-temp-1w-sensor/assets/rs1xx-ext-sensor.jpg new file mode 100644 index 00000000..ade5025f Binary files /dev/null and b/laird-rs1xx-ext-temp-1w-sensor/assets/rs1xx-ext-sensor.jpg differ diff --git a/laird-rs1xx-ext-temp-1w-sensor/plugin.json b/laird-rs1xx-ext-temp-1w-sensor/plugin.json new file mode 100644 index 00000000..36bef18f --- /dev/null +++ b/laird-rs1xx-ext-temp-1w-sensor/plugin.json @@ -0,0 +1,444 @@ +{ + "name": "laird_rs1xx_ext_temp_1w_sensor", + "version": "1.0.0", + "description": "The Laird Sentrius™ RS1xx Temp/-RH has an external temperature sensor probe and humidity sensor making it a perfect fit for industrial applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The robust IP65 sensor enclosure a", + "author": "Thinger.io", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/thinger-io/plugins.git", + "directory": "laird-rs1xx-ext-temp-1w-sensor" + }, + "metadata": { + "name": "Laird RS1XX-EXT-TEMP-1W-SENSOR", + "description": "The Laird Sentrius™ RS1xx Temp/-RH has an external temperature sensor probe and humidity sensor making it a perfect fit for industrial applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The robust IP65 sensor enclosure a", + "image": "assets/rs1xx-ext-sensor.jpg", + "category": "devices", + "vendor": "laird" + }, + "resources": { + "products": [ + { + "description": "The Laird Sentrius™ RS1xx Temp/-RH has an external temperature sensor probe and humidity sensor making it a perfect fit for industrial applications. It uses LoRaWAN® and Bluetooth Low Energy (BLE) for data communication. The robust IP65 sensor enclosure a", + "enabled": true, + "name": "Laird RS1XX-EXT-TEMP-1W-SENSOR", + "product": "laird_rs1xx_ext_temp_1w_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" + } + } + }, + "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" + } + } + } + }, + "autoprovisions": { + "device_autoprovisioning": { + "config": { + "mode": "pattern", + "pattern": "laird-rs1xx-.*" + }, + "enabled": true + } + }, + "buckets": { + "device_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": [] + } + }, + "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 External Temperature" + }, + "properties": { + "axis": true, + "fill": false, + "legend": true, + "multiple_axes": true + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "device_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#ff0000", + "name": "External 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": "device_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": "External Temperature" + }, + "properties": { + "color": "#ff0000", + "max": 85, + "min": -40, + "unit": "°C" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "device_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#e74c3c", + "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": "device_data", + "mapping": "humidity", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#3498db", + "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": "Battery Voltage" + }, + "properties": { + "color": "#f1c40f", + "max": 3.6, + "min": 2, + "unit": "V" + }, + "sources": [ + { + "bucket": { + "backend": "mongodb", + "id": "device_data", + "mapping": "battery", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#f39c12", + "name": "Source 1", + "source": "bucket", + "timespan": { + "mode": "latest" + } + } + ], + "type": "donutchart" + }, + { + "layout": { + "col": 4, + "row": 0, + "sizeX": 2, + "sizeY": 18 + }, + "panel": { + "color": "#ffffff", + "currentColor": "#ffffff", + "showOffline": { + "type": "none" + }, + "title": "Recent Sensor Data" + }, + "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)Battery (V)
{{ entry.ts | date:'medium' }}{{ entry.temperature || '—' }}{{ entry.humidity || '—' }}{{ entry.battery || '—' }}
\n
\n" + }, + "sources": [ + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "device_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": "device_data", + "mapping": "temperature", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#e74c3c", + "name": "temperature", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + }, + { + "aggregation": {}, + "bucket": { + "backend": "mongodb", + "id": "device_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": "device_data", + "mapping": "battery", + "tags": { + "device": [], + "group": [] + } + }, + "color": "#f39c12", + "name": "battery", + "source": "bucket", + "timespan": { + "magnitude": "hour", + "mode": "relative", + "period": "latest", + "value": 24 + } + } + ], + "type": "html_time" + } + ] + } + ] + } + } + ] + } + } + ] + } +} \ No newline at end of file