Comments (4)
awesome, thanks for this! i was looking at master
which did not have the env variables or labels on the container or maybe i just missed them, but it all makes sense now. closing
from smart-home.
Hi! Thank you for your kind words. Can you explain a little more what you're looking for? I'm not sure what you mean by "supervisor like experience."
from smart-home.
Sure. So when you run HomeAssistant OS for instance you get their supervisor
, right - which let's you install things like and mqtt
broker and esphome
for example. When you do that you get a esphome
dashboard inside homeassistant if you know what i mean.
My understanding is that it should be possible to get the same functionality with a docker
version of homeassistant and esphome (both of which you have here), but how is that achieved? Like what do you configure in homeassistant after the containers are up to get the esphome dashboard there where you can OTA flash and all that there if that makes sense?
Maybe I am still explaining this poorly, but this is the end result I am hoping to achieve somehow if it is possible: https://esphome.io/guides/getting_started_hassio.html / https://youtu.be/7R30c-H8Rro?t=203
from smart-home.
Got it! Thanks for the clarity. So, the goal is to have HASS and ESPHome as separate Docker containers, but have the ESPHome dashboard as an icon you can click in the HASS interface:
Here's the process I followed:
- Create a HASS container, an ESPHome container, and a Traefik container to act as the proxy in front of them.
- Notice how I've defined the
USERNAME
andPASSWORD
environment variables for the ESPHome configuration. This is crucial: since Traefik is now ostensibly exposing your ESPHome to the world, we want to have credentials to protect it. - I add an iFrame panel to show ESPHome in the HASS UI (here). Note that this file is included in
configuration.yaml
.
This effectively replicates the HASS OS experience with one slight difference: the ESPHome dashboard is accessible as-is through the URL defined in Traefik. This is either a benefit or a drawback, depending on your thinking, but either way, something to be aware of.
from smart-home.
Related Issues (3)
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 smart-home.