evo-eco / balena-wifi-connect-example

Example application to demonstrate balena-wifi-connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

balena-wifi-connect-example

License

Example application to demonstrate wifi-connect

This example is written in python, consisting of an RPi3 and a Display-O-Tron HAT to provide visual feedback.

The Dockerfile is split into two sections; the first section is for resin-wifi-connect and the second is for the Display-O-Tron HAT. This provides a good idea of the correct way to combine the balena-wifi-connect Dockerfile and your app's Dockerfile into one.

The start script has been modifed to run this example app both before and after running balena-wifi-connect. This provides both visual feedback on the connection status and a good idea of the correct way to integrate the balena-wifi-connect start script into your app.

The first image shows the Display-O-Tron HAT when no configured connection has been found and the second image shows what happens once a connection has been configured and successfully connected.

Not connected Connected

About

Example application to demonstrate balena-wifi-connect

License:Apache License 2.0


Languages

Language:Python 74.2%Language:Shell 25.8%