Repository navigation
Electrical Accessories
ElectricalMeter and ElectricalSensor are Matter-only accessories. Please read the Matter Support wiki first.
In Apple Home, ElectricalMeter and ElectricalSensor are not displayed like a typical accessory. You can find the values by clicking on "Energy". Easy MQTT supports Current, Power, and Voltage, but Apple currently displays only Power. The others are implemented in case Apple adds support in the future.
ElectricalMeter and ElectricalSensor behave very similarly, but they are displayed slightly differently. With ElectricalMeter it shows each of the meters, but the total displayed at the top level is the last received value. ElectricalSensor does not display the individual elements, but it sums the values.
| Field | Required | Description |
|---|---|---|
topicGetCurrent |
No | Electrical current in Amperes |
topicGetPower |
No | Electrical power in Milliwatts |
topicGetVoltage |
No | Electrical voltage in Millivolts |
Since Power and Voltage are expecting millis, you may need to use Value Transformers to adjust the value you receive via MQTT.