1. Connect


« Previous step: Required Hardware

Next step: Install »


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 sever. 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 / 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 can be connected to the internet via Ethernet or WiFi, or operate in stand-alone WiFi access point mode.

Note: All emonPi’s purchased during or after July 2017 have the ability to broadcast a WiFi access point and display a setup wizard to connect to local WiFi. For older units skip to instructions 1b. RaspberryPi 3 is required for WiFi AP

emonPi WiFi

emonpi-network-wizard1

  • 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.

emonpi-network-wizard2

emonpi-network-wizard3

  • 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

emonpi-network-wizard4

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
  • 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.

  • 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

**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.


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)

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

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 »