From b9161a75c44cc2acfac2a13961fc0a7e2f5ed286 Mon Sep 17 00:00:00 2001 From: "push-app-to-main[bot]" <203845782+push-app-to-main[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 18:38:56 +0000 Subject: [PATCH] Add ebusd (ct) --- ct/ebusd.sh | 50 +++++++++++++++++++++++++++++++++ ct/headers/ebusd | 6 ++++ frontend/public/json/ebusd.json | 40 ++++++++++++++++++++++++++ install/ebusd-install.sh | 23 +++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 ct/ebusd.sh create mode 100644 ct/headers/ebusd create mode 100644 frontend/public/json/ebusd.json create mode 100644 install/ebusd-install.sh diff --git a/ct/ebusd.sh b/ct/ebusd.sh new file mode 100644 index 000000000..a6b67bfc5 --- /dev/null +++ b/ct/ebusd.sh @@ -0,0 +1,50 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Joerg Heinemann (heinemannj) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/john30/ebusd + +APP="ebusd" +var_tags="${var_tags:-automation}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-2}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/default/ebusd ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + if check_for_gh_release "ebusd" "john30/ebusd"; then + msg_info "Stopping Services" + systemctl stop ebusd.service + msg_ok "Stopped Services" + + fetch_and_deploy_gh_release "ebusd" "john30/ebusd" "binary" "latest" "/opt/ebusd" "ebusd-*_amd64-trixie_mqtt1.deb" + + msg_info "Starting Services" + systemctl start ebusd.service + msg_ok "Started Services" + msg_ok "Updated successfully!" + fi + exit +} + +start +build_container +description + +msg_ok "Completed successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/headers/ebusd b/ct/headers/ebusd new file mode 100644 index 000000000..fec79a3e3 --- /dev/null +++ b/ct/headers/ebusd @@ -0,0 +1,6 @@ + __ __ + ___ / /_ _ ___________/ / + / _ \/ __ \/ / / / ___/ __ / +/ __/ /_/ / /_/ (__ ) /_/ / +\___/_.___/\__,_/____/\__,_/ + diff --git a/frontend/public/json/ebusd.json b/frontend/public/json/ebusd.json new file mode 100644 index 000000000..30743fd04 --- /dev/null +++ b/frontend/public/json/ebusd.json @@ -0,0 +1,40 @@ +{ + "name": "ebusd", + "slug": "ebusd", + "categories": [ + 16 + ], + "date_created": "2026-01-26", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://github.com/john30/ebusd/wiki", + "website": "https://github.com/john30/ebusd", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ebusd.webp", + "config_path": "/etc/default/ebusd", + "description": "ebusd is a daemon for handling communication with eBUS devices connected to a 2-wire `energy bus` used by numerous heating systems.", + "install_methods": [ + { + "type": "default", + "script": "ct/ebusd.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 2, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [ + { + "text": "For required post installation actions, checkout: `https://github.com/community-scripts/ProxmoxVE/discussions/11352`", + "type": "info" + } + ] +} diff --git a/install/ebusd-install.sh b/install/ebusd-install.sh new file mode 100644 index 000000000..e25246d7a --- /dev/null +++ b/install/ebusd-install.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Joerg Heinemann (heinemannj) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/john30/ebusd + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing ebusd" +fetch_and_deploy_gh_release "ebusd" "john30/ebusd" "binary" "latest" "" "ebusd-*_amd64-trixie_mqtt1.deb" +systemctl enable -q ebusd.service +msg_ok "Installed ebusd" + +motd_ssh +customize +cleanup_lxc