External converters and image assets for Schneider Electric PowerTag wireless energy sensors used with Home Assistant and Zigbee2MQTT.
Initial public release of:
A9MEM1560A9MEM1580
PowerTag/
|-- README.md
|-- LICENSE
|-- external_converters/
| |-- A9MEM1560.mjs
| `-- A9MEM1580.mjs
`-- assets/
`-- images/
|-- zigbee2mqtt_PowerTag.png
|-- A9MEM1560.png
`-- A9MEM1580.png
A9MEM1560- single-phase PowerTagA9MEM1580- 3-phase PowerTag
Per-device icons included in this repo:
Important matching note:
- These converters currently match conservatively against
GreenPower_254plus a specific IEEE address. - Before using either converter, replace the placeholder
0x00000000e1234abcwith your own device IEEE Address. - In Zigbee2MQTT, you can usually find this on the device
Aboutpage underIEEE Address.
On Windows, Ctrl+H is the quickest way to replace the placeholder in Cursor or VS Code.
- Choose the correct converter:
external_converters/A9MEM1560.mjsexternal_converters/A9MEM1580.mjs
- Open the file and replace
0x00000000e1234abcwith your own PowerTag IEEE Address. - Copy the converter into Zigbee2MQTT's
external_convertersfolder beside itsconfiguration.yaml. - Copy the matching icon into Home Assistant's
www/ExternalConverter/folder if you want the local icon path to work. - Restart Zigbee2MQTT.
Example PowerShell commands from the repository root:
Copy-Item ".\external_converters\A9MEM1560.mjs" "C:\path\to\zigbee2mqtt\external_converters\A9MEM1560.mjs"
Copy-Item ".\assets\images\A9MEM1560.png" "C:\path\to\home-assistant\www\ExternalConverter\A9MEM1560.png"Replace the destination paths with your own paths. If you are installing A9MEM1580, use the matching filenames instead.
- Open
Zigbee2MQTT -> Settings -> Dev console -> External Converters. - Select
Create new converter. - Use the filename:
A9MEM1560.mjsA9MEM1580.mjs
- Before saving, replace
0x00000000e1234abcin the code with your own PowerTag IEEE Address. - Paste the full converter code and save it.
Useful Windows shortcuts here:
Ctrl+Ato select all converter codeCtrl+Cto copyCtrl+Vto pasteCtrl+Hto replace the placeholder IEEE value
- To initially connect the PowerTag to Home Assistant, use an Ikea
TRADFRIrange extender nearby. - When you perform
Permit joinin Home Assistant, make sure only that device is selected and nearby to the PowerTag. - This matters because it supports the Zigbee Green Power join process used by the PowerTag.
- PowerTags typically send updates about every 5 seconds.
- They usually send changed values only rather than a full payload every time.
- It is normal for successive messages to contain only the attributes that changed.
- Re-check that the correct converter file was used for the device.
- Re-check that
0x00000000e1234abcwas replaced with your own IEEE Address. - Re-run pairing with the Ikea
TRADFRIrange extender as the nearby selected device duringPermit join.
- A PowerTag can still stop reporting even when
linkqualityis above100. - If updates stop completely, install a Zigbee repeater closer to the PowerTag.
- The preferred fix is to keep that repeater much closer permanently.
- These converters use the local icon paths:
/local/ExternalConverter/A9MEM1560.png/local/ExternalConverter/A9MEM1580.png
- Make sure the PNG files are copied into Home Assistant
www/ExternalConverter/.
Notes:
- Model exposed by the converter:
A9MEM1560 - Zigbee interviewed model commonly appears as
GreenPower_254 power_factoris exposed, but the current sample below still showsnull
Current state example:
{
"ac_frequency": 50.1,
"current_phase_a": 0,
"energy": 0.1,
"energy_phase_a": 0.1,
"firmware_version": "004.002.000",
"linkquality": 120,
"model_id": "A9MEM1560",
"power": 0,
"power_apparent": 0,
"power_factor": null,
"power_phase_a": 0,
"produced_energy": 29.883,
"produced_energy_phase_a": 29.883,
"voltage_phase_a": 232.5
}Notes:
- Model exposed by the converter:
A9MEM1580 - Zigbee interviewed model commonly appears as
GreenPower_254 - At the time of this release,
power_factoris not working - The
power_factorvalue does not appear in the Zigbee payload yet - This may need another cluster to be explored later, or a custom calculation added to the external converter
Current state example:
{
"ac_frequency": 50,
"current_neutral": 6.11,
"current_phase_a": 0.6,
"current_phase_b": 1.04,
"current_phase_c": 6.74,
"energy": 441.76,
"energy_phase_a": 182.976,
"energy_phase_b": 206.783,
"energy_phase_c": 93.672,
"firmware_version": "001.003.003",
"linkquality": 123,
"model_id": "A9MEM1580",
"power": 1515,
"power_apparent": 1922,
"power_apparent_phase_a": 127,
"power_apparent_phase_b": 225,
"power_apparent_phase_c": 1571,
"power_phase_a": 34,
"power_phase_b": 110,
"power_phase_c": 1371,
"reactive_power": -834,
"reactive_power_phase_a": -122,
"reactive_power_phase_b": -196,
"reactive_power_phase_c": -516,
"voltage_phase_a": 242.1,
"voltage_phase_ab": 414.4,
"voltage_phase_b": 238.8,
"voltage_phase_bc": 414.9,
"voltage_phase_c": 233.2,
"voltage_phase_ca": 407.1,
"power_factor": null
}

