Skip to content

Commit

Permalink
Add SenseCAP Indicator and update the decoder of SenseCAP tracker (#659)
Browse files Browse the repository at this point in the history
* Add sensecap s2120 and update s2100 decoder file.

* Add sensecap s2120 and update s2100 decoder file.

* fixes

* modify 8-in-1 files.

* Update sensecaps2120-8-in-1.yaml

modify some parameters

* Use PNG file format

* Update sensecap2120-8-in-1-codec.yaml

* update sensecaps2120-8-in-1-codec

* Update sensecap2100-codec file

* Add Sensecapt1000 tracker a/b

* fix sensors

* decoder dile name

* Add SenseCAP Indicator and update the decoder of SenseCAP Tracker

* Update tracker profile

* Update the indicator picture

* fix file format

* Fix

---------

Co-authored-by: Jaime Trinidad <[email protected]>
Co-authored-by: Jaime Trinidad <[email protected]>
Co-authored-by: Johan Stokking <[email protected]>
Co-authored-by: limengdu <[email protected]>
  • Loading branch information
5 people authored Feb 29, 2024
1 parent 89b02e6 commit b27ec4c
Show file tree
Hide file tree
Showing 8 changed files with 539 additions and 115 deletions.
1 change: 1 addition & 0 deletions vendor/seeed/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ endDevices:
- loradevelopkit-e5 # look in windsensor.yaml for the end device definition
- loraeminidevboard-e5
- lorawan-dev-kit
- sensecap-indicator
Binary file modified vendor/seeed/loraeminidevboard-e5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vendor/seeed/sensecap-indicator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions vendor/seeed/sensecap-indicator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Seeed SenseCAP Indicator
description: SenseCAP Indicator is a 4-inch touch screen driven by ESP32 and RP2040 dual-MCU and supports Wi-Fi/BLE/LoRa® communication. It is a fully open-source powerful IoT development platform for developers. One-stop ODM Fusion service is also available for customization and quick scale-up.

# Hardware versions (optional, use when you have revisions)
hardwareVersions:
- version: '1.0'
numeric: 1

# Firmware versions (at least one is mandatory)
firmwareVersions:
- # Firmware version
version: '1.0'
numeric: 1
# Corresponding hardware versions (optional)
hardwareVersions:
- '1.0'

# Firmware features (optional)
# Valid values are: remote rejoin (trigger a join from the application layer), transmission interval (configure how
# often he device sends a message).

# LoRaWAN Device Profiles per region
# Supported regions are EU863-870, US902-928, AU915-928, AS923, CN779-787, EU433, CN470-510, KR920-923, IN865-867,
# RU864-870
profiles:
EU863-870:
# Optional identifier of the vendor of the profile. When you specify the vendorID, the profile is loaded from
# the vendorID's folder. This allows you to reuse profiles from module or LoRaWAN end device stack vendors.
# If vendorID is empty, the current vendor ID is used. In this example, the vendorID is the current vendor ID,
# which is verbose.
# vendorID: example
# Identifier of the profile (lowercase, alphanumeric with dashes, max 36 characters)
id: loradevelopkit-e5-profile-868
lorawanCertified: true
codec: loradevelopkit-e5-codec
US902-928:
id: loradevelopkit-e5-profile-915
lorawanCertified: true
codec: loradevelopkit-e5-codec

# Sensors that this device features (optional)
# Valid values are:
# 4-20 ma, accelerometer, altitude, analog input, auxiliary, barometer, battery, button, bvoc, co, co2, conductivity,
# current, digital input, dissolved oxygen, distance, dust, energy, gps, gyroscope, h2s, humidity, iaq, level, light,
# lightning, link, magnetometer, moisture, motion, no, no2, o3, particulate matter, ph, pir, pm2.5, pm10, potentiometer,
# power, precipitation, pressure, proximity, pulse count, pulse frequency, radar, rainfall, rssi, smart valve, snr, so2,
# solar radiation, sound, strain, surface temperature, temperature, tilt, time, tvoc, uv, vapor pressure, velocity,
# vibration, voltage, water potential, water, weight, wifi ssid, wind direction, wind speed.

# Additional radios that this device has (optional)
# Valid values are: ble, nfc, wifi, cellular.

# Bridge interfaces (optional)
# Valid values are: modbus, m-bus, can bus, rs-485, sdi-12, analog.

# Dimensions in mm (optional)
# Use width, height, length and/or diameter
dimensions:
width: 93
length: 97
height: 18

# Weight in grams (optional)
weight: 273

# Battery information (optional)

# Relative humidity (fraction of 1)

# Key provisioning (optional)
# Valid values are: custom (user can configure keys), join server and manifest.
keyProvisioning:
- custom

# Key programming (optional)
# Valid values are: bluetooth, nfc, wifi, serial (when the user has a serial interface to set the keys)
# and firmware (when the user should change the firmware to set the keys).

# Key security (optional)
# Valid values are: none, read protected and secure element.
keySecurity: none

# Firmware programming (optional)
# Valid values are: serial (when the user has a serial interface to update the firmware), fuota lorawan (when the device
# supports LoRaWAN FUOTA via standard interfaces) and fuota other (other wireless update mechanism).
firmwareProgramming:
- serial

# Product and data sheet URLs (optional)
productURL: https://www.seeedstudio.com/SenseCAP-Indicator-D1L-p-5646.html
dataSheetURL: https://wiki.seeedstudio.com/Sensor/SenseCAP/SenseCAP_Indicator/Get_started_with_SenseCAP_Indicator/#specification

# Commercial information

# Photos
photos:
main: sensecap-indicator.png
24 changes: 24 additions & 0 deletions vendor/sensecap/sensecap-tracker-profile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Vendor profile ID, can be freely issued by the vendor
# This vendor profile ID is also used on the QR code for LoRaWAN devices, see
# https://lora-alliance.org/sites/default/files/2020-10/LoRa_Alliance_Vendor_ID_for_QR_Code.pdf
vendorProfileID: 744
# Whether the end device supports class B
supportsClassB: false
# Whether the end device supports class C
supportsClassC: false
# LoRaWAN MAC version: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 or 1.1
macVersion: 1.0.4
# LoRaWAN Regional Parameters version. Values depend on the LoRaWAN version:
# 1.0: TS001-1.0
# 1.0.1: TS001-1.0.1
# 1.0.2: RP001-1.0.2 or RP001-1.0.2-RevB
# 1.0.3: RP001-1.0.3-RevA
# 1.0.4: RP002-1.0.0 or RP002-1.0.1
# 1.1: RP001-1.1-RevA or RP001-1.1-RevB
regionalParametersVersion: RP002-1.0.3
# Whether the end device supports join (OTAA) or not (ABP)
supportsJoin: true
# Maximum EIRP
maxEIRP: 16
# Whether the end device supports 32-bit frame counters
supports32bitFCnt: true
2 changes: 1 addition & 1 deletion vendor/sensecap/sensecap2120-8-in-1-decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,4 +388,4 @@ function bytes2HexString (arrBytes) {
str += tmp
}
return str
}
}
Loading

0 comments on commit b27ec4c

Please sign in to comment.