Skip to content

PiP installation shows strange behaviors  #173

@strike19

Description

@strike19

I am not that firm with git, but I followed the guidance from your readme and installed the package via:

pip install luxtronik

The installation seems successful with the following reply:

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting luxtronik
Installing collected packages: luxtronik
Successfully installed luxtronik-0.3.14

When I am trying the code examples from your page the following error occurs:

File "lux_solar.py", line 4, in
from luxtronik import Luxtronik
File "/home/pi/.local/lib/python2.7/site-packages/luxtronik/init.py", line 8, in
from luxtronik.calculations import Calculations
File "/home/pi/.local/lib/python2.7/site-packages/luxtronik/calculations.py", line 313
calculation = Unknown(f"Unknown_Calculation_{index}")

I have checked manually the code and it seems that the version installed via pip differs from the version on this githubpage and all installed modules have the same typo calculation = Unknown(f"Unknown_Calculation_{index}")

Did I miss something when I installed the packacke or is this due to the fact that I am working on a Raspberry Pi?

Any help would be appreciated.

PS: On the long run, I would activate the function "1052" - "ID_Einst_Warmwasser_extra", but it seems that this is parameter has no options...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions