#Can you download https github com
1 messages · Page 1 of 1 (latest)
First off, what python version do you run?
3.9
I think you might need 3.11 but we can try anyway
You need to run that fixture collector python file which is in the repository
ImportError: cannot import name 'DEFAULT_HEADERS' from 'pyenphase.envoy' (/home/specter9mm/.local/lib/python3.9/site-packages/pyenphase/envoy.py)
Yea then you probably need python 3.11
Same error.
specter9mm@SPECTER:~/Python-3.11.3$ ./python -V
Python 3.11.3
specter9mm@SPECTER:~/Python-3.11.3$ ./python ../pyenphase/devtools/fixture_collector.py
Traceback (most recent call last):
File "/home/specter9mm/Python-3.11.3/../pyenphase/devtools/fixture_collector.py", line 7, in <module>
from pyenphase.envoy import DEFAULT_HEADERS, Envoy
ModuleNotFoundError: No module named 'pyenphase'
Oh you have to pip install pyenphase again
Haha, can happen
Normally the script runs with environment variables, if you don't know how to set them or can't get it to work you can just edit them in the file itself
Not sure where to grab my envoy token from. I have version 8 firmware, and I have to authenticate to the enlighten portal to get a token for the local controller.
Oh you only have to enter your enlighten cloud username and password
It will fetch the token for you
huh, I set the env variables, but it's not seeing them.
Ah
In that case just open the file and replace os.environ.get(....) with "<username>"
And password
And your host if it doesn't match envoy.local
As in, your username but in quotes
I did the evil and just put them directly in the script.
Ok, successfully ran, and I have a directory full of info now.
It will create a zip file with the results of some endpoints, feel free to check them for any sensitive data if you're worried about that
Only thing that is anywhere near sensitive is my controller serial number
But you can send that zip to my dms
@viral crest
Let's have the conversation here
Does the consumption show up correctly in the enlighten app?
It does show on the portal.
Oh, you can't sent pictures here, I'll forward that one to the rest
Hmm
What model is it?
IQ System Controller 3G
interesting. Looking at the data from the fixture collector, your envoy is reporting 0 for today and last 7 days consumption, which would make me think the consumption CTs aren't configured right, but if they weren't configured right the Enlighten app wouldn't report the right consumption either