Skip to content

Commit 056d380

Browse files
Changed Product URLs for some devices (#965)
* added new vendor dnt Innovation GmbH and first device dnt-lw-ats * added dnt-lw-eTRV * corrected error with file extension on image * added dnt-lw-dis1 * changed IP rating to IP67 * changed description text for dnt-lw-dis * removed vendor name from dnt-lw-dis1 * added dnt-lw-etrv-c * added dnt-lw-wth, dnt-lw-wsci and dnt-lw-esi, updated dnt-lw-eTRV-C Paylaod Decoder * updated images for dnt-lw-ats and dnt-lw-wth, adjusted product descriptions, corrected dnt-lw-esi codec, updated payload decoder for dnt-lw-esi and dnt-lw-eTRV-C * added dnt-lw-wsci * changed url for dnt-lw-wsci * reinstalled ajv packacke to excecute validate.js * set correct url of dnt-lw-wsci * added downlink decoders for all devices * added dnt-lw-bsm * changed product urls --------- Co-authored-by: Jaime Trinidad <[email protected]>
1 parent 8c11678 commit 056d380

12 files changed

+798
-6
lines changed

vendor/dnt/dnt-lw-bsm-codec.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Uplink decoder decodes binary data uplink into a JSON object (optional)
2+
# For documentation on writing encoders and decoders, see: https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/
3+
uplinkDecoder:
4+
fileName: dnt-lw-bsm.js
5+
# Examples (optional)
6+
examples:
7+
- description: Heartbeat Message
8+
input:
9+
fPort: 10
10+
bytes: [0x04, 0xc0, 0x00, 0x00, 0x00]
11+
output:
12+
data:
13+
active_power:
14+
unit: 'W'
15+
value: '0.00'
16+
switch_fault:
17+
unit: 'string'
18+
value: 'NO_FAULT'
19+
switch_rocker_pressed:
20+
unit: 'string'
21+
value: 'NO_ROCKER_PRESSED'
22+
switch_state:
23+
unit: 'string'
24+
value: 'SWITCH_DISABLED'
25+
warnings: []
26+
errors: []
27+
- description: Rocker B Pressed
28+
input:
29+
fPort: 10
30+
bytes: [0x04, 0xc0, 0x90, 0x00, 0x11]
31+
output:
32+
data:
33+
switch_state:
34+
value: 'SWITCH_ENABLED'
35+
unit: 'string'
36+
switch_rocker_pressed:
37+
unit: 'string'
38+
value: 'ROCKER_B_PRESSED'
39+
switch_fault:
40+
unit: 'string'
41+
value: 'NO_FAULT'
42+
active_power:
43+
unit: 'W'
44+
value: '1.70'
45+
warnings: []
46+
errors: []
47+
downlinkDecoder:
48+
fileName: dnt-lw-bsm.js

0 commit comments

Comments
 (0)