To change the WiFi network of the openHAB

Platform information:
Hardware: Raspberry Pi 4
OS: openHABian
openHAB version: OpenHAB 2.5
Issue of the topic: I want to change the WiFi network of the openHAB, I don’t know where to edit it.

Please do help on the issue

Login to your Raspberry

SUDO openhabian-config
30 - System Settings
36 - WiFI Setup

I just tested this way, but it won’t work, as OP is using a Pi4(as me). I got an error-message.

Dont know what kind of error message you get, but try to change the file manually. You must be ROOT!

sudo cat /etc/wpa_supplicant/wpa_supplicant.conf

If you allready have a wifi connected, there should be the current settings.

Change them to your new settings.


demlstda, I just installed openhabian on a PI 4, openhabian-config 30,36 doesn’t work, error message says this function is for PI 3 so not designed for PI 4. I changed the config file before initial setup with SSID and Password but it still doesn’t work.