Skip to content
Sample project showing how to connect your Balena device to a AWS IoT MQTT broker
Branch: master
Clone or download
Latest commit 02c0525 Jul 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Minor refactory Jul 10, 2019
.gitignore Initial commit Jul 9, 2019
Dockerfile.template Publish to topic Jul 9, 2019 Publish to topic Jul 9, 2019
requirements.txt Initial commit Jul 9, 2019

Balena AWS IoT Example Project

This is a sample project on how to connect a balena device to a AWS IoT MQTT Broker. The program subscribes to a topic called balena/payload_test while publishing to balena/payload_write_test with an incremental number every 5 seconds.

Environment Varibles:

Name Value Defaut
AWS_ENDPOINT application endpoint
AWS_PRIVATE_CERT thing private key encoded in base64
AWS_ROOT_CERT aws root certificate encoded in base64
AWS_THING_CERT thing certificate
AWS_PORT change in case you setup a different port 8883
You can’t perform that action at this time.