-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jaime Trinidad <[email protected]>
- Loading branch information
1 parent
6246425
commit 82e9e6e
Showing
13 changed files
with
819 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Uplink decoder decodes binary data uplink into a JSON object (optional) | ||
# For documentation on writing encoders and decoders, see: https://thethingsstack.io/integrations/payload-formatters/javascript/ | ||
uplinkDecoder: | ||
fileName: wilsen.js | ||
# Examples (optional) | ||
examples: | ||
- description: Payload 1 contains sensor status, battery status and temperature | ||
input: | ||
fPort: 1 | ||
bytes: [3, 12, 4, 0, 6, 2, 1, 65, 174, 102, 102, 3, 81, 1, 36] | ||
output: | ||
data: | ||
battery_vol: 3.6 | ||
payload: '030C040006020141AE666603510124' | ||
sensor_1_status: 'No target detected' | ||
sensor_2_status: 'No target detected' | ||
sensor_status: 0 | ||
temp: 21.8 | ||
errors: [] | ||
warnings: [] | ||
- description: Payload 2 contains proximity in mm, amplitude, battery status, geo location and temperature | ||
input: | ||
fPort: 1 | ||
bytes: [3, 12, 4, 0, 6, 2, 1, 65, 174, 102, 102, 3, 81, 1, 36, 6, 80, 1, 2, 241, 198, 8, 6, 80, 2, 0, 125, 33, 179] | ||
output: | ||
data: | ||
battery_vol: 3.6 | ||
latitude: 49.399304 | ||
longitude: 8.200627 | ||
payload: '030C040006020141AE66660351012406500102F1C608065002007D21B3' | ||
sensor_1_status: 'No target detected' | ||
sensor_2_status: 'No target detected' | ||
sensor_status: 0 | ||
temp: 21.8 | ||
errors: [] | ||
warnings: [] | ||
- description: Payload 3 contains serial number, battery status and counter of LoRa transmission, GPS position determination and sensor measurments | ||
input: | ||
fPort: 1 | ||
bytes: [16, 42, 37, 52, 56, 48, 48, 48, 48, 48, 48, 54, 51, 57, 57, 57, 57, 4, 49, 1, 0, 158, 4, 49, 2, 0, 2, 6, 49, 4, 0, 0, 13, 47, 3, 81, 1, 36] | ||
output: | ||
data: | ||
battery_vol: 3.6 | ||
gps_count: 2 | ||
lora_count: 158 | ||
payload: '102A253438303030303030363339393939043101009E043102000206310400000D2F03510124' | ||
sensing_count: 3375 | ||
serial_nr: '48000000639999' | ||
errors: [] | ||
warnings: [] | ||
# Downlink encoder encodes JSON object into a binary data downlink (optional) | ||
# downlinkEncoder: | ||
# fileName: wilsen.js | ||
# examples: | ||
# - description: Turn off BLE advertising | ||
# input: | ||
# data: | ||
# led: green | ||
# output: | ||
# bytes: [1] | ||
# fPort: 2 | ||
# - description: Invalid color | ||
# input: | ||
# data: | ||
# led: blue | ||
# output: | ||
# errors: | ||
# - invalid LED color | ||
|
||
# Downlink decoder decodes the encoded downlink message (optional, must be symmetric with downlinkEncoder) | ||
# downlinkDecoder: | ||
# fileName: wilsen.js | ||
# examples: | ||
# - description: Turn green | ||
# input: | ||
# fPort: 2 | ||
# bytes: [1] | ||
# output: | ||
# data: | ||
# led: green |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
name: WILSEN.node | ||
description: Wireless node sensor with LoRaWAN interface | ||
|
||
# Hardware versions (optional, use when you have revisions) | ||
hardwareVersions: | ||
- version: '1.3.5' | ||
numeric: 1 | ||
|
||
# Firmware versions (at least one is mandatory) | ||
firmwareVersions: | ||
- # Firmware version | ||
version: '2.5.10' | ||
numeric: 1 | ||
# Corresponding hardware versions (optional) | ||
hardwareVersions: | ||
- '1.3.5' | ||
|
||
# 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: pepperl-fuchs | ||
# Identifier of the profile (lowercase, alphanumeric with dashes, max 36 characters) | ||
id: wilsen-profile | ||
lorawanCertified: false | ||
codec: wilsen-node-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, | ||
# digital output, dissolved oxygen, distance, dust, energy, gps, gyroscope, h2s, hall effect, humidity, iaq, infrared, leaf wetness, level, | ||
# light, lightning, link, magnetometer, moisture, motion, nfc, no, no2, o3, occupancy, optical meter, particulate matter, ph, pir, | ||
# pm2.5, pm10, potentiometer, power, precipitation, pressure, proximity, pulse count, pulse frequency, radar, rainfall, reed switch, rssi, | ||
# sap flow, smart valve, smoke, snr, so2, solar radiation, sound, strain, surface temperature, switch, temperature, tilt, time, turbidity, | ||
# tvoc, uv, vapor pressure, velocity, vibration, voltage, water potential, water, weight, wifi ssid, wind direction, wind speed. | ||
sensors: | ||
- proximity | ||
- digital input | ||
- switch | ||
- occupancy | ||
- gps | ||
- temperature | ||
- battery | ||
|
||
# Additional radios that this device has (optional) | ||
# Valid values are: ble, nfc, wifi, cellular. | ||
additionalRadios: | ||
- ble | ||
|
||
# Dimensions in mm (optional) | ||
# Use width, height, length and/or diameter | ||
dimensions: | ||
width: 182 | ||
length: 81 | ||
height: 71 | ||
|
||
# Weight in grams (optional) | ||
weight: 600 | ||
|
||
# Battery information (optional) | ||
battery: | ||
replaceable: true | ||
type: High capacity lithium battery 3.6 V, 13000 mAh | ||
|
||
# Operating conditions (optional) | ||
operatingConditions: | ||
# Temperature (Celsius) | ||
temperature: | ||
min: -25 | ||
max: 70 | ||
# Relative humidity (fraction of 1) | ||
relativeHumidity: | ||
min: 0 | ||
max: 0 | ||
|
||
# IP rating (optional) | ||
ipCode: IP67 | ||
|
||
# Key provisioning (optional) | ||
# Valid values are: custom (user can configure keys), join server and manifest. | ||
# keyProvisioning: | ||
# - custom | ||
# - join server | ||
|
||
# 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). | ||
keyProgramming: | ||
- bluetooth | ||
|
||
# Key security (optional) | ||
# Valid values are: none, read protected and secure element. | ||
keySecurity: read protected | ||
|
||
# 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 | ||
# - fuota lorawan | ||
|
||
# Product and data sheet URLs (optional) | ||
productURL: https://www.pepperl-fuchs.com/global/en/WILSEN-system.htm | ||
dataSheetURL: https://www.pepperl-fuchs.com/global/en/4507.htm?searchterm=ws-ucc&start=0&rows=10&modifier=beginswith | ||
|
||
# Commercial information | ||
resellerURLs: | ||
- name: 'Zenner International GmbH & Co. KG' | ||
region: | ||
- European Union | ||
url: https://www.mz-connect.com/shop/search?sSearch=wilsen | ||
msrp: | ||
EUR: 349 | ||
|
||
# Photos | ||
photos: | ||
main: wilsen-node.jpg | ||
other: | ||
- wilsen-node.jpg | ||
|
||
# Youtube or Vimeo Video (optional) | ||
videos: | ||
main: https://www.youtube.com/watch?v=TIwY34svRwA | ||
|
||
# Regulatory compliances (optional) | ||
compliances: | ||
ElectromagneticConformityEMC: | ||
- body: ETSI | ||
norm: EN | ||
standard: 301 489-1 | ||
version: 2.2.0 | ||
- body: ETSI | ||
norm: EN | ||
standard: 301 489-3 | ||
version: 2.1.1 | ||
- body: ETSI | ||
norm: EN | ||
standard: 301 489-17 | ||
version: 3.2.0 | ||
- body: ETSI | ||
norm: EN | ||
standard: 301 489-19 | ||
version: 2.1.0 | ||
radioEquipment: | ||
- body: ETSI | ||
norm: EN | ||
standard: 300 220-2 | ||
version: 3.1.1 | ||
- body: ETSI | ||
norm: EN | ||
standard: 300 328 | ||
version: 2.1.1 | ||
- body: ETSI | ||
norm: EN | ||
standard: 303 413 | ||
version: 1.1.1 | ||
RoHS: | ||
- body: DIN | ||
norm: EN | ||
standard: 50581 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.