mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
99 lines
3.2 KiB
TOML
99 lines
3.2 KiB
TOML
packaging_format = 2
|
|
|
|
id = "domoticz"
|
|
name = "Domoticz"
|
|
description.en = "Lightweight Home Automation System"
|
|
description.fr = "Système domotique léger"
|
|
|
|
version = "2024.6~ynh1"
|
|
|
|
maintainers = ["Krakinou"]
|
|
|
|
[upstream]
|
|
license = "GPL-3.0-or-later"
|
|
website = "https://domoticz.com/"
|
|
admindoc = "https://www.domoticz.com/wiki/Main_Page"
|
|
userdoc = "https://www.domoticz.com/DomoticzManual.pdf"
|
|
code = "https://github.com/domoticz/domoticz"
|
|
cpe = "cpe:2.3:a:domoticz:domoticz"
|
|
fund = "https://www.paypal.com/donate?token=rF_gUybGmQGia_jzLfu3vkeXRqYLRV-v-BxCTylrTsEN4mB-nDdSVQhg3a-I9LkiqORq70Gtxbo6rq3r&locale.x=US"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = [ "amd64", "armhf", "arm64" ]
|
|
multi_instance = false
|
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "100M"
|
|
ram.build = "150M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/domoticz"
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "all_users"
|
|
|
|
[install.mqtt_domain]
|
|
ask.fr = "Domaine MQTT"
|
|
ask.en = "MQTT domain"
|
|
help.fr = "Domaine pour le serveur MQTT. Remettez le domaine principal ou à vide si vous ne souhaitez pas l'utiliser. Lire la documentation pour plus d'informations"
|
|
help.en = "MQTT server domain. Set blank or the main domain if you don't wish to use it. See the doc for more info"
|
|
type = "domain"
|
|
optional = true
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
arm64.url = "https://github.com/domoticz/domoticz/releases/download/2024.6/domoticz_linux_aarch64.tgz"
|
|
arm64.sha256 = "0023643aaca1e9e4d09c0f972edfbf97850bcfed2cc159945bb083baf1dc6ecc"
|
|
armhf.url = "https://github.com/domoticz/domoticz/releases/download/2024.6/domoticz_linux_armv7l.tgz"
|
|
armhf.sha256 = "ed7d9e4c6d86f076e4bb188c173c46d1f0c6c5dda0cb6e80110b7e4e649d93fe"
|
|
amd64.url = "https://github.com/domoticz/domoticz/releases/download/2024.6/domoticz_linux_x86_64.tgz"
|
|
amd64.sha256 = "c322b3f2341764e3be7f1139b3b85533e27f2da492eaf4d40d2afe5a6e746688"
|
|
format="tar.gz"
|
|
in_subdir=false
|
|
extract=true
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.asset.arm64 = ".*domoticz_linux_aarch64.tgz"
|
|
autoupdate.asset.amd64 = ".*domoticz_linux_x86_64.tgz"
|
|
autoupdate.asset.armhf = ".*domoticz_linux_armv7l.tgz"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
main.auth_header = false
|
|
|
|
api.url = "__DOMAIN__/api_/__APP__"
|
|
api.show_tile = false
|
|
api.allowed = "visitors"
|
|
|
|
#Permission will be removed by the install script if not needed
|
|
mqtt.url = "__MQTT_DOMAIN__/"
|
|
mqtt.show_tile = false
|
|
mqtt.allowed = "visitors"
|
|
|
|
[resources.ports]
|
|
main.default = 8080
|
|
#to be checked if it can become conditionnal
|
|
#ports will always be provisionned... don't know if it's an issue...
|
|
mqtt.default = 1883
|
|
mqtt_websocket.default = 8883
|
|
|
|
[resources.apt]
|
|
packages = "libudev-dev, python3-dev, libcurl4, libusb-0.1-4"
|
|
packages_from_raw_bash = '''if [ "$mqtt_domain" != "$domain" ]; then echo mosquitto mosquitto-clients; fi'''
|
|
|