Fix config style for new Supervisor/Hardware (#1825)

* New Supervisor Hardware

* Update more changelogs

* fix version

* Fix boot

* fix application
This commit is contained in:
Pascal Vizeli
2021-02-08 11:12:39 +01:00
committed by GitHub
parent 23c51e62a6
commit d110f980cf
4 changed files with 28 additions and 8 deletions

View File

@@ -1,16 +1,21 @@
# Changelog
## 2.0
## 2.1.0
- Update hardware configuration for Supervisor 2021.02.5
- Use Alpine 3.13
## 2.0.0
- Rewrites add-on onto Bashio
- Added documentation to the add-on repository
- Code formatting
## 1.0
## 1.0.0
- Update base image
## 0.5
## 0.5.0
- Added possibility for config options:
protocols: comen, fineoffset, mandolyn, oregon

View File

@@ -4,7 +4,10 @@ FROM $BUILD_FROM
ENV LANG C.UTF-8
# Install Telldus library for TellStick (using same approach as in hassio docker installation)
RUN apk add --no-cache \
ARG TELLDUS_COMMIT
RUN \
set -x \
&& apk add --no-cache \
confuse \
libftdi1 \
libstdc++ \
@@ -21,8 +24,9 @@ RUN apk add --no-cache \
&& ln -s /usr/include/libftdi1/ftdi.h /usr/include/ftdi.h \
&& mkdir -p /usr/src \
&& cd /usr/src \
&& git clone -b master --depth 1 https://github.com/telldus/telldus \
&& git clone https://github.com/telldus/telldus \
&& cd telldus/telldus-core \
&& git reset --hard ${TELLDUS_COMMIT} \
&& sed -i \
"/\<sys\/socket.h\>/a \#include \<sys\/select.h\>" \
common/Socket_unix.cpp \

12
tellstick/build.json Normal file
View File

@@ -0,0 +1,12 @@
{
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.13",
"amd64": "homeassistant/amd64-base:3.13",
"armhf": "homeassistant/armhf-base:3.13",
"armv7": "homeassistant/armv7-base:3.13",
"i386": "homeassistant/i386-base:3.13"
},
"args": {
"TELLDUS_COMMIT": "2598bbed16ffd701f2a07c99582f057a3decbaf3"
}
}

View File

@@ -1,14 +1,13 @@
{
"name": "TellStick",
"version": "2.0",
"version": "2.1.0",
"slug": "tellstick",
"description": "TellStick and TellStick Duo service",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/tellstick",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "system",
"stdin": true,
"boot": "auto",
"devices": ["/dev/bus/usb:/dev/bus/usb:rwm"],
"usb": true,
"options": {
"devices": [
{