@vpsupun We could definitely be dealing with different regions, models, and firmware. I am in California and I have the "IQ Gateway" (SKU X-IQ-AMI-240-4) on firmware D7.3.120. It appears this used to be called the "IQ Envoy"
Hi Guys, I'm by no means a programmer, but can you walk thru how you install this driver, I get the area to paste the code into Hubitat.. but what / where to configure the access to our envoy? Also how do you actually then run the driver script to poll? I'm trying to find a way to get the status of the power grid / solar and use that to adjust the temperature settings on our Ecobee's if grid is down and were on battery backup, I would raise the temp (reduce our AC load)
Is it feasible to add consumption data to the code? I by no means am a programmer, but swapping out the variables from production to consumption works perfectly fine. I just have it set up as a separate driver at this time. Was just hoping to make it work more efficiently.
As many of you have requested, I just added the consumption data also to the Device.
And now the power is showing the net power = production - consumption
Please test it and let me know if there any issues.
Please note, for this change, I had to rename most of the state variables. Therefor, check and update the rules created based on this Driver.
Updated it today, looking good so far! I'll keep an eye out on it. I did change my units to output in kWh and kW, but that's just a personal preference/update on my end.
I'm looking forward to getting my enphase setup in the next couple of weeks, though only the standard version as I already have iotawatt measuring various currents. I assume this works with the standard version too? Is there a local API or cloud only?
One more question, is there anything you can control with this, or is it more for accessing data?
Has anyone added battery state of charge to this driver?
My system includes some 5P batteries, and it would be nice to have Hubitat be aware of their state of charge.