XX(1, TotalActiveEnergy, KWH) \
XX(3, ImportActiveEnergy, KWH) \
XX(5, ExportActiveEnergy, KWH) \
XX(7, TotalReactiveEnergy, KVARH) \
XX(9, ImportReactiveEnergy, KVARH) \
XX(11, ExportReactiveEnergy, KVARH) \
XX(13, ApparentEnergy, KVAH) \
XX(15, ActivePower, KW) \
XX(17, ReactivePower, KVAR) \
XX(19, ApparentPower, KVA) \
XX(21, Voltage, VOLT) \
XX(23, Current, AMP) \
XX(25, PowerFactor, NONE) \
XX(27, Frequency, HERTZ) \
XX(29, MaxDemandActivePower, KW) \
XX(31, MaxDemandReactivePower, KVAR) \
XX(33, MaxDemandApparentPower, KVA)
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Device registers are read-only. The Node ID corresponds to the register address.