{"id":16254717,"url":"https://github.com/janpieper/cayenne_lpp","last_synced_at":"2026-05-04T07:39:22.471Z","repository":{"id":57482450,"uuid":"239143075","full_name":"janpieper/cayenne_lpp","owner":"janpieper","description":"Elixir library for Cayenne Low Power Payload (LPP) format","archived":false,"fork":false,"pushed_at":"2021-02-02T13:25:48.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T19:57:04.837Z","etag":null,"topics":["cayennelpp","elixir","lora","lorawan","lpwan","mydevices","rak7258","rak811","raspberrypi","thethingsnetwork","ttn"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janpieper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-08T14:12:13.000Z","updated_at":"2021-02-02T13:25:51.000Z","dependencies_parsed_at":"2022-09-02T04:21:37.034Z","dependency_job_id":null,"html_url":"https://github.com/janpieper/cayenne_lpp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpieper%2Fcayenne_lpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpieper%2Fcayenne_lpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpieper%2Fcayenne_lpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpieper%2Fcayenne_lpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janpieper","download_url":"https://codeload.github.com/janpieper/cayenne_lpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247846875,"owners_count":21006090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cayennelpp","elixir","lora","lorawan","lpwan","mydevices","rak7258","rak811","raspberrypi","thethingsnetwork","ttn"],"created_at":"2024-10-10T15:23:53.933Z","updated_at":"2026-05-04T07:39:22.410Z","avatar_url":"https://github.com/janpieper.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cayenne_lpp ![Build Status](https://github.com/janpieper/cayenne_lpp/workflows/Elixir%20CI/badge.svg \"Build Status\")\n\nElixir library for Cayenne Low Power Payload (LPP) format\n\n## Installation\n\nThe package can be installed by adding `cayenne_lpp` to your list of\ndependencies in `mix.exs`:\n\n```elixir\ndefp deps do\n  [{:cayenne_lpp, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Usage\n\n```elixir\nalias Cayenne.LPP.Payload\nalias Cayenne.LPP.Type.{Temperature, RelativeHumidity}\n\npayload =\n  Payload.new()\n  |\u003e Payload.add(1, Temperature.new(28.3))\n  |\u003e Payload.add(2, RelativeHumidity.new(40.5))\n\n# Payload as String: \"0167011B02680195\"\npayload\n|\u003e Payload.to_string()\n|\u003e IO.inspect(label: \"Payload as String\")\n\n# Payload size (in bytes): 8\npayload\n|\u003e Payload.size()\n|\u003e IO.inspect(label: \"Payload size (in bytes)\")\n```\n\n## Inspiration\n\nThis library has been inspired by the following list of articles, videos and\nlibraries written in other programming languages:\n\n* **Articles**\n  * [OMA LightweightM2M (LwM2M) Object and Resource Registry](http://openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html)\n  * [Cayenne Low Power Payload](https://developers.mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload)\n  * [Cayenne LPP 2.0](https://community.mydevices.com/t/cayenne-lpp-2-0/7510/1)\n  * [Cayenne LPP @ loranow.com](https://loranow.com/cayennelpp/)\n  * [Getting Started with the Raspberry Pi LoRa Node pHAT](https://learn.pi-supply.com/make/getting-started-with-the-raspberry-pi-lora-node-phat/)\n* **Libraries**\n  * https://github.com/myDevicesIoT/CayenneLPP (C++)\n  * https://github.com/TheThingsNetwork/arduino-device-lib (C)\n  * https://github.com/OlegZv/Python-CayenneLPP (Python)\n  * https://github.com/ctron/cayenne-lpp (Java)\n* **Videos**\n  * [How to: Payload Functions](https://www.youtube.com/watch?v=nT2FnwCoP7w)\n  * [Eric Ptak - Payload formats for LPWAN Applications](https://www.youtube.com/watch?v=UL5IDpGCKkU)\n* **Platforms**\n  * [Cayenne Cloud](https://developers.mydevices.com/) by [myDevices](https://mydevices.com/)\n  * [TheThingsNetwork](https://www.thethingsnetwork.org/)\n\n## Hardware\n\nWhile developing this library, the following hardware has been used to test\nthe integration with [TheThingsNetwork](https://www.thethingsnetwork.org/) and\n[Cayenne Cloud](https://developers.mydevices.com/):\n\n* [Raspberry Pi 3 Model B+](https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/)\n* [IoT LoRa Node pHAT for Raspberry Pi (Multi Frequence)](https://uk.pi-supply.com/products/iot-lora-node-phat-for-raspberry-pi)\n* [RAK7258 Micro Gateway](https://store.rakwireless.com/products/rak7258-micro-gateway?variant=26678395568228)\n\n## TODOs\n\n* [x] Publish to [hex.pm](https://hex.pm/)\n* [x] Publish docs to [hexdocs.pm](https://hexdocs.pm/)\n* [ ] Support decoding, not just encoding\n* [ ] Add example using [circuits_uart](https://github.com/elixir-circuits/circuits_uart)\n\n## License\n\nThis software is licensed under [the MIT license](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpieper%2Fcayenne_lpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanpieper%2Fcayenne_lpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpieper%2Fcayenne_lpp/lists"}