19900291f6 | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
cayennelpp.py | ||
test_decoder.py |
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}]