Code Monkey home page Code Monkey logo

Comments (3)

guitarmanusa avatar guitarmanusa commented on July 18, 2024

Alberto, it looks like a Hass.io/HACS might have changed something. I'm getting the same error and it appears as though it's not finding your meross_iot library. It's not mentioned in the install instructions, but do we need to pip install your library before running the add on?

I'm not even able to do a pip install meross_iot at the moment. I get the following error:

ERROR: Could not find a version that satisfies the requirement meross-iot (from versions: none) ERROR: No matching distribution found for meross-iot

from meross-homeassistant.

guitarmanusa avatar guitarmanusa commented on July 18, 2024

So I figured out what was happening. hass.io is running docker to run any plugins, unlike a more "traditional" Home Assistant install sitting on top of a regular Linux install. The meross_cloud HACS package is expecting to be able to pull from pip3 to get the meross_iot package, which works fine under vanilla ubuntu:
sudo apt-get install python3-pip; pip3 install meross_iot

We can actually take HACS out of the equation completely with a hassio add-on. I threw together a sample repository and ALMOST have it working. But it's late so I'll have to track down why python3 in the Alpine Linux docker image can't seem to find the init.py script.

Anyways, from hassio go to "Hass.io" -> "ADD-ON STORE" -> Add new repository by URL (https://github.com/guitarmanusa/meross_cloud) -> Add then refresh the page. The new repository should show up there. Add your meross email and password from the config page.

from meross-homeassistant.

fanchlagadecmail avatar fanchlagadecmail commented on July 18, 2024

Sorry for the late update but after copying meross_iot library in config/custom_components and rebooting HA, everything work.
Perhaps, it would work too without manually copying the library and just rebooting.
Thanks a lot for your work

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.