-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding additional devices * Add more Yobiiq devices * Run make validate fmt * Updated iq-rm200-lrw codec for firmware v2.1 * Updated the regionalParametersVersion --------- Co-authored-by: Dominic Hakke <d.hakke@yobiiq.com> Co-authored-by: yobiiq-fostin <fostin.yobiiq@gmail.com> Co-authored-by: yobiiq-fostin <144010972+yobiiq-fostin@users.noreply.github.com> Co-authored-by: Dominic Hakke <155689907+dhakke@users.noreply.github.com>
- Loading branch information
1 parent
7957896
commit 169a85f
Showing
30 changed files
with
5,476 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# 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: em2101.js | ||
examples: | ||
- description: Device basic information | ||
input: | ||
fPort: 50 | ||
bytes: [255, 9, 2, 0, 255, 10, 35, 1, 255, 22, 1, 237, 3, 51, 255, 15, 2, 255, 11, 1, 255, 0, 1, 255, 40, 69, 77, 50, 49, 48, 49] | ||
output: | ||
data: | ||
hardwareVersion: 'V2.0' | ||
firmwareVersion: 'V23.1' | ||
deviceSerialNumber: 32310067 | ||
deviceClass: 'Class C' | ||
powerEvent: 'AC Power On' | ||
relayStatus: 'HIGH' | ||
deviceModel: 'EM2101' | ||
codecVersion: '1.0.1' | ||
genericModel: 'EM2101' | ||
productCode: 'P1002009' | ||
manufacturer: 'YOBIIQ B.V.' | ||
|
||
- description: Device default periodic uplink | ||
input: | ||
fPort: 1 | ||
bytes: [1, 1, 103, 60, 41, 36, 2, 3, 103, 60, 37, 220, 3, 4, 0, 0, 0, 0, 4, 5, 0, 0, 233, 208, 11, 10, 0] | ||
output: | ||
data: | ||
timestamp: 1731995940 | ||
dataloggerTimestamp: 1731995100 | ||
activeEnergyImportL1T1: | ||
data: 0 | ||
unit: 'Wh' | ||
activeEnergyImportL1T2: | ||
data: 59856 | ||
unit: 'Wh' | ||
modbusErrorCode: 0 | ||
codecVersion: '1.0.1' | ||
genericModel: 'EM2101' | ||
productCode: 'P1002009' | ||
manufacturer: 'YOBIIQ B.V.' | ||
|
||
- description: Device change of state alarm | ||
input: | ||
fPort: 11 | ||
bytes: [1, 1, 1, 2, 2, 0] | ||
output: | ||
data: | ||
relayStatus: 'CLOSED' | ||
digitalInputStatus: 'OPEN' | ||
codecVersion: '1.0.1' | ||
genericModel: 'EM2101' | ||
productCode: 'P1002009' | ||
manufacturer: 'YOBIIQ B.V.' | ||
|
||
- description: Device logging events | ||
input: | ||
fPort: 60 | ||
bytes: [253, 1, 1, 253, 2, 2, 253, 8, 1] | ||
output: | ||
data: | ||
relaySwitchingOffReason: 'Due to too high current limit' | ||
relayEnableReason: 'By reset from the Lora network' | ||
resetAmountStatus: 'Current reset count is less than the reset amount' | ||
codecVersion: '1.0.1' | ||
genericModel: 'EM2101' | ||
productCode: 'P1002009' | ||
manufacturer: 'YOBIIQ B.V.' | ||
|
||
- description: Device parameters | ||
input: | ||
fPort: 50 | ||
bytes: [255, 60, 0, 100, 255, 61, 0, 250, 255, 62, 14, 16, 255, 63, 0, 60, 255, 64, 0, 60, 255, 65, 0, 60, 255, 66, 0, 60, 255, 67, 2, 88, 255, 68, 3] | ||
output: | ||
data: | ||
currentLimitFallback: | ||
data: 10 | ||
unit: 'A' | ||
voltageLimitFallback: | ||
data: 250 | ||
unit: 'V' | ||
powerLimitFallback: | ||
data: 3600 | ||
unit: 'W' | ||
deactivationDelayFallback: | ||
data: 60 | ||
unit: 's' | ||
activationDelayFallback: | ||
data: 60 | ||
unit: 's' | ||
offsetCurrentFallback: | ||
data: 6 | ||
unit: 'A' | ||
offsetDelayFallback: | ||
data: 60 | ||
unit: 's' | ||
resetTimeFallback: | ||
data: 600 | ||
unit: 's' | ||
resetAmountFallback: 3 | ||
codecVersion: '1.0.1' | ||
genericModel: 'EM2101' | ||
productCode: 'P1002009' | ||
manufacturer: 'YOBIIQ B.V.' |
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,47 @@ | ||
# 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 | ||
# If your device is an ABP device (supportsJoin is false), uncomment the following fields: | ||
# RX1 delay | ||
#rx1Delay: 5 | ||
# RX1 data rate offset | ||
#rx1DataRateOffset: 0 | ||
# RX2 data rate index | ||
#rx2DataRateIndex: 0 | ||
# RX2 frequency (MHz) | ||
#rx2Frequency: 869.525 | ||
# Factory preset frequencies (MHz) | ||
#factoryPresetFrequencies: [868.1, 868.3, 868.5, 867.1, 867.3, 867.5, 867.7, 867.9] | ||
|
||
# Maximum EIRP | ||
maxEIRP: 16 | ||
# Whether the end device supports 32-bit frame counters | ||
supports32bitFCnt: true | ||
|
||
# Whether the end device supports class B | ||
supportsClassB: false | ||
# If your device supports class B, uncomment the following fields: | ||
# Maximum delay for the end device to answer a MAC request or confirmed downlink frame (seconds) | ||
#classBTimeout: 60 | ||
# Ping slot period (seconds) | ||
#pingSlotPeriod: 128 | ||
# Ping slot data rate index | ||
#pingSlotDataRateIndex: 0 | ||
# Ping slot frequency (MHz). Set to 0 if the band supports ping slot frequency hopping. | ||
#pingSlotFrequency: 869.525 | ||
|
||
# Whether the end device supports class C | ||
supportsClassC: true | ||
# If your device supports class C, uncomment the following fields: | ||
# Maximum delay for the end device to answer a MAC request or confirmed downlink frame (seconds) | ||
classCTimeout: 60 |
Oops, something went wrong.