GithubHelp home page GithubHelp logo

Comments (6)

mletenay avatar mletenay commented on August 11, 2024 1

I assume it failed on line 160, but the previous version with base=16.
The base=36 is the fixed done here 327c780 and I'm going to make a release with it soon.

from goodwe.

DarthV02 avatar DarthV02 commented on August 11, 2024 1

Come on! Nothing to apologize for, we really appreciate the amazing job you do!
Many thanks for the response and the fixing!
Enjoy the rest of the summer you all. 😊

from goodwe.

NielZeeman avatar NielZeeman commented on August 11, 2024

Great. Thanks a lot!!

from goodwe.

DarthV02 avatar DarthV02 commented on August 11, 2024

Hi @mletenay ,

My appologies in advance since i might not be writting into the right channel/topic, but:

I'm runing Home Assistant Supervised on Debian 10, updated to the last version core-2022.7.6, and i'm not able to install the Goodwe Inverter integration from the integrations repository UI. As the colleague @NielZeeman, I get the following log error when doing the set up through the integrations UI menu on Home Assistant:

Logger: aiohttp.server
Source: components/goodwe/config_flow.py:36
First occurred: 11:43:15 AM (1 occurrences)
Last logged: 11:43:15 AM

last call from the log:
File "/usr/local/lib/python3.10/site-packages/goodwe/es.py", line 160, in read_device_info
self.arm_sw_version = int(self.arm_version[4], base=16)
ValueError: invalid literal for int() with base 16: 'G'

I see you said 16 days ago you will fix it, and going through the code on the es.py file in this github repository:

marcelblijleven

I can already see that you fixed the issue on line 160 --> base=16 to base=36, but when going through the documentation in this other repository, which I believe is the one that really belongs to Home Assistant:

https://github.com/home-assistant/core/tree/dev/homeassistant/components/goodwe

I don't see the py.es file nowhere and can't modify the base, as you also explain in this post:

https://packagegalaxy.com/python/goodwe

Latley i came across another change you indicated in the manifest.json file, changing the "requirements": ["goodwe==0.2.15"], to "requirements": ["goodwe==0.2.18"],

this is what i see on the homeassistant repository:
{
"domain": "goodwe",
"name": "GoodWe Inverter",
"documentation": "https://www.home-assistant.io/integrations/goodwe",
"codeowners": ["@mletenay", "@starkillerOG"],
"requirements": ["goodwe==0.2.15"],
"config_flow": true,
"iot_class": "local_polling",
"loggers": ["goodwe"]
}

Thanks for your support and looking forward to your reply :)
Aitor.

from goodwe.

DarthV02 avatar DarthV02 commented on August 11, 2024

My inverter was updated to version 2424G This seems to break on the following line: (es.py:160) self.arm_sw_version = int(self.arm_version[4], base=36)

Hi @NielZeeman, as you will see on the chat que, I also commented on this issue, as i have the same problem you posted.
I understand (from their comments) that the programmers are working on it, but the goodwe inverter official integration for Home Assistant Supervised, isn't still working for me... the base=16 issue keeps popping up when traying to install it.

Just to check whether i am doing something wrong, would you please let me know if you have it up and running?
Thanks in advance! :)

Aitor.

from goodwe.

starkillerOG avatar starkillerOG commented on August 11, 2024

The issue schould have been fixed with this PR: home-assistant/core#75615
This fix is included in HomeAssistant version 2022.08.x.
Sorry for the late replay, it is vacation time...

from goodwe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.