Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.32 KB

README.md

File metadata and controls

17 lines (10 loc) · 1.32 KB

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