pawelka / hassio-addons

pawelka Hass.io add-ons repository
20 stars 22 forks source link

SofarSolar addon not working #14

Open bd-casemod opened 3 years ago

bd-casemod commented 3 years ago

The sofarsolar addon is not working here, i'm receiving the following error:

Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/inverter/main.py", line 1, in import Inverter File "/inverter/Inverter.py", line 10, in import anyconfig File "/usr/local/lib/python2.7/site-packages/anyconfig/init.py", line 24, in from .api import ( File "/usr/local/lib/python2.7/site-packages/anyconfig/api.py", line 91, in import anyconfig.dicts File "/usr/local/lib/python2.7/site-packages/anyconfig/dicts.py", line 280 raise ValueError("Wrong merge strategy: %r" % strategy) from exc ^ SyntaxError: invalid syntax

sztof commented 3 years ago

Same here, after update from 1.0 to 1.1 the addon doesn't work anymore

craigmcewen commented 3 years ago

Same again, the update breaks the component. Can you please re-anable v1.0 as the current to get the component working again at all?

chopperpl commented 3 years ago

Same problem with initial install. The add-on won't start. I hope this can be fixed soon. Dziękuje ;)

Roberttar commented 3 years ago

the same for me. V1.1 dosen't work

TomaszCwik commented 3 years ago

Same here

cmsteinBR commented 3 years ago

Same here, after update to V1.1 the addon doesn't work anymore. Thank you very much for your work.

tompython-ncg commented 3 years ago

Same here, after update to V1.1 the addon doesn't work anymore.

chopperpl commented 3 years ago

It seems the code has been abandoned, so I suggest you remove it and look for an alternative solution.

cmsteinBR commented 3 years ago

I don't think it's abandoned: https://community.home-assistant.io/t/sofarsolar-inverter-integration/182845/25

chopperpl commented 3 years ago

The owner has not responded on github or HA with a single post for some time now, so to me it is abandoned.

dr-azbest commented 2 years ago

Same here!

HeartandHana commented 2 years ago

same here! Please advise me. I found the error msg below. Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/inverter/main.py", line 1, in import Inverter File "/inverter/Inverter.py", line 10, in import anyconfig File "/usr/local/lib/python2.7/site-packages/anyconfig/init.py", line 23, in from .api import ( File "/usr/local/lib/python2.7/site-packages/anyconfig/api/init.py", line 86, in from .datatypes import MaybeDataT File "/usr/local/lib/python2.7/site-packages/anyconfig/api/datatypes.py", line 10, in from ..backend import base File "/usr/local/lib/python2.7/site-packages/anyconfig/backend/init.py", line 25 PARSERS: ParserClssT = [ ^ SyntaxError: invalid syntax

loki29pl commented 2 years ago

Same issue here on the newest HomeAssistant. Any chances to fix?

adq82 commented 2 years ago

Również mam problem opisany przez HeartandHana. Czy jest szansa na poprawienie?

kmalmur commented 2 years ago

I found a solution for this. The addon is using anyconfig python module, which now only works with Python 3.X. This addon is working with python 2.7. So I just fixed Dokerfile to use the specific "old" version of anyconfig

I fixed this issue in my fork as the author doesn't seem to maintain this repository. Here is the link: https://github.com/kmalmur/hassio-addons

To install the addon from my fork, you need to add address to my repository in Home Automation instead of this one