make-all/tuya-local

Support for Smart Inverter (SG600MD)

Closed this issue · 2 comments

It would be awesome to get support for Tuya Smart Solar Inverter (micro inverter grid-tie).
There are various models (SG200W,SG300W,SG350W,SG400W,SG450W,SG500W,SG600W,SG700W,SG800W,SG1000W,SG1200W,SG1400,SG2800W,SG5000W), but this is for SG600MD (

From data points, here is what I got from Tuya IoT platform:

DPID Description Example unit
2 Cumulative Output kWh 9.76kW·h kW·h
10 Current Output W 20.50W W
15 Model name SG600MD -
16 Inverter ID 38006562 -
101 Inverter Switch -
102 DC Current A 0.87A A
103 DC Voltage VDC 28.00VDC VDC
104 AC Voltage VAC 227.80VAC VAC
105 AC Current A 0.09A A

Not sure what else of data is needed - just point me in right direction and Ill dig more.
Here is also link to other local tuya component request someone made to support this device, but ...
rospogrigio/localtuya#1069

Looks/works great! It was auto-discovered.
One question - just for better visuals.
Is it possible to add icon mdi:solar-power as icon for main property?

I generally won't add icons to entities configured with a device class, since HA already handles icons for those. But you can change the icons for your entities yourself in Settings / Devices & Services / Entities.