Comments (4)
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:
- A MQTT server
- Somewhere to run pyess
- The MQTT integration for Home Assistant
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.
@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.
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.
I finally was able to install it! Thank you both for your help :)
from pyess.
Related Issues (20)
- switch-tasks not working
- Support new Battery mode "Weather forecast" HOT 20
- Connection to the ESS seems to be blocked HOT 5
- unit of measurement wrong for homeassistant HOT 2
- Cannot connect to ESS HOT 7
- Access to installer settings HOT 11
- Feature Request: Multiple Inverters HOT 2
- How to connect on different subnet HOT 8
- Two MQTT servers HOT 2
- Can't run essmqtt anymore. error message about coroutine 'ClientSession.close' was never awaited. HOT 1
- ESSmqtt as daemon HOT 1
- Hassio 3023.09.3 ERROR:asyncio:Task exception was never retrieved HOT 2
- try to use with new resu system HOT 2
- Run pyess as daemon/service under Linux, comments HOT 11
- Register last will and testament for essmqtt HOT 1
- Improve documentation on statuses HOT 2
- Communication with high PCS CPU Load HOT 11
- essmqtt stops updating values after 38 hours of runtime HOT 22
- V1.7: Error messages in Service status HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyess.