Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Sample project showing how to connect your Balena device to a AWS IoT MQTT broker

Notifications You must be signed in to change notification settings

balena-io-examples/balena-aws-iot-mqtt-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For balena's current cloud integration tools, see the Provision with cloud IoT docs, aws-iot-provision repo, and cloud-relay repo.

Balena AWS IoT Example Project

This is a sample project on how to connect a balena device to a AWS IoT MQTT Broker. The main.py 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 data.iot.us-east-1.amazonaws.com
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

About

Sample project showing how to connect your Balena device to a AWS IoT MQTT broker

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages