2D setup guide: Configuration
The following instructions apply for connecting to the NodeNs sensors through a GATEWAY device.
First connect to the GATEWAY and configure the Wi-Fi settings
- Using a PC or other Wi-Fi enabled device, connect to the GATEWAY using the following Wi-Fi settings:
- SSID: NodeNsAP
- Password: NeedOne1
Note: the NodeNs sensors are pre-configured to connect to these settings
- Securely connect to the GATEWAY via SSH:
- Open a command terminal (e.g. cmd in Windows).
- Connect via SSH by typing: ssh pi@192.168.10.1
- When prompted, enter the password:
- Password: NeedOne1
You will now have a direct connection to the GATEWAY. Note: You may also connect via services such as RealVNC, or directly to the GATEWAY with an HDMI cable connected to a monitor.
- Update the Wi-Fi configuration so that the GATEWAY may connect to your local Wi-Fi network.
- Update the Wi-Fi configuration by typing: sudo nano wifi_config.sh
- Using the arrow keys update the following lines, enclosing the SSID and PASSPHRASE with quotation marks:
- CLIENT_SSID=”<enter the WiFi client you wish to connect to>”
- CLIENT_PASSPHRASE=<”enter the password of the WiFi client>”
- Save using <Ctrl+s> and then Exit using <Ctrl+x>.
- Run the shell script by typing: . wifi_config.sh or sh wifi_config.sh. This may take a few minutes depending on required updates.
- Reboot the gateway by typing: sudo reboot
- After a few minutes, the WiFi network with the SSID “NodeNsAP” should re-appear. Note: the AP may disconnect and reconnect while the new settings are applied.
Configure your local machine (e.g. PC) to accept the sensor data
- Ensure that your local machine is connected to the NodeNsAP network.
- Start Node Red from the command line by typing: node-red
- Download the dashboard flow:
(note that this is updated regularly). Alternatively, please request a link to the git. repository where the most up-to-date version can be downloaded)
- Open node-red through a Chrome browser and enter “localhost:1880” in the navigation board
- In the node-red window import the flow:
- Click the three lines next to the “Deploy” icon in the top-right of the window.
- Select “Import“.
- Click on “Select a file to import” and chose the file JSON file downloaded in the previous step.
- Click on “Import”.
- Ensure that the MQTT nodes connect to the broker.
- Deploy the dashboard so that it is ready and waiting. Note: if the dashboard doesn’t automatically load, you can use a web browser to navigate to “localhost:1880/ui”.

The broker status can be viewed using the dashboard LED (green indicates a connection. Red indicates the dashboard is disconnected from the broker.