jesserizzo / envoy_reader

MIT License
37 stars 26 forks source link

add the support of IQ Envoy device and improve the performance #32

Closed zhuqf closed 4 years ago

zhuqf commented 4 years ago

Hi,

when I use the home assistant enphase envoy, I noticed that it does not work well with my IQ Envoy device, which always show 0 for whToday, whLastSevenDays, whLifetime in http://envoy.local/production.json. and also in the current implementation it will query the production.json for each sensors without cache, so it will raise the error "is taking over 10 seconds". so I decide to improve it, I'm sorry I changed a lot, but I clear-fully tested all the scenarios I could using test_script.py.

Best Regards, Qiaofeng