diff --git a/templates/definition/meter/solarmax-inverter-smt b/templates/definition/meter/solarmax-inverter-smt new file mode 100644 index 000000000..ec54ecfe1 --- /dev/null +++ b/templates/definition/meter/solarmax-inverter-smt @@ -0,0 +1,29 @@ +template: solarmax-smt +products: + - brand: SolarMax + description: + generic: SolarMax SMT +params: + - name: usage + choice: ["pv"] + - name: modbus + choice: ["tcpip"] + id: 1 +render: | + type: custom + power: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 4151 # PAC + type: holding + decode: uint32 + scale: 0.1 + energy: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 4129 # Total + type: holding + decode: uint32 + scale: 0.1