I have created this separate thread for the Zigbee Power/Meter Mc and Z-Wave Electric Meter Mc drivers for use with solar power in smartthing.
- These drivers allow you to easily create and execute routines based on Active power:
- Imported (consumed from the grid)
- Exported (exported to the grid)
The clamp meter devices that allow you to do this are:
- Aeotec HEM Gen5 with Z-Wave Electric Meter Mc driver
{mfr = 0x0086, prod = 0x0102, model = 0x005F}, -- Aeotec Home Energy Meter (Gen5) US
{mfr = 0x0086, prod = 0x0002, model = 0x005F}, -- Aeotec Home Energy Meter (Gen5) EU
- Tuya Energy Bi-directional model PJ-2201, with Zigbee Power/Meter Mc driver.
- id: "_TZE204_ac0fhfiq/TS0601"
deviceLabel: Energy Monitor Bi-directional
manufacturer: _TZE204_ac0fhfiq
model: TS0601
deviceProfileName: power-meter-energy-solar
https://a.aliexpress.com/_Ew2hqeD
Depending on the direction of the clamp arrow placement on the grid power supply line, Active Power will be displayed positive or negative, depending on the direction of the electric current flow.
- In the zigbee model it has a preference that allows you to change the sign without having to change the clamp.
For Aeotec models this is the link to the original post.
The Tuya PJ-2201 device uses the EF00 cluster and I have based it on the DPâs of the driver code of @w35l3y and his help for the voltage and current DPâs, Thank you very much for your help.
This device is more talkative than the zwave aeotec, which only transmits messages exactly at the time set in preferences, I have it at 120 sec.
In this Tuya device I have added a preference to emit the events in a personalized way, but the device messages are every 5 or 10 sec, I have not seen that it creates any conflict in my zigbee network.
This driver allows you to easily create routines to turn on or off heating, cooling, water heaters, ⊠etc, depending on the value of the excess solar energy dumped into the grid.
The device saves the total exported or imported energy in different DPâs and they are displayed separately in two different capbilities.
The total exported and imported energies can be reset by routines on a periodic basis, for example monthly.
driver version
âââââââââââââââââââââââââââââââââââââââââââââââââââ
Name Zigbee Power/Meter Mc
Version 2024-08-23T16:54:00.668737084
âââââââââââââââââââââââââââââââââââââââââââââââââââ