diff --git a/ct/ebusd.sh b/ct/ebusd.sh new file mode 100644 index 000000000..710c81c06 --- /dev/null +++ b/ct/ebusd.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Joerg Heinemann (heinemannj) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/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/apt/sources.list.d/ebusd.sources ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_info "Updating ebusd" + $STD apt update + $STD apt --upgrade -y ebusd + msg_ok "Updated ebusd" + msg_ok "Updated successfully!" + 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..862d24153 --- /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/proxmox-helper-scripts.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..f7e58010c --- /dev/null +++ b/install/ebusd-install.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Joerg Heinemann (heinemannj) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/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 + +setup_deb822_repo \ + "ebusd" \ + "https://raw.githubusercontent.com/john30/ebusd-debian/master/ebusd.gpg" \ + "https://repo.ebusd.eu/apt/default/bookworm/" \ + "bookworm" \ + "main" + +msg_info "Installing ebusd" +$STD apt install -y ebusd +systemctl enable -q --now ebusd +msg_ok "Installed ebusd" + +motd_ssh +customize +cleanup_lxc