1. Connect

« Previous step: Required Hardware

Next step: Install »

First Boot

This guide assumes you are using an emonPi / emonBase pre-built SD card.

This SD card can be purchased from the shop or downloaded:

The emonPi runs the Emoncms data logging web-app locally from emonPi’s internal web server. Using Emoncms data can be logged locally to the emonPi’s SD card and (optionally) posted remotely to the Emoncms.org cloud server.

Emoncms local: Emoncms instance running locally on the emonPi.
Emoncms remote: Emoncms.org cloud server.

emonPi can be connected to the internet via Ethernet or WiFi, or operate in stand-alone WiFi access point mode.

1a. Connect to WiFi

emonPi / emonBase purchased before July 2017 do not have the ability to broadcast a setup WiFi access point. For older units please follow '1b' instructions to connect temporary via Ethernet then connect to local WiFi if required.

emonPi WiFi

Note: Please be patient, it can take a number of minutes to start broadcasting an a WiFi AP at startup. The LCD will display WiFi: YES 0% once the WiFi AP is active.

emonpi wiki connect


  • Follow setup wizard to connect to local WiFi network:

Note: If required emonPi can operate in Wifi AP mode without any network connection. If operating in AP mode use of a RTC (real-time-clock) is highly recommended to keep system time.


Please be patient, scanning for networks can take a while


  • After selecting local WiFi network and entering password the emonPi will turn off its own WiFi AP then reboot and try and connect to local WiFi network.

Note: if connection fails e.g. incorrect password, follow instructions 1b to connect temporary via Ethernet and use the Emoncms WiFi setup as detailed in step 4


1b. Connect to Ethernet

emonPi First Boot Ethernet

  • 1.2A USB power adapter recommended

  • Take care to connect the Ethernet to the socket on the same side as the USB sockets, not the RJ45 connector on the opposite side.

  • The emonPi LCD display will display firmware version then scan for connected sensors. Once the Raspberry Pi has booted up, the LCD will display the IP address of the emonPi on the local network.
  • Ethernet Connected

2. Connect to emonPi via local network

  • Browsing the hostname will work on some networks: http://emonpi or http://emonpi.local
  • If hostname does not work on your network, enter the IP address shown on the emonPi LCD into your browsers address bar
  • If using an emonBase and hostname does not work, look up its IP address from your router or use the Fing Network Discovery tool on Android and iOS.

3. Create local Emoncms user account

  • By default only a single (admin) account can be created on the local emonPi Emoncms. To enable multiple accounts edit Emoncms settings in /var/www/emoncms/settings.php

4. Connect to WiFi (optional)

**Note: if emonPi has been already connect to local Wifi using network setup wizard (see above) then skip this section.

Connect to Wifi

  1. Wifi config in local Emoncms : Setup > Wi-Fi
    • Network scan should happen automatically.
  2. Check the box to select the network(s) you want to connect to

  3. Enter PSK password

  4. Hit Save and Connect

After a few seconds information should refresh automatically to report Status: Connected and after a few more seconds the IP address should appear.

Assign static IP (Optional & Advanced)

5. Connect via 3G GSM (optional)

Huawei HiLink 3G USB GSM/3G dongle modems are supported. Connection should be automatic and LCD will display connection status. (Tested with Huawei E3231 and E3131).

GSM Documentation | WiFi Access -point setup (dev)

6. Update

UPDATE HIGHLY RECOMMENDED: Now your emonPi is connected to a network this would be a good time to pull in any new updates: Setup > Admin > Update

6. Shutdown

Shut down the emonPi by holding down the shutdown button for 5 seconds, then wait 30 seconds for unit to fully shut down.

Unplugging power from the emonPi without following the correct shutdown procedure can result in a corrupted SD card.

The emonPi is now ready to be physically installed and the sensors connected.

Video Guide

Next step: Install »