1
0

Compare commits

...

26 Commits

11 changed files with 38 additions and 53 deletions

View File

@@ -44,8 +44,6 @@ first:
5. Start the add-on, check the logs of the add-on to see if everything went well.
6. Click "OPEN WEB UI" to open the ESPHome dashboard. You will be asked for your Home Assistant credentials - ESPHome uses Hass.io's authentication system to log you in.
**NOTE**: Installation on RPis running in 64-bit mode is currently not possible. Please use the 32-bit variant of HassOS instead.
You can view the ESPHome docs here: https://esphome.io/
## Configuration
@@ -58,15 +56,10 @@ Example add-on configuration:
{
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"port": 6052
"keyfile": "privkey.pem"
}
```
### Option: `port`
The port to start the dashboard server on. Default is 6052.
### Option: `ssl`
Enables/Disables encrypted SSL (HTTPS) connections to the web server of this add-on.
@@ -115,7 +108,7 @@ Setting this to `true` will make ESPHome use ICMP ping requests to get the node
### Option: `streamer_mode`
If set to `true`, this will enable stremer mode, which makes ESPHome hide all
If set to `true`, this will enable streamer mode, which makes ESPHome hide all
potentially private information. So for example WiFi (B)SSIDs (which could be
used to find your location), usernames etc. Please note that you need to use
the `!secret` tag in your YAML file to also prevent these from showing up
@@ -123,7 +116,7 @@ while editing and validating.
[discord-shield]: https://img.shields.io/discord/429907082951524364.svg
[dht22]: https://esphome.io/components/sensor/dht.html
[discord]: https://discord.me/KhAMKrd
[discord]: https://discord.gg/KhAMKrd
[releases-shield]: https://img.shields.io/github/release/esphome/esphome.svg
[releases]: https://esphome.io/changelog/index.html
[repository]: https://github.com/esphome/esphome

View File

@@ -42,6 +42,6 @@
"slug": "esphome-beta",
"startup": "application",
"url": "https://beta.esphome.io/",
"version": "1.13.2",
"version": "1.14.4",
"webui": "http://[HOST]:[PORT:6052]"
}

View File

@@ -1,10 +1,10 @@
ARG BUILD_FROM=esphome/esphome-hassio-base-amd64:1.5.1
ARG BUILD_FROM=esphome/esphome-hassio-base-amd64:2.0.0
FROM ${BUILD_FROM}
# Copy root filesystem
COPY rootfs /
RUN pip2 install --no-cache-dir https://github.com/esphome/esphome/archive/dev.zip
RUN pip3 install --no-cache-dir https://github.com/esphome/esphome/archive/dev.zip
# Build arguments
ARG BUILD_VERSION=dev

View File

@@ -44,8 +44,6 @@ first:
5. Start the add-on, check the logs of the add-on to see if everything went well.
6. Click "OPEN WEB UI" to open the ESPHome dashboard. You will be asked for your Home Assistant credentials - ESPHome uses Hass.io's authentication system to log you in.
**NOTE**: Installation on RPis running in 64-bit mode is currently not possible. Please use the 32-bit variant of HassOS instead.
You can view the ESPHome docs here: https://esphome.io/
## Configuration
@@ -58,15 +56,10 @@ Example add-on configuration:
{
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"port": 6052
"keyfile": "privkey.pem"
}
```
### Option: `port`
The port to start the dashboard server on. Default is 6052.
### Option: `ssl`
Enables/Disables encrypted SSL (HTTPS) connections to the web server of this add-on.
@@ -115,7 +108,7 @@ Setting this to `true` will make ESPHome use ICMP ping requests to get the node
### Option: `streamer_mode`
If set to `true`, this will enable stremer mode, which makes ESPHome hide all
If set to `true`, this will enable streamer mode, which makes ESPHome hide all
potentially private information. So for example WiFi (B)SSIDs (which could be
used to find your location), usernames etc. Please note that you need to use
the `!secret` tag in your YAML file to also prevent these from showing up
@@ -123,7 +116,7 @@ while editing and validating.
[discord-shield]: https://img.shields.io/discord/429907082951524364.svg
[dht22]: https://esphome.io/components/sensor/dht.html
[discord]: https://discord.me/KhAMKrd
[discord]: https://discord.gg/KhAMKrd
[releases-shield]: https://img.shields.io/github/release/esphome/esphome.svg
[releases]: https://esphome.io/changelog/index.html
[repository]: https://github.com/esphome/esphome

View File

@@ -1,10 +1,10 @@
{
"args": {},
"build_from": {
"aarch64": "esphome/esphome-hassio-base-aarch64:1.6.0",
"amd64": "esphome/esphome-hassio-base-amd64:1.6.0",
"armv7": "esphome/esphome-hassio-base-armv7:1.6.0",
"i386": "esphome/esphome-hassio-base-i386:1.6.0"
"aarch64": "esphome/esphome-hassio-base-aarch64:2.1.1",
"amd64": "esphome/esphome-hassio-base-amd64:2.1.1",
"armv7": "esphome/esphome-hassio-base-armv7:2.1.1",
"i386": "esphome/esphome-hassio-base-i386:2.1.1"
},
"squash": false
}

View File

