P1IB Guide

Installation & Setup

Installation on the power meter

  1. Activate the P1 port. This can be done by your grid owners app, webpage or by contacting the company. This differs between grid owners and what service they provide to enable the P1/HAN port.
  2. When the port is active, continue to the next step.
  3. Connect the P1IB device to your power meters P1 port with the included RJ12 cable.

Connect P1IB to your home Wi-Fi (or LAN)

  1. The P1IB will enter AP mode when powered on by the P1 port. Scan with your mobile device or laptop for the P1IB_<mac> SSID and connect to it.
  2. Use your favorite webbrowser and go to http://192.168.1.1 or http://p1ib.local (depending on mDNS is supported on your client).
  3. Setup the device by going to the menu -> settings. Press the “scan” button and select your ssid of your access point.
  4. Enter the password for your Wi-Fi access point.
  5. Now is also a good time to set a password for your P1IB web interface. Find the “Login Protection Password” under settings and add a password of choice. This will protect you in case the P1IB fails to connect to your Wi-Fi and enters AP mode at a later stage. Note: The username is ‘admin’ when asked for a password later on.

MQTT and Home Assistant

An MQTT broker is needed to communicate with Home Assistant. The MQTT Broker must be installed separately which is normally not provided by default in an Home Assistant installation.

Please read the Home Assistant MQTT documentation at https://www.home-assistant.io/integrations/mqtt/ if you dont have an MQTT broker installed.

  1. Configure the P1IB device to connect to your MQTT broker in the MQTT section of the settings page. Username and password are not mandatory but recommended.
  2. Make sure the “MQTT Home Assistant Auto Discovery” option is activated.
  3. Press the “Save & Restart button”.
  4. When reloaded the P1IB webpage, wait a few seconds until the MQTT connection state is “Connected”.
  5. Go to Home Assistant, press “Settings -> Devices & services -> Devices tab”. If everything works as expected, you should see a P1IB in the list of devices.

FAQ & Troubleshooting

https://github.com/remne/p1ib

LED indicatorDescription
5 fast blueP1IB is booting
2 slow blueWIFI connected successfully to your access point
2 slow redWIFI failed to connect to your access point, will retry in a couple of seconds
3 slow blueMQTT connection successful
3 slow redMQTT connection failed
1 fast blueP1 telegram successfully parsed and CRC validation was OK. Telegram interval depends on your meter. Normal is one telegram per 10seconds. But there are meters that have faster intervall speeds, ie 1 sec interval per telegram.
1 fast redP1 telegram failed CRC validation
1 fast red per 5 secondsDevice is in AP-mode and is visible with SSID P1IB_<mac>