First cut. Untested with actual inverter. No support for emitters yet. Only support for Wac metric