Hi! Thanks for your interest in Berrylan
Berrylan is actually just a small abstract from our product portfolio and was always meant to help with the initial setup without any further requirements.
In order to make this whole wireless setup really secure and nice to use, a push button would solve your problem. We have in our stack a version which starts the Bluetooth server only if you press a button for 3 seconds (so it requires physical access for the person who wants to bring the device online). In this way the setup can be started at any time and allows to reconfigure the network, start an access point or connect to a different wireless network. Since we don’t have a button on a plan Raspberry Pi, we implemented different modes, in which the daemon can be started:
always: the Bluetooth server runs the whole time, this is very insecure since someone could force the device to connect into a different network. This mode exists only for debug purposes
once: this mode starts the Bluetooth only until you have a configured a network. Afterwards the Bluetooth server does not start ever again.
offline: this mode starts the Bluetooth server whenever the device is not connected to any network (LAN or WLAN). This is the default mode for Berrylan.
start: this mode starts the Bluetooth server after booting for 3 min. Restart the device and you have 3 min to configure your network.
You can configure these modes with the
-m parameter of the
nymea-networkmanager. You can configure the mode in the systemd service file which can be found in
/lib/systemd/system/nymea-networkmanager.service. Detailed description can also be found in the help section:
If you are interested in version which supports the push button control, please let us know, maybe we can help you out.