This repository has been archived on 2023-01-29. You can view files and clone it, but cannot push or open issues/pull-requests.
 
Go to file
Michael Smith 19900291f6 Initial commit 2018-10-27 18:33:12 +02:00
.gitignore Initial commit 2018-10-27 18:33:12 +02:00
LICENSE Initial commit 2018-10-27 18:33:12 +02:00
README.md Initial commit 2018-10-27 18:33:12 +02:00
cayennelpp.py Initial commit 2018-10-27 18:33:12 +02:00
test_decoder.py Initial commit 2018-10-27 18:33:12 +02:00

README.md

py-cayenne-lpp-decoder

Cayenne Low Power Payload decoder written in Python. See Cayenne Low Power Payload Documentation for more information.

The decoder expects a base64 encoded payload string, commonly used in LoRaWAN implementations.

Usage

>>> import cayennelpp
>>> print(cayennelpp.lppdecode('A2cBEAVnAP8='))
[{'channel': 3, 'type': 'Temperature Sensor', 'value': 27.2}, {'channel': 5, 'type': 'Temperature Sensor',
'value': 25.5}]