@@ -8,8 +8,16 @@ declare esphome_version
if bashio::config.has_value 'esphome_version'; then
esphome_version=$(bashio::config 'esphome_version')
full_url="https://github.com/esphome/esphome/archive/${esphome_version}.zip"
if [[ $esphome_version == *":"* ]]; then
IFS=':' read -r -a array <<< "$esphome_version"
username=${array[0]}
ref=${array[1]}
else
username="esphome"
ref=$esphome_version
fi
full_url="https://github.com/${username}/esphome/archive/${ref}.zip"
bashio::log.info "Installing esphome version '${esphome_version}' (${full_url})..."
pip2 install -U --no-cache-dir "${full_url}" \
pip3 install -U --no-cache-dir "${full_url}" \
|| bashio::exit.nok "Failed installing esphome pinned version."
fi

View File

@@ -4,6 +4,11 @@ server {
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
include /etc/nginx/includes/ssl_params.conf;
ssl on;
ssl_certificate /ssl/%%certfile%%;
ssl_certificate_key /ssl/%%keyfile%%;
# Clear Hass.io Ingress header
proxy_set_header X-Hassio-Ingress "";

View File

@@ -44,8 +44,6 @@ first:
5. Start the add-on, check the logs of the add-on to see if everything went well.
6. Click "OPEN WEB UI" to open the ESPHome dashboard. You will be asked for your Home Assistant credentials - ESPHome uses Hass.io's authentication system to log you in.
**NOTE**: Installation on RPis running in 64-bit mode is currently not possible. Please use the 32-bit variant of HassOS instead.
You can view the ESPHome docs here: https://esphome.io/
## Configuration
@@ -58,15 +56,10 @@ Example add-on configuration:
{
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"port": 6052
"keyfile": "privkey.pem"
}
```
### Option: `port`
The port to start the dashboard server on. Default is 6052.
### Option: `ssl`
Enables/Disables encrypted SSL (HTTPS) connections to the web server of this add-on.
@@ -115,7 +108,7 @@ Setting this to `true` will make ESPHome use ICMP ping requests to get the node
### Option: `streamer_mode`
If set to `true`, this will enable stremer mode, which makes ESPHome hide all
If set to `true`, this will enable streamer mode, which makes ESPHome hide all
potentially private information. So for example WiFi (B)SSIDs (which could be
used to find your location), usernames etc. Please note that you need to use
the `!secret` tag in your YAML file to also prevent these from showing up
@@ -123,7 +116,7 @@ while editing and validating.
[discord-shield]: https://img.shields.io/discord/429907082951524364.svg
[dht22]: https://esphome.io/components/sensor/dht.html
[discord]: https://discord.me/KhAMKrd
[discord]: https://discord.gg/KhAMKrd
[releases-shield]: https://img.shields.io/github/release/esphome/esphome.svg
[releases]: https://esphome.io/changelog/index.html
[repository]: https://github.com/esphome/esphome

View File

@@ -42,6 +42,6 @@
"slug": "esphome",
"startup": "application",
"url": "https://esphome.io/",
"version": "1.13.2",
"version": "1.14.4",
"webui": "http://[HOST]:[PORT:6052]"
}

View File

@@ -44,8 +44,6 @@ first:
5. Start the add-on, check the logs of the add-on to see if everything went well.
6. Click "OPEN WEB UI" to open the ESPHome dashboard. You will be asked for your Home Assistant credentials - ESPHome uses Hass.io's authentication system to log you in.
**NOTE**: Installation on RPis running in 64-bit mode is currently not possible. Please use the 32-bit variant of HassOS instead.
You can view the ESPHome docs here: https://esphome.io/
## Configuration
@@ -58,15 +56,10 @@ Example add-on configuration:
{
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"port": 6052
"keyfile": "privkey.pem"
}
```
### Option: `port`
The port to start the dashboard server on. Default is 6052.
### Option: `ssl`
Enables/Disables encrypted SSL (HTTPS) connections to the web server of this add-on.
@@ -115,7 +108,7 @@ Setting this to `true` will make ESPHome use ICMP ping requests to get the node
### Option: `streamer_mode`
If set to `true`, this will enable stremer mode, which makes ESPHome hide all
If set to `true`, this will enable streamer mode, which makes ESPHome hide all
potentially private information. So for example WiFi (B)SSIDs (which could be
used to find your location), usernames etc. Please note that you need to use
the `!secret` tag in your YAML file to also prevent these from showing up
@@ -123,7 +116,7 @@ while editing and validating.
[discord-shield]: https://img.shields.io/discord/429907082951524364.svg
[dht22]: https://esphome.io/components/sensor/dht.html
[discord]: https://discord.me/KhAMKrd
[discord]: https://discord.gg/KhAMKrd
[releases-shield]: https://img.shields.io/github/release/esphome/esphome.svg
[releases]: https://esphome.io/changelog/index.html
[repository]: https://github.com/esphome/esphome

View File

@@ -39,7 +39,7 @@ base: &base
streamer_mode: bool?
relative_url: str?
status_use_ping: bool?
base_image: esphome/esphome-hassio-base-{arch}:1.6.0
base_image: esphome/esphome-hassio-base-{arch}:2.1.1
esphome-dev:
<<: *base
@@ -56,7 +56,7 @@ esphome-beta:
<<: *base
directory: esphome-beta
name: ESPHome (beta)
version: '1.13.2' # BETA
version: '1.14.4' # BETA
slug: esphome-beta
description: "Beta version of ESPHome Hass.io add-on."
url: https://beta.esphome.io/
@@ -67,7 +67,7 @@ esphome-stable:
<<: *base
directory: esphome
name: ESPHome
version: '1.13.2' # STABLE
version: '1.14.4' # STABLE
slug: esphome
description: "ESPHome Hass.io add-on for intelligently managing all your ESP8266/ESP32 devices."
image: esphome/esphome-hassio-{arch}