Skip to content

Commit 57abef1

Browse files
authored
Merge pull request #1495 from UBWH/patch-1
Update LoRaWan-Decoders.md
2 parents 8a13c6d + 09c8d72 commit 57abef1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/LoRaWan-Decoders.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ The _Tasmota LoRaWAN Decoder_ feature:
5252
}
5353
```
5454

55-
## Files
56-
These files are available from the [Tasmota Github Repository](
55+
## Files
56+
These files are available from the [Tasmota Github Repository](
5757
https://github.com/arendst/Tasmota/tree/master/tasmota/berry/lorawan/decoders)
5858

5959
- [LwDecoder.be](https://github.com/arendst/Tasmota/tree/master/tasmota/berrylorawan/decoders/LwDecoder.be)
6060
- [Device Decoder Files](https://github.com/arendst/Tasmota/tree/master/tasmota/berry/lorawan/decoders/vendors) (indexed by Vendor/Model)
6161

6262

63-
## How to use the Device Decoder feature
63+
## How to use the Device Decoder feature
6464
1. Download to your local PC, then upload to the Tasmota File System
6565
- [LwDecode.be](https://github.com/arendst/Tasmota/tree/master/tasmota/berry/lorawan/decoders/LwDecode.be)
6666
- the _Device Decoder File(s)_ for your _End Device(s)_, or write your own (see below)
@@ -73,15 +73,15 @@ https://github.com/arendst/Tasmota/tree/master/tasmota/berry/lorawan/decoders)
7373
e.g. `LoRaWanDecoder1 LHT52` associates node 1 with the `LHT52.be` decoder file
7474
- `BrRestart` to restart Berry
7575

76-
## Write your own Device Decoder file ##
76+
## Write your own Device Decoder file ##
7777
1. Find the JavaScript (*.js) decoder file for your device from [TTN Device Decoder database](https://github.com/TheThingsNetwork/lorawan-devices/tree/master/vendor)
7878
Alternatively, find the manufacturer's datasheet/User Guide/User Manual/etc. to learn the syntax of the _Raw Data Payload_
7979
2. Edit [LwDecoderSample.be](https://github.com/arendst/Tasmota/tree/master/tasmota/berry/lorawan/decoders/LwDecoderSample.be) to decode the _Raw Data Payload_
8080
3. Rename `LwDecoderSample.be` to `<DeviceName>.be` where `<DeviceName>` matches your device name.
8181
4. Copy `<DeviceName>.be` to the _Tasmota File System_.
8282
5. Test
8383
- `load("<DeviceName>.be")` from the Berry Scripting Console, looking for any reported errors.
84-
- Execute this Tasmota console command: `LoRaWanDecoder<x> <DeviceName>`
84+
- Execute this Tasmota console command: `LoRaWanDecoder<x> <DeviceName>`
8585
- Wait for your device to send raw Data Payloads to your Tasmota installation, and confirm `LwDecoded` MQTT messages are received, and the values are correct:
8686

8787
6. Submit a [PR](https://github.com/arendst/Tasmota/pulls) to share your new decoder with the Tasmota community.

0 commit comments

Comments
 (0)