Using balena-os/wifi-connect on BalenaOS + BalenaCloud

Hi, I’m trying out BalenaCloud for a startup. The company builds IoT devices based on (a.o.) a RaspberryPi 3 / 4. The customers that we install the device for should be able to connect the device to their wifi after delivery.

It seems that wifi-connect is perfect for this. But I can’t find how to make sure this is installed when setting up a BalenaOS image in BalenaCloud. It doesn’t seem to install it by default, what is the best way to make sure the service is installed and running before the device ever connects to the internet?

Hey there!

You’re right in that wifi-connect doesn’t come as part of the OS, and so is not installed by default. You have to add it to your docker-compose to bring it in as a service:

You then add your other services to that compose file, and wifi-connect will run alongside them.

Does that answer the question? Let me know if you need any more help.

Phil