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

R718pa update #714

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b55b87d
1. Fix R718E decode payload; 2. Modify model name
netvox-tech Nov 1, 2021
5e96c85
Conflict fixed
netvox-tech Nov 9, 2021
74c6988
Merge remote-tracking branch 'upstream/master'
netvox-tech Nov 15, 2021
5253c85
Merge remote-tracking branch 'upstream/master'
netvox-tech Nov 16, 2021
ff3986f
Add Netvox devices
netvox-tech Nov 17, 2021
6519c09
Merge remote-tracking branch 'upstream/master'
netvox-tech Nov 24, 2021
f2592ec
Merge remote-tracking branch 'upstream/master'
netvox-tech Dec 6, 2021
6cd7caf
Merge remote-tracking branch 'upstream/master'
netvox-tech Dec 7, 2021
12d9732
Merge remote-tracking branch 'upstream/master'
netvox-tech Dec 16, 2021
2c1fdc8
Merge remote-tracking branch 'upstream/master'
netvox-tech Dec 21, 2021
dca3b4f
Merge remote-tracking branch 'upstream/master'
netvox-tech Dec 30, 2021
6f3fda0
Merge remote-tracking branch 'upstream/master'
netvox-tech Jan 6, 2022
d49a0fd
Merge remote-tracking branch 'upstream/master'
netvox-tech Jan 14, 2022
637d456
Merge remote-tracking branch 'upstream/master'
netvox-tech Jan 21, 2022
2335e2b
Merge remote-tracking branch 'upstream/master'
netvox-tech Jan 28, 2022
887289b
Merge remote-tracking branch 'upstream/master'
netvox-tech Feb 7, 2022
606d9fc
Merge remote-tracking branch 'upstream/master'
netvox-tech Feb 8, 2022
3cada66
Merge remote-tracking branch 'upstream/master'
netvox-tech Feb 9, 2022
7213e77
Merge remote-tracking branch 'upstream/master'
netvox-tech Feb 18, 2022
2a8194c
Merge remote-tracking branch 'upstream/master'
netvox-tech Mar 1, 2022
dff33d7
Merge remote-tracking branch 'upstream/master'
netvox-tech Mar 4, 2022
21c9018
Fix low battery payload
netvox-tech Mar 4, 2022
edcc25e
Merge remote-tracking branch 'upstream/master'
netvox-tech Apr 6, 2022
8a7dbdd
Merge remote-tracking branch 'upstream/master'
netvox-tech Apr 19, 2022
96eddf7
Fix decoder for rssi value
netvox-tech Apr 19, 2022
672c5ec
Merge remote-tracking branch 'upstream/master'
netvox-tech Apr 25, 2022
e01c431
update package-lock.json
netvox-tech Apr 25, 2022
8658deb
Merge remote-tracking branch 'upstream/master'
netvox-tech Apr 28, 2022
c9a9f40
Add Netvox devices
netvox-tech Apr 28, 2022
86f76ca
Merge remote-tracking branch 'upstream/master'
netvox-tech Mar 1, 2023
7fa505b
Merge remote-tracking branch 'upstream/master'
netvox-tech Mar 14, 2023
c2bf361
Add Netvox devices
netvox-tech Mar 14, 2023
6677f55
Merge branch 'master' into master
Jaime-Trinidad Mar 20, 2023
77c89fe
Merge remote-tracking branch 'upstream/master'
netvox-tech Mar 31, 2023
3f98d72
Merge branch 'master' of github.com:netvox-tech/lorawan-devices
netvox-tech Mar 31, 2023
1c8f7a3
Add Netvox device - R211
netvox-tech Mar 31, 2023
bfd8a86
Merge remote-tracking branch 'upstream/master'
netvox-tech Apr 12, 2023
8dccd0d
Add RA07 series payload
netvox-tech Apr 12, 2023
0c538b3
Merge branch 'master' into master
Jaime-Trinidad May 4, 2023
ef5dba2
add r718n3 Status report - 3~4
Jul 12, 2023
5bf227b
Merge branch 'TheThingsNetwork:master' into master
netvox-tech Jul 12, 2023
9c00e13
Merge branch 'master' into master
Jaime-Trinidad Jul 18, 2023
d5f475f
Merge branch 'master' into master
Jaime-Trinidad Jul 28, 2023
7fbafa1
Merge branch 'TheThingsNetwork:master' into master
netvox-tech Nov 23, 2023
29ae1ed
r719pa,r718pa4,r718pb
Nov 29, 2023
36839c3
Merge branch 'master' of https://github.com/netvox-tech/lorawan-devices
Nov 29, 2023
0a0169c
r718pa,r718pa4,r718pb format
Nov 30, 2023
52b287b
r718n3 modify,rp02 insert
Dec 1, 2023
3a6ffd9
Merge branch 'TheThingsNetwork:master' into master
netvox-tech Dec 1, 2023
1afa780
rp02 format
Dec 1, 2023
24bdbc7
r718pa update
Dec 4, 2023
2ac9da7
Merge branch 'TheThingsNetwork:master' into master
netvox-tech Dec 6, 2023
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
4 changes: 4 additions & 0 deletions vendor/netvox/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ endDevices:
- r718n360
- r718nl3
- r718t
- r718pa
- r718pa4
- r718pa22
- r718pe
- r718pb
- r718q
- r718qa
- r718t2
Expand Down Expand Up @@ -127,3 +130,4 @@ endDevices:
- rb02c
- rb02i
- rb11e
- rp02
21 changes: 21 additions & 0 deletions vendor/netvox/payload/r718n3.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ function decodeUplink(input) {
data: data,
};
}
var map = new Map([
[0,1],[1,5],[2,10],[3,100]
]);

data.Device = getDeviceName(input.bytes[1]);
if (input.bytes[3] & 0x80)
Expand All @@ -77,6 +80,24 @@ function decodeUplink(input) {
data.Multiplier2 = input.bytes[4];
data.Multiplier3 = input.bytes[5];
}
else if (input.bytes[2] === 0x03)
{
data.Current1 = (input.bytes[4]<<8 | input.bytes[5]);
data.Current2 = (input.bytes[6]<<8 | input.bytes[7]);
data.Current3 = (input.bytes[8]<<8 | input.bytes[9]);
data.Multiplier1 = map.get(input.bytes[10] & 3);
data.Multiplier2 = map.get(input.bytes[10]>>2 & 3);
data.Multiplier3 = map.get(input.bytes[10]>>4 & 3);
}
else if (input.bytes[2] === 0x04)
{
data.LowCurrent1Alarm = input.bytes[4] & 1;
data.HighCurrent1Alarm = input.bytes[4]>>1 & 1;
data.LowCurrent2Alarm = input.bytes[4] >>2 & 1;
data.HighCurren2Alarm = input.bytes[4]>>3 & 1;
data.LowCurrent3Alarm = input.bytes[4]>>4 & 1;
data.HighCurrent3Alarm = input.bytes[4]>>5 & 1;
}
break;

case 7:
Expand Down
Loading