Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dots basic translators #1

Open
wants to merge 99 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
b13880a
Chirpstack and TTN basic translator templates for dots products.
dparyani Mar 14, 2024
4dbe2b3
basic translators generator commonJS file.
dparyani Mar 14, 2024
4462833
Added export knownSchemas statement to the template and generated dot…
dparyani Mar 16, 2024
e71c240
Chirpstack and TTN template file changes.
dparyani Mar 16, 2024
04b5202
Basic translators shell script updated.
dparyani Mar 16, 2024
6d3fada
working node js script to generate R11+ dots products' basic translat…
dparyani Mar 16, 2024
456eeec
Chirpstack LNS generated R11+ dots products' basic translators ES5 Ja…
dparyani Mar 16, 2024
f0a6307
TheThingsNetwork LNS generated R11+ dots products' basic translators …
dparyani Mar 16, 2024
89d7a36
git ignore vscode related project file
dparyani Mar 16, 2024
2ace038
Added support for chirpstack v4, renamed respective folders & file(s)…
dparyani Mar 20, 2024
93923c6
Filter out schemas where mapData do not have any output field.
dparyani Apr 18, 2024
09901d6
export knownSchemas updated based on feedback from Lars Mats.
dparyani Apr 19, 2024
924e609
Fixed some bugs and modularized code.
dparyani Apr 20, 2024
323db52
cosmetic changes to be similar to ttn template.
dparyani Apr 20, 2024
b44500a
Updated Chirpstack V3, V4 and TTN basic translators uptill R14.
dparyani Apr 20, 2024
3d8324a
Removed unwanted commented code.
dparyani Apr 21, 2024
cfc8e73
Removed unwanted commented code.
dparyani Apr 21, 2024
723191f
Updated README with basic translator information
James-Holmquist May 8, 2024
0fe90bf
Updated Translators for release R15
dparyani May 14, 2024
2d055b7
Added references in the README to the basic translator branch.
James-Holmquist May 15, 2024
152aa53
Updated README with basic translator information
James-Holmquist May 8, 2024
7d34334
Updated script file to be able to run from ZShell.
dparyani Jul 2, 2024
d63fe4a
Added documentation related to each function.
dparyani Jul 2, 2024
2f3d67e
Added comment generator to show similar schema for CRCs above schema …
dparyani Jul 2, 2024
6bf7afb
R16 related updates.
dparyani Jul 2, 2024
bd63f74
Updated respective LNS' templates as per the changes in dots-translat…
dparyani Jul 17, 2024
7484ab7
Improvization with naming generated basic translator filenames.
dparyani Jul 17, 2024
2e538ed
Updated basic translators for R18 release.
dparyani Jul 17, 2024
cd06f90
Added references in the README to the basic translator branch.
James-Holmquist May 15, 2024
83872f6
Original README.md for this branch.
dparyani Jul 19, 2024
5b632cc
Updated basic translators to reflect R19 release.
dparyani Jul 19, 2024
e0d2c28
Fixed ES6 related issue. Chirpstack V3 follows ES5.
dparyani Jul 29, 2024
6f4cc41
Chirpstack V3 R19 related basic translators regenerated.
dparyani Jul 29, 2024
1ec4c26
Re-generated basic translators uptill R21.
dparyani Aug 9, 2024
c597272
Error in app crc calculation.
dparyani Aug 15, 2024
94ae27b
Error in app crc calculation - basic translators re-generated.
dparyani Aug 15, 2024
aaa14a4
Added README to Dots Basic Translators branch
bjornakesson4 Oct 22, 2024
7b09cc9
Plural fix
bjornakesson4 Oct 22, 2024
ec9a0a5
Added Applications table to README
bjornakesson4 Oct 22, 2024
2d1e875
Typo
bjornakesson4 Oct 22, 2024
15e9837
Updated for release R23.
dparyani Oct 25, 2024
89ec2c1
Sort mapData based on second item column and then based on third iste…
dparyani Oct 26, 2024
cbf63e7
Refactored code/files....new requirement superset mapData implemented…
dparyani Oct 28, 2024
d386612
Updated script file for executing the basic translators generation code.
dparyani Oct 28, 2024
732a6b5
Regenerated basic translators based on the new requirement.
dparyani Oct 28, 2024
a2ada80
Updated basic translators with R24 release
dparyani Nov 15, 2024
358696e
Bug fix: toISOString not needed in addSemtechWifiObject for TTN.
dparyani Nov 25, 2024
3525f06
regenerated ttn basic translators.
dparyani Nov 25, 2024
5ad051a
Updated LNS templates.
dparyani Nov 29, 2024
b9de293
Script to perform git activities for the basic translator branch.
dparyani Nov 29, 2024
f84b4c0
Updated Basic translators to R25
dparyani Nov 29, 2024
959445f
Script updated to generate basic translators for valid products.
dparyani Dec 2, 2024
a41304a
Regenrated R25 for valid products' apps.
dparyani Dec 2, 2024
9fb8d14
Cosmetic syntax error fix.
dparyani Dec 6, 2024
c7df445
ES5 error fixes.
dparyani Jan 24, 2025
de5be89
Regenerated basic translators after bug fix.
dparyani Jan 24, 2025
9e1e0ff
Fix for fport 23 not working in Chirpstack.
dparyani Jan 27, 2025
e9cad33
[Re-generated device translators] Fix for fport 23 not working in Chi…
dparyani Jan 27, 2025
e2c1cb7
Text formatting adjustment
Sensative-Lars-Mats Dec 9, 2024
ab1fcbf
New lifefinder apps
Sensative-Lars-Mats Dec 10, 2024
da9e9fa
Correction based on Dhiraj's review
Sensative-Lars-Mats Dec 12, 2024
09577a9
WIP
Sensative-Lars-Mats Dec 18, 2024
b4ba4c6
Corrected error
Sensative-Lars-Mats Dec 18, 2024
d21c51d
Working mesh translation through yggio
Sensative-Lars-Mats Dec 18, 2024
27b6cf8
Updated with one more mesh app (test app)
Sensative-Lars-Mats Dec 19, 2024
930ae8c
Update of mesh representation
Sensative-Lars-Mats Dec 19, 2024
5d933b2
Updated motion app
Sensative-Lars-Mats Dec 19, 2024
a2b39e5
Upped version
Sensative-Lars-Mats Dec 19, 2024
0fe905b
new version for mesh comfort timecount app
Sensative-Lars-Mats Dec 20, 2024
1dd0c02
New version
Sensative-Lars-Mats Dec 20, 2024
29b4d1e
Added motion measure unconfirmed variant
Sensative-Lars-Mats Dec 20, 2024
4c1df03
WIP: Integrating updated mesh applications
Sensative-Lars-Mats Jan 9, 2025
c2cc8e8
New lifefinder apps
Sensative-Lars-Mats Jan 15, 2025
3b0efd6
Adding new version 106, mostly lifefinder apps update
Sensative-Lars-Mats Jan 15, 2025
3a68cdc
Corrected time ordering of 0-time diff reports
Sensative-Lars-Mats Jan 20, 2025
bed69fa
Remake ordering of 0-time-difference outputs (older follows newer, no…
Sensative-Lars-Mats Jan 20, 2025
892fa19
Remade ordering in time for outputs with zero-time-difference
Sensative-Lars-Mats Jan 20, 2025
c20589c
New Motion Spectrum analysis app.
Sensative-Lars-Mats Jan 24, 2025
54c3fb8
New motion spectrum app version
Sensative-Lars-Mats Jan 25, 2025
e78b335
New version
Sensative-Lars-Mats Jan 25, 2025
b44ed6e
Added decode of mesh stats
Sensative-Lars-Mats Jan 27, 2025
404ab14
Add timestamp to mesh stats
Sensative-Lars-Mats Jan 27, 2025
6cec408
Updated motion spectrum and mesh apps
Sensative-Lars-Mats Jan 27, 2025
84b9139
Correction
Sensative-Lars-Mats Jan 27, 2025
3105f16
1) Added generation of separate release-only translator (only release…
Sensative-Lars-Mats Jan 27, 2025
200e11c
New version of temp modules updates most apps
Sensative-Lars-Mats Jan 28, 2025
46f0eb7
Version 0.2.115
Sensative-Lars-Mats Jan 28, 2025
7c4cd98
Added port 300+ for mesh uplinks, ensuring that they cannot be confus…
Sensative-Lars-Mats Jan 28, 2025
7e1a229
Added mesh comfort extender application
Sensative-Lars-Mats Jan 28, 2025
be80298
New app - comfort mesh extender
Sensative-Lars-Mats Jan 28, 2025
5ff5082
New lifefinder versions
Sensative-Lars-Mats Jan 30, 2025
43e383c
R26 included
Sensative-Lars-Mats Jan 30, 2025
2010222
Updated templates based on parent and in ES5 format.
dparyani Jan 30, 2025
4fff111
Added motion-spectrum sensor + some refactoring.
dparyani Jan 30, 2025
9c424a0
Missing export fix.
dparyani Jan 30, 2025
9c58ee6
Re-generated basic translators based on Release 26
dparyani Jan 30, 2025
7555c98
Updated applications and respective data in the README file.
dparyani Jan 30, 2025
17236e6
Cosmetic fix.
dparyani Jan 30, 2025
f63dd59
Couple of Bug fixes.
dparyani Jan 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated Translators for release R15
  • Loading branch information
dparyani committed Nov 29, 2024
commit 0fe90bfae42fadb1415591211ad00adf081ca370
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Filename,Product Application,Versions,CRCs
chirpstack-v3/Airport-int-R11-to-R14.js,Airport-int,R11 R12 R13 R14,1695912328|1872032769
chirpstack-v3/Default-R11-to-R14.js,Default,R11 R12 R13 R14,2132727044
chirpstack-v3/Digital-gpio-R11-to-R14.js,Digital-gpio,R11 R12 R13 R14,1617091456|3497448490
chirpstack-v3/Gnss-autonomous-test-R11-to-R14.js,Gnss-autonomous-test,R11 R12 R13 R14,1815337626
chirpstack-v3/Heartstarter-R11-to-R14.js,Heartstarter,R11 R12 R13 R14,1727723267
chirpstack-v3/Lifefinder-R11-to-R14.js,Lifefinder,R11 R12 R13 R14,47853213|3321548430
chirpstack-v3/Lifefinder-motion-R11-to-R14.js,Lifefinder-motion,R11 R12 R13 R14,1938827428|3031484599
chirpstack-v3/Lifefinder-squad-R11-to-R14.js,Lifefinder-squad,R11 R12 R13 R14,399948366|3505805917
chirpstack-v3/Lifefinder-wifi-R11-to-R14.js,Lifefinder-wifi,R11 R12 R13 R14,691254335|3994244140
chirpstack-v3/Motion-measure-R11-to-R14.js,Motion-measure,R11 R12 R13 R14,2297466901
chirpstack-v3/Puck-radar-R13-to-R14.js,Puck-radar,R13 R14,561898260
chirpstack-v3/Airport-int-R11-to-R15.js,Airport-int,R11 R12 R13 R14 R15,1695912328|1872032769
chirpstack-v3/Default-R11-to-R15.js,Default,R11 R12 R13 R14 R15,2132727044
chirpstack-v3/Digital-gpio-R11-to-R15.js,Digital-gpio,R11 R12 R13 R14 R15,1617091456|3497448490
chirpstack-v3/Gnss-autonomous-test-R11-to-R15.js,Gnss-autonomous-test,R11 R12 R13 R14 R15,1815337626
chirpstack-v3/Heartstarter-R11-to-R15.js,Heartstarter,R11 R12 R13 R14 R15,1727723267
chirpstack-v3/Lifefinder-R11-to-R15.js,Lifefinder,R11 R12 R13 R14 R15,47853213|3321548430
chirpstack-v3/Lifefinder-motion-R11-to-R15.js,Lifefinder-motion,R11 R12 R13 R14 R15,1938827428|3031484599
chirpstack-v3/Lifefinder-squad-R11-to-R15.js,Lifefinder-squad,R11 R12 R13 R14 R15,399948366|3505805917
chirpstack-v3/Lifefinder-wifi-R11-to-R15.js,Lifefinder-wifi,R11 R12 R13 R14 R15,691254335|3994244140
chirpstack-v3/Motion-measure-R11-to-R15.js,Motion-measure,R11 R12 R13 R14 R15,2297466901
chirpstack-v3/Puck-radar-R13-to-R15.js,Puck-radar,R13 R14 R15,561898260
chirpstack-v3/Puck-radar-R11-to-R12.js,Puck-radar,R11 R12,1325798073
chirpstack-v3/Puck-radar-fast-rejoin-R12.js,Puck-radar-fast-rejoin,R12,729172455
chirpstack-v3/Puck-radar-fast-rejoin-R13-to-R14.js,Puck-radar-fast-rejoin,R13 R14,1121182195
chirpstack-v3/Square-air-R11-to-R14.js,Square-air,R11 R12 R13 R14,472391447|915094797|4002204643
chirpstack-v3/Square-comfort-R14.js,Square-comfort,R14,2696231198
chirpstack-v3/Puck-radar-fast-rejoin-R13-to-R15.js,Puck-radar-fast-rejoin,R13 R14 R15,1121182195
chirpstack-v3/Square-air-R11-to-R15.js,Square-air,R11 R12 R13 R14 R15,472391447|915094797|3634715455|4002204643
chirpstack-v3/Square-comfort-R14-to-R15.js,Square-comfort,R14 R15,2266505222|2696231198
chirpstack-v3/Square-comfort-R11-to-R13.js,Square-comfort,R11 R12 R13,3530880224|4174894842
chirpstack-v3/Square-comfort-sound-R11-to-R14.js,Square-comfort-sound,R11 R12 R13 R14,517999093|2387046759|2766427005
chirpstack-v3/Tracker-R11-to-R14.js,Tracker,R11 R12 R13 R14,489186430
chirpstack-v3/Tracker-stats-R11-to-R14.js,Tracker-stats,R11 R12 R13 R14,1711284143
chirpstack-v3/Square-comfort-sound-R11-to-R15.js,Square-comfort-sound,R11 R12 R13 R14 R15,517999093|2338085954|2387046759|2766427005
chirpstack-v3/Tracker-R11-to-R15.js,Tracker,R11 R12 R13 R14 R15,489186430
chirpstack-v3/Tracker-stats-R11-to-R15.js,Tracker-stats,R11 R12 R13 R14 R15,1711284143
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1695912328: {
name: "Airport-int",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalHours 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M input motionThreshold_mm_s2 179 0xb3 1 + M input limitedScanChannels 184 0xb8 1 + M input fullScanChannels 185 0xb9 1 + M output motionCount 186 0xba 1 + M input quarterlyScanBudget 163 0xa3 1 + M input maxBudget 180 0xb4 1 + M input singleWifiScanAgain_minutes 164 0xa4 1 + M input minimumWifiCount 165 0xa5 1 + M input fullWifiScan_minutes 166 0xa6 1 + M input gpsScan_minutes 167 0xa7 1 + M input motionCountEnabled 168 0xa8 1 + M input abandonedCartTime_minutes 181 0xb5 1 + M output abandonedCart 169 0xa9 1 + M output batteryPercent 170 0xaa 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
2132727044: {
name: "Default",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output helloDefaultApp 160 0xa0 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1617091456: {
name: "Digital-gpio",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output detection 128 0x80 1 + M input activation 129 0x81 1 + M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalHours 161 0xa1 1 + M output tempAlarm 130 0x82 1 + M input tempAlarmLowLevel 162 0xa2 1 + M input tempAlarmHighLevel 163 0xa3 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1815337626: {
name: "Gnss-autonomous-test",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output numSatellites 160 0xa0 1 + M output bestSatellites 184 0xb8 1 + M output scanCount 185 0xb9 1 + M output batteryPercent 161 0xa1 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1727723267: {
name: "Heartstarter",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalHours 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output buttonDetect 129 0x81 1 + M output motionDetect 130 0x82 1 + M input soundScanIntervalMinutes 179 0xb3 1 + M input soundScanMinimumRepeat 163 0xa3 1 + M output soundIntervalS 152 0x98 0.001 + M output soundRepeat 131 0x83 1 + M input motionThresholdG 180 0xb4 0.001 + M output volts 181 0xb5 0.001 + M output batteryPercent 164 0xa4 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
47853213: {
name: "Lifefinder",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output batteryPercent 163 0xa3 1 + M output alarmTime 144 0x90 1 + M output capAlarm 129 0x81 1 + M output buttonAlarm 130 0x82 1 + M output capReport1 179 0xb3 1 + M output capReport2 180 0xb4 1 + M output soundAlarm 131 0x83 1 + M output volts 181 0xb5 0.001 + M input enableCapReports 165 0xa5 1 + M input capAlarmLevel 182 0xb6 1 + M input alarmAck 164 0xa4 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1938827428: {
name: "Lifefinder-motion",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output batteryPercent 163 0xa3 1 + M output alarmTime 144 0x90 1 + M output buttonAlarm 129 0x81 1 + M output volts 179 0xb3 0.001 + M input alarmAck 164 0xa4 1 + M output motion 165 0xa5 1 + M output motionAlarm 166 0xa6 1 + M input motionThreshold 180 0xb4 0.001"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
399948366: {
name: "Lifefinder-squad",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output batteryPercent 163 0xa3 1 + M output alarmTime 144 0x90 1 + M output buttonAlarm 129 0x81 1 + M output volts 179 0xb3 0.001 + M input maxAlarmMinutes 180 0xb4 1 + M input alarmAck 164 0xa4 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
691254335: {
name: "Lifefinder-wifi",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output batteryPercent 163 0xa3 1 + M output alarmTime 144 0x90 1 + M output buttonAlarm 129 0x81 1 + M output volts 179 0xb3 0.001 + M input maxAlarmMinutes 180 0xb4 1 + M input alarmAck 164 0xa4 1 + M input limitedScanChannels 184 0xb8 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
2297466901: {
name: "Motion-measure",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalHours 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M output accX 144 0x90 0.001 + M output accY 145 0x91 0.001 + M output accZ 146 0x92 0.001 + M output pressure_hPa 184 0xb8 0.01 + M input motionThreshold_m_s2 179 0xb3 0.001 + M input sampleInterval_s 163 0xa3 1 + M input sampleCountMax 164 0xa4 1 + M input enableBarometer 165 0xa5 1 + M output motion 166 0xa6 1 + M output batteryPercent 167 0xa7 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
561898260: {
name: "Puck-radar",
versions: "R13 R14",
versions: "R13 R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output amplitude 144 0x90 1 + M output distance 145 0x91 0.01 + M output occupied 128 0x80 1 + M input amplitudeHysteresis 176 0xb0 1 + M input distanceHysteresis 161 0xa1 0.01 + M output distanceAverage 146 0x92 0.01 + M input averageDistanceIntervalMinutes 177 0xb1 1 + M input averageDistanceLowAlarmLevel 178 0xb2 0.01 + M input averageDistanceHighAlarmLevel 179 0xb3 0.01 + M output averageDistanceAlarm 129 0x81 1 + M output nfcContactCount 152 0x98 1 + M output radarVoltage_V 180 0xb4 0.001"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1121182195: {
name: "Puck-radar-fast-rejoin",
versions: "R13 R14",
versions: "R13 R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output amplitude 144 0x90 1 + M output distance 145 0x91 0.01 + M output occupied 128 0x80 1 + M input amplitudeHysteresis 176 0xb0 1 + M input distanceHysteresis 161 0xa1 0.01 + M output distanceAverage 146 0x92 0.01 + M input averageDistanceIntervalMinutes 177 0xb1 1 + M input averageDistanceLowAlarmLevel 178 0xb2 0.01 + M input averageDistanceHighAlarmLevel 179 0xb3 0.01 + M output averageDistanceAlarm 129 0x81 1 + M output nfcContactCount 152 0x98 1 + M output radarVoltage_V 180 0xb4 0.001"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
472391447: {
name: "Square-air",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output batteryPercent 161 0xa1 1 + M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 162 0xa2 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 163 0xa3 1 + M input tempAlarmHighLevel 164 0xa4 1 + M output humidity 179 0xb3 0.01 + M output averageHumidity 144 0x90 0.01 + M input humidityTreshold 180 0xb4 0.01 + M input averageHumidityIntervalMinutes 165 0xa5 1 + M output lux 181 0xb5 1 + M output averageLux 145 0x91 1 + M input luxTresholdPercent 182 0xb6 1 + M input averageLuxIntervalMinutes 166 0xa6 1 + M output air_run_in_status 167 0xa7 1 + M output air_stab_status 168 0xa8 1 + M output air_iaq_accuracy 169 0xa9 1 + M output air_iaq 146 0x92 1 + M output air_co2 147 0x93 1 + M output air_pressure 184 0xb8 0.01 + M output air_breath_voc_equivalent 152 0x98 0.01 + M output air_static_iaq 185 0xb9 1 + M input air_interval_minutes 170 0xaa 1 + M input air_static_iaq_alarm_level 186 0xba 1 + M input air_iaq_alarm_level 187 0xbb 1 + M output air_iaq_alarm 129 0x81 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Decode(fPort, bytes, variables) {
maxSize: 256
},
vsm: {
rulesCrc32: 2696231198 //Hardcoded - IT IS REPLACED AUTOMATICALLY WITH KNOWN SCHEMAS
rulesCrc32: 2266505222 //Hardcoded - IT IS REPLACED AUTOMATICALLY WITH KNOWN SCHEMAS
}
}

Expand All @@ -58,9 +58,9 @@ function translate(iotnode) {
/// DO NOT CHANGE THE BELOW - IT IS REPLACED AUTOMATICALLY WITH KNOWN SCHEMA
var schema =
{
2696231198: {
2266505222: {
name: "Square-comfort",
versions: "R14",
versions: "R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output batteryPercent 161 0xa1 1 + M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 162 0xa2 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 163 0xa3 1 + M input tempAlarmHighLevel 164 0xa4 1 + M output humidity 179 0xb3 0.01 + M output averageHumidity 144 0x90 0.01 + M input humidityTreshold 180 0xb4 0.01 + M input averageHumidityIntervalMinutes 165 0xa5 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
517999093: {
name: "Square-comfort-sound",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M input roamNetworkCount 160 0xa0 1 + M output batteryPercent 161 0xa1 1 + M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalMinutes 162 0xa2 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 163 0xa3 1 + M input tempAlarmHighLevel 164 0xa4 1 + M output humidity 179 0xb3 0.01 + M output averageHumidity 144 0x90 0.01 + M input humidityTreshold 180 0xb4 0.01 + M input averageHumidityIntervalMinutes 165 0xa5 1 + M output lux 181 0xb5 1 + M output averageLux 145 0x91 1 + M input luxTresholdPercent 182 0xb6 1 + M input averageLuxIntervalMinutes 166 0xa6 1 + M output soundLevel 183 0xb7 0.1 + M input soundThreshold 167 0xa7 1 + M input soundMinLevel 168 0xa8 1 + M input soundAvgMinutes 169 0xa9 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
489186430: {
name: "Tracker",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output temp 176 0xb0 0.01 + M output averageTemp 177 0xb1 0.01 + M input tempHysteresis 178 0xb2 0.01 + M input averageTempIntervalHours 160 0xa0 1 + M output tempAlarm 128 0x80 1 + M input tempAlarmLowLevel 161 0xa1 1 + M input tempAlarmHighLevel 162 0xa2 1 + M input roamNetworkCount 163 0xa3 1 + M input motionThreshold_mm_s2 179 0xb3 1 + M input limitedScanChannels 184 0xb8 1 + M input fullScanChannels 185 0xb9 1 + M output motionCount 186 0xba 1 + M output motionTimeMinutes 187 0xbb 1 + M input quarterlyScanBudget 164 0xa4 1 + M input maxBudget 180 0xb4 1 + M input singleWifiScanAgain_minutes 165 0xa5 1 + M input minimumWifiCount 166 0xa6 1 + M input fullWifiScan_minutes 167 0xa7 1 + M input gpsScan_minutes 168 0xa8 1 + M input motionCountEnabled 169 0xa9 1 + M input motionTimeEnabled 170 0xaa 1 + M input movingScanIntervalMinutes 181 0xb5 1 + M input stationaryScanIntervalMinutes 182 0xb6 1 + M output batteryPercent 171 0xab 1"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function translate(iotnode) {
{
1711284143: {
name: "Tracker-stats",
versions: "R11 R12 R13 R14",
versions: "R11 R12 R13 R14 R15",
mapData: "M output volts 176 0xb0 0.001 + M input gnssIntervalMinutes 160 0xa0 1 + M input gnssScanMode 177 0xb1 1 + M output numSatellites 161 0xa1 1 + M output bestSatellites 184 0xb8 1 + M output scanCount 185 0xb9 1 + M output gpsTime 186 0xba 1 + M output downlinkRssi 162 0xa2 1 + M input air_pressure_hysteresis_bar 163 0xa3 1 + M output air_pressure 187 0xbb 0.01 + M output batteryPercent 164 0xa4 1"
}
};
Expand Down
Loading