mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
114 lines
3.7 KiB
TOML
114 lines
3.7 KiB
TOML
packaging_format = 2
|
||
|
||
id = "homeassistant"
|
||
name = "Home Assistant"
|
||
description.en = "Home automation platform"
|
||
description.fr = "Plateforme domotique"
|
||
|
||
version = "2024.6.2~ynh1"
|
||
|
||
maintainers = ["ewilly"]
|
||
|
||
[upstream]
|
||
license = "Apache-2.0"
|
||
website = "https://www.home-assistant.io"
|
||
demo = "https://demo.home-assistant.io"
|
||
admindoc = "https://www.home-assistant.io/docs/"
|
||
code = "https://github.com/home-assistant/core"
|
||
cpe = "cpe:2.3:a:home-assistant:home-assistant"
|
||
|
||
[integration]
|
||
yunohost = ">= 11.2"
|
||
architectures = ["amd64", "arm64"]
|
||
multi_instance = false
|
||
ldap = true
|
||
sso = false
|
||
disk = "2G"
|
||
ram.build = "2G"
|
||
ram.runtime = "2G"
|
||
|
||
[install]
|
||
[install.domain]
|
||
type = "domain"
|
||
|
||
[install.init_main_permission]
|
||
type = "group"
|
||
default = "visitors"
|
||
|
||
[install.home]
|
||
ask.en = "Name of the location where Home Assistant is running."
|
||
type = "string"
|
||
default = "Home"
|
||
|
||
[install.latitude]
|
||
ask.en = "Latitude of your location required to calculate the time the sun rises and sets--> https://www.openstreetmap.org"
|
||
type = "string"
|
||
default = 32.87336
|
||
|
||
[install.longitude]
|
||
ask.en = "Longitude of your location required to calculate the time the sun rises and sets --> https://www.openstreetmap.org"
|
||
type = "string"
|
||
default = 117.22743
|
||
|
||
[install.elevation]
|
||
ask.en = "Altitude above sea level in meters. Impacts sunrise data."
|
||
type = "number"
|
||
default = 430
|
||
|
||
[install.unit_system]
|
||
ask.en = "metric for Metric, us_customary for US Customary. This also sets temperature_unit, Celsius for Metric and Fahrenheit for US Customary."
|
||
type = "select"
|
||
choices = ["metric", "us_customary"]
|
||
default = "metric"
|
||
|
||
[install.currency]
|
||
ask.en = "Pick your currency code from the column Code of Wikipedia’s list of ISO 4217 active codes --> https://en.wikipedia.org/wiki/ISO_4217#Active_codes"
|
||
type = "string"
|
||
default = "USD"
|
||
|
||
[install.country]
|
||
ask.en = "Country in which Home Assistant is running. This may, for example, influence radio settings to comply with local regulations. The country should be specified as an ISO 3166.1 alpha-2 code. Pick your country from the column Code of Wikipedia’s list of ISO 31661 alpha-2 officially assigned code --> https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements"
|
||
type = "string"
|
||
default = "US"
|
||
|
||
[install.time_zone]
|
||
ask.en = "Pick your time zone from the column TZ of Wikipedia’s list of tz database time zones --> https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
|
||
type = "string"
|
||
default = "America/Los_Angeles"
|
||
|
||
[resources]
|
||
[resources.sources]
|
||
|
||
[resources.sources.main]
|
||
url = "https://github.com/home-assistant/core/archive/refs/tags/2024.6.2.tar.gz"
|
||
sha256 = "ff3e4144669a0a62eb91aa46b643ae11dec1da144ba8b4645ff3030ad0afd19a"
|
||
|
||
autoupdate.strategy = "latest_github_release"
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
dir = "/var/www/__APP__"
|
||
owner = "__APP__:rwx"
|
||
group = "__APP__:rx"
|
||
|
||
[resources.data_dir]
|
||
dir = "/home/yunohost.app/__APP__"
|
||
owner = "__APP__:rwx"
|
||
group = "__APP__:rx"
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
api.url = "/api"
|
||
api.show_tile = false
|
||
api.allowed = "visitors"
|
||
api.auth_header = false
|
||
|
||
[resources.ports]
|
||
main.default = 8123
|
||
|
||
[resources.apt]
|
||
packages = "mariadb-server, python3-dev, python3-venv, python3-pip, libffi-dev, autoconf, build-essential, libopenjp2-7-dev, libtiff-dev, libturbojpeg0-dev, libmariadb-dev-compat, rustc, tk-dev, libreadline-dev, libdb5.3-dev, libgdbm-dev, libsqlite3-dev, libbz2-dev, libexpat1-dev, liblzma-dev, wget, tar, libnss3-dev, ffmpeg"
|
||
|
||
[resources.database]
|
||
type = "mysql"
|