Enphase Envoy Gateway no longer reporting after updating to 0.96.1
Error while setting up platform enphase_envoy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/src/homeassistant/homeassistant/components/enphase_envoy/sensor.py", line 45, in async_setup_platform
from envoy_reader.envoy_reader import EnvoyReader
File "/usr/local/lib/python3.7/site-packages/envoy_reader/envoy_reader.py", line 8, in <module>
import requests_async as requests
ModuleNotFoundError: No module named 'requests_async'
2019-07-20 17:08:21 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform enphase_envoy
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/src/homeassistant/homeassistant/components/enphase_envoy/sensor.py”, line 45, in async_setup_platform
from envoy_reader.envoy_reader import EnvoyReader
File “/usr/local/lib/python3.7/site-packages/envoy_reader/envoy_reader.py”, line 8, in
import requests_async as requests
ModuleNotFoundError: No module named ‘requests_async’
wonderful thanks.
a solution doesn’t get much more robust than directly grabbing the JSON.
the ‘voltage’ variable was on my wish list, this is a way to fix that too.
This is what I got to work on an envoy-s
will need tweaking for other models
requests_async seems to be used to detect models on the component
I also added some templates for kWh and MWh
this is one of those ‘costing money’ issues.
many people use this data to run pool pumps and the like for free.
its a good lesson in REST anyway, its good to dive into new things