This is my first attempt at creating and releasing a device type - a power & energy meter for a solar system running Enphase inverters. It connects to the Enphase Envoy on the local LAN and thus is not bound to any rate limits or contingent on setup of a developer account with Enphase. This was inspired by this post (with the linked code unfortunately no longer being available).
A few notes:
- Unfortunately it is not possible to set dynamic colors on tiles - the main tile will turn green for production of 2kW or more (you could adjust that depending on system size)
- The peak percentage is based on maximum theoretical output (number of inverters multiplied with inverter size)
- Peak power is not reported by the envoy - this is the maximum value the device type encountered during the day - if it gets polled every five minutes this should match the actual peak
- Efficiencies are calculated based on panel size (number of inverters multiplied with panel size) - this allows for a system-size independent metric so there colors here should be correct