Giter Club home page Giter Club logo

Comments (4)

albertogeniola avatar albertogeniola commented on June 19, 2024

Hi @pfaffenrodt ,
this is not an add-on and has nothing to do with that. You need to install this custom component within the docker image that runs homeassistant itself (which is entirely based on python).

I suggest you to rely on HACS (another custom component) that can take care of installing many other components (as meross): https://community.home-assistant.io/t/custom-component-hacs

from meross-homeassistant.

pfaffenrodt avatar pfaffenrodt commented on June 19, 2024

Hi @albertogeniola ,
you are right, the component will be executed in hassio docker image.

On Hassio you add components inside */config/custom_components/*meross_cloud

The component was registered and was tried to be executed, but it missing your meross python package.

Error loading custom_components.meross_cloud. Make sure all dependencies are installed

I did some research and it looks like, that hassio (also home-assistant) uses the manifest.json to install required python packages.
See Docs:
https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
Example:
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/hue/manifest.json

So I guess, an manifest.json will be enough. I will try it later and give you an pull request.

from meross-homeassistant.

pfaffenrodt avatar pfaffenrodt commented on June 19, 2024

Oh sry. There is already an manifest.json file. blame on me. I should go to bed.

But why is not working then. I guess there is also an requirement that is missing in the json file?

from meross-homeassistant.

pfaffenrodt avatar pfaffenrodt commented on June 19, 2024

@albertogeniola

I dont know why. But it works now. "Connected to the Meross cloud." it says in my logs.

I had to reboot the whole system.

Sorry to waste your time.

Happy Holidays

from meross-homeassistant.

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.