#Can you download https github com

1 messages · Page 1 of 1 (latest)

wispy trout
#

I am not sure how to run this on it's own. I've pip installed the package.

limber iris
#

First off, what python version do you run?

wispy trout
#

3.9

limber iris
#

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

wispy trout
#

ImportError: cannot import name 'DEFAULT_HEADERS' from 'pyenphase.envoy' (/home/specter9mm/.local/lib/python3.9/site-packages/pyenphase/envoy.py)

limber iris
#

Yea then you probably need python 3.11

wispy trout
#

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'

limber iris
#

Oh you have to pip install pyenphase again

wispy trout
#

Yeah, I just realized that.

#

🐑

limber iris
#

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

wispy trout
#

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.

limber iris
#

Oh you only have to enter your enlighten cloud username and password

#

It will fetch the token for you

wispy trout
#

huh, I set the env variables, but it's not seeing them.

limber iris
#

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

limber iris
wispy trout
#

I did the evil and just put them directly in the script.

limber iris
#

I mean, it's only evil if you committed it haha

#

Or put it on pastebin

wispy trout
#

Ok, successfully ran, and I have a directory full of info now.

limber iris
#

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

wispy trout
#

Only thing that is anywhere near sensitive is my controller serial number

limber iris
#

But you can send that zip to my dms

limber iris
#

@viral crest

#

Let's have the conversation here

#

Does the consumption show up correctly in the enlighten app?

wispy trout
#

It does show on the portal.

limber iris
#

Oh, you can't sent pictures here, I'll forward that one to the rest

#

Hmm

#

What model is it?

wispy trout
#

IQ System Controller 3G

viral crest
#

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