Giter VIP home page Giter VIP logo

Comments (9)

jpcornil-git avatar jpcornil-git commented on June 19, 2024

Hi Cameron,
Could you try to run the following command from your docker instance already and report results:

docker exec -it homeassistant /bin/bash
bash-5.1# python3 custom_components/sma_webbox/sma_webbox.py <webbox ip_address>

Cheers,
jpc

from ha-sma.

CameronMease avatar CameronMease commented on June 19, 2024

from ha-sma.

jpcornil-git avatar jpcornil-git commented on June 19, 2024

OK, i.e. you see meaningful data logs I guess (was expected unless there was an issue with your hacs/custom_components install for some reasons or a webbox interop issue)
=> can you try with a 2023.12.3 test instances (version I'm currently running on) iso 2024.1.4 ?

If OK with the former but not the latter I'll investigate further.

from ha-sma.

CameronMease avatar CameronMease commented on June 19, 2024

from ha-sma.

jpcornil-git avatar jpcornil-git commented on June 19, 2024

Hi Cameron,
I did a fresh docker install using 2024.1.4, installed HACS within the container then this integration and I didn't saw any issue.
I also upgraded my own HA to 2024.1.5 without issues either.
How did you install the SMA Webbox component ?
Could you also upload logs from the bash command above ?
Cheers,
jpc

from ha-sma.

CameronMease avatar CameronMease commented on June 19, 2024

from ha-sma.

jpcornil-git avatar jpcornil-git commented on June 19, 2024

It should be sma_webbox (not web_box), that's why the import fails

├── custom_components
...
│   └── sma_webbox/
│       ├── config_flow.py
│       ├── const.py
│       ├── __init__.py
│       ├── manifest.json
│       ├── sensor.py
│       ├── sma_webbox.py
│       ├── strings.json
│       └── translations
│           ├── en.json
│           └── fr.json
...

You should consider to use HACS to manage component installation but also update from the UI

Cheers,
jpc

from ha-sma.

CameronMease avatar CameronMease commented on June 19, 2024

from ha-sma.

jpcornil-git avatar jpcornil-git commented on June 19, 2024

Great to hear this and thanks for the feedback.
Not sure then why it makes a difference (HACS is basically checking out a repo in custom_components as well) but as I said moving forward it will help you to manage this/other integrations more effectively.
Cheers,
jpc

from ha-sma.

Related Issues (6)

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.