Pi or Fin wifi as access point?

Hi, I’m curious if anyone has tried running a Pi or Fin as an access point / hub / local gateway for wifi nodes. The assumption being that you route sensor data via wifi to the Pi and backhaul to the cloud via Ethernet.

If so, could it be taken a step further and have a single Pi or Fin act as a hub for both Lora devices (with the additional concentrator of course) and Wifi devices in a single place? Taken even further, backhaul via LTE?

I saw some conversations about the Pi as an access point, and understand thats what is happening under the food with the wifi-connect project but I’m not sure about the limitations the Pi’s lightweight wifi handling more than a few sensors/nodes. I’m also a little unclear how robust NetworkManager is in handling those requirements.

Thoughts?

@mpous this must have crossed your mind at some point :wink:

Hi, you can definitely do all of that under balenaOS. For the WiFi part you will need to setup a WiFi hotspot - https://www.balena.io/docs/reference/OS/network/2.x/#creating-a-hotspot. It is all handled by NetworkManager. If you need more complex logic, then you may use the NetworkManager API, but you may start with a simple example.

You may setup Lora in a container - NetworkManager is not used for the Lora part.

The if you would like to connect to the Internet via LTE you may do that through NetworkManager/ModemManager: https://www.balena.io/docs/reference/OS/network/2.x/#cellular-modem-setup

1 Like

Excellent thanks for the tip @majorz will spend some time with these docs.

@barryjump did you read this? https://www.balena.io/blog/turn-a-raspberry-pi-into-a-wi-fi-access-point-or-repeater/

@mpous Sheesh how did I miss that? Thanks!

hahahaha no problem! let me know if that works for you @barryjump