The HomeWizard Wi-Fi P1 Meter (HWE-P1) plugs into the P1 port of a DSMR smart electricity meter and publishes its readings over the local network. TapHome communicates with it through the meter’s local HTTP API (v1) on port 80 — no cloud account is required and all traffic stays on the LAN. The template polls the /api/v1/data endpoint and exposes grid power, import and export energy, per-phase values and the gas meter reading.
This community template provides six devices: Energy Import, Energy Export, Phase L1 Power, Phase L2 Power, Phase L3 Power and Gas Meter.
Hardware connection
The P1 Meter plugs into the P1 port (RJ12 connector) of the utility smart meter and works with single-phase and three-phase meters.
- Power supply — smart meters with SMR 5.0 or newer power the P1 Meter directly from the P1 port. Older smart meters need a USB-C power supply for the P1 Meter. Consumption is under 1 W.
- Wi-Fi — the meter connects to a 2.4 GHz Wi-Fi network (802.11 b/g/n).
- Environment — IP51, for indoor use.
Smart meters with a HAN port instead of a P1 port need a HomeWizard HAN converter.
Configuration
Connecting the P1 Meter to Wi-Fi
The first setup is done in the HomeWizard Energy app (iOS 13 or Android 8 or newer). The meter needs a secured Wi-Fi network with internet access for the setup.
- Plug the P1 Meter into the P1 port of the smart meter (and into a USB-C power supply if the smart meter is older than SMR 5.0).
- Hold the button on the P1 Meter until the LED turns blue.
- In the HomeWizard Energy app, connect the phone to the meter’s own Wi-Fi access point and enter the password of your home Wi-Fi network.
- Use a 2.4 GHz network that is the same network (LAN) as the TapHome Core.
Enabling the local API
The local API is disabled by default and must be enabled once in the HomeWizard Energy app:
- In the app, go to Settings → Meters → your meter and turn on Local API.
- Note the meter’s IP address — it is shown in the meter settings in the app and can also be found in your router.
- Verify the API works by opening
http://<IP ADDRESS>/api/v1/datain a browser on the same network — a JSON document with the most recent measurement should appear.
API v1 has no authentication — the meter and the TapHome Core are assumed to share a trusted local network.
IP address
Reserve a fixed IP address for the meter in the DHCP settings of your router, so the address does not change after a router restart. During template import in TapHome, enter this address as the IP address parameter.
Update rates
The meter refreshes P1 data every second with a DSMR 5.0 smart meter, or every 10 seconds with older DSMR versions. Gas readings update every 5 minutes (DSMR 5.0) or every hour (older meters). The template polls the electricity values every 5 seconds and the gas reading every 60 seconds.
Device capabilities
Grid power and energy
Two electricity meter devices split the bidirectional P1 measurement into the two directions TapHome tracks separately:
- Energy Import — instantaneous power drawn from the grid (kW) and the cumulative import meter reading (kWh). Import tariff 1 and tariff 2 readings, line frequency, Wi-Fi signal strength and the smart meter model are available as service attributes.
- Energy Export — instantaneous power fed into the grid (kW) and the cumulative export meter reading (kWh), with export tariff 1 and tariff 2 as service attributes.
The smart meter reports one signed total power value (negative = export); each device shows its own direction and reads 0 while power flows the other way. When the smart meter does not report a total import or export reading, the template adds up tariff 1 and tariff 2.
Per-phase monitoring
Phase L1 Power, Phase L2 Power and Phase L3 Power are read-only variables with the active power of each phase in watts. Phase voltage and current are available as service attributes on each phase device. Single-phase smart meters report only L1 — the L2 and L3 devices then show no value.
Gas meter
Gas Meter is a read-only variable with the cumulative gas reading (m³) reported by the smart meter. If no gas meter is connected to the smart meter, the device shows no value.
Troubleshooting
- No data / connection errors — verify the Local API toggle is still enabled in the HomeWizard Energy app and that
http://<IP ADDRESS>/api/v1/dataresponds in a browser from the same network as the TapHome Core. - Values stop updating after a router change — the meter’s IP address has likely changed; reserve a fixed address in the router’s DHCP settings and update the module’s IP address.
- Finding the meter on the network — the meter announces itself over mDNS as
_hwenergy._tcpwith an instance name likep1meter-<6 hex digits>; the TXT recordapi_enabledshows whether the local API is on (1) or off (0). - Phase or gas devices show no value — single-phase meters do not report L2/L3 data, and the gas reading only appears when the smart meter has a gas meter connected. This is expected behaviour, not a fault.
- Some values are missing — the API only sends fields the connected smart meter provides, so the visible set of values depends on the smart meter model, not on the P1 Meter itself.
