Giter Site home page Giter Site logo

How to install about pyess HOT 4 CLOSED

gluap avatar gluap commented on July 16, 2024
How to install

from pyess.

Comments (4)

s-hager avatar s-hager commented on July 16, 2024 3

Hey!
I think the steps described here in the readme should be what you need but it depends on your setup how you implement everything.
Basically you will need:

In my setup i run an Unraid Server so I could just pull a MQTT-Server Docker from the app repository.
Then i just had to set it up and create the credentials that will be required for the essmqtt service to connect to the server.

I actually made my own crude docker from essmqtt because it is the best solution when using Unraid in my opinion.
(In your setup you could maybe also use a systemd service like described in the readme)
This is also where the MQTT autodiscovery has to be configured.
If you are interested in how i made the docker, i could clean up the code (it is not much) and make it available.
So now we have both the MQTT server and essmqtt running.

Then you are practically done and just need to configure the MQTT Integration in Home assistant and all your data (if you set up autodiscovery) should be visible in HA.

Let me know if you have questions...

from pyess.

gluap avatar gluap commented on July 16, 2024 1

@flixlix it's easiest to set it up in HomeAssistant Core (which is less restricted than Homeassistant OS but requires a lot more background knowledge to operate). But in Homeassistant Core the normal install instructions apply.

If you want to run via HomeAssistant OS my guess would be that you could install the portainer addon to fetch a container which can run python (for instance one of the python containers) and set essmqtt up therein. Or you could write a Dockerfile to execute the build steps from the manual and build it from (one of the) Homeassistant OS Shells. I'm not sure though whether you can realistically expect to run the steps to get the API key from a container (UPNP might not work).

Disclaimer: I avoid Homeassistant OS because I find it very difficult to run custom software there, so I have no in-depth experience in setting up anything in Homeassistant OS. With homeassistant core I can just run my own docker containers, compile software on the host OS like I would normally do etc... whereas for homeassistant os everything out of the box seemed to be tedious (at least last time I tried it).

The good news is that you dont have to run essmqtt on the same machine as you run homeassistant OS from - you could take any other computer on your network - essmqtt should be able to run OS-independent.

from pyess.

flixlix avatar flixlix commented on July 16, 2024

Thank you for your answer!
I have Home Assistant Operating System installed. How would I go about installing it then. I also have the "Terminal" Add-on installed, but it doesn't seem to want to run the python commands...

from pyess.

flixlix avatar flixlix commented on July 16, 2024

I finally was able to install it! Thank you both for your help :)

from pyess.

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.