Skip to content
Open
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6b686e6
initial commit
Oetzi-1987 Jun 30, 2025
6806718
commit files for testing
Oetzi-1987 Jul 1, 2025
fd22d57
dynamic Config Path + Menü update
Oetzi-1987 Jul 12, 2025
2b869bd
dynamic config path + menü update
Oetzi-1987 Jul 12, 2025
35ed421
Update Menu --> just one Menu entrance for ESPHome dashboard
Oetzi-1987 Jul 26, 2025
b080709
function setup_esphomedashboard() completlyupdatet --> Whiptail menu …
Oetzi-1987 Jul 26, 2025
0217053
Merge branch 'openhab:main' into ESPHome-install-Script
Oetzi-1987 Jul 27, 2025
42eab72
Merge branch 'openhab:main' into ESPHome-install-Script
Oetzi-1987 Jul 29, 2025
668b888
small changes during the verification of all operating systems
Oetzi-1987 Aug 10, 2025
5891b2d
Merge branch 'ESPHome-install-Script' of https://github.com/Oetz1987/…
Oetzi-1987 Aug 10, 2025
a0584c1
adding ESPHome Device Builder to documentation
Oetzi-1987 Aug 11, 2025
0eba7ca
renamed service template
Oetzi-1987 Aug 28, 2025
6fefb2f
added ESPHome update hint
Oetzi-1987 Aug 28, 2025
4a90f2c
rename ESPHome Dashboard -> ESPHOME Device Builder
Oetzi-1987 Aug 28, 2025
b3a3427
rename ESPHOme Dashboard --> ESPHome Device Builder
Oetzi-1987 Aug 28, 2025
8373d78
Merge branch 'ESPHome-install-Script' of https://github.com/Oetz1987/…
Oetzi-1987 Aug 28, 2025
a067d20
insert shellcheck comment on line 903
Oetzi-1987 Aug 28, 2025
9111d11
another shellcheck comment on line 903
Oetzi-1987 Aug 28, 2025
55fca55
edit shell comment on line 903
Oetzi-1987 Aug 28, 2025
14d40cd
edit shell comment on line 903 --> ShellCheck 1090
Oetzi-1987 Aug 31, 2025
daa8c22
dco update
Oetzi-1987 Sep 4, 2025
c49c0e5
dco update
Oetzi-1987 Sep 4, 2025
37385ff
Merge branch 'ESPHome-install-Script' of https://github.com/Oetz1987/…
Oetzi-1987 Sep 5, 2025
adf6415
Merge branch 'openhab:main' into ESPHome-install-Script
Oetzi-1987 Sep 5, 2025
c45834d
DCO
Oetzi-1987 Sep 5, 2025
b047758
Merge branch 'ESPHome-install-Script' of https://github.com/Oetz1987/…
Oetzi-1987 Sep 5, 2025
daaab25
additional commit to ssend User informations
Oetzi-1987 Sep 5, 2025
289979b
User Informations
Oetzi-1987 Sep 5, 2025
1aba4cd
sdo User Info
Oetzi-1987 Sep 5, 2025
e402ffe
User Info
Oetzi-1987 Sep 5, 2025
3179af7
User Info
Oetzi-1987 Sep 5, 2025
43d950d
another User id test
Oetzi-1987 Sep 5, 2025
156b6da
Merge branch 'openhab:main' into ESPHome-install-Script
Oetzi-1987 Sep 25, 2025
2b599e2
dynamic Config Path + Menü update
Oetzi-1987 Sep 25, 2025
d7832eb
small changes after first review
Oetzi-1987 Sep 25, 2025
2be758c
Update after review
Oetzi-1987 Oct 5, 2025
72da2d9
log typo
mstormi Oct 9, 2025
19cab70
first Test
Oetzi-1987 Aug 7, 2026
e39aa0b
Merge branch 'ESPHome-install-Script' of https://github.com/Oetzi-198…
Oetzi-1987 Aug 7, 2026
ac99aca
update service template
Oetzi-1987 Aug 7, 2026
8fb4b77
first commit packages.bash
Oetzi-1987 Aug 7, 2026
7c96581
first try packages.bash
Oetzi-1987 Aug 8, 2026
542ca18
esphome sercivce first try
Oetzi-1987 Aug 8, 2026
a79fc28
doubled lines removed
Oetzi-1987 Aug 8, 2026
91144fa
remove doubled lines
Oetzi-1987 Aug 8, 2026
731468a
dev upgrade function
Oetzi-1987 Aug 8, 2026
ec095aa
wrong update command corrected
Oetzi-1987 Aug 9, 2026
8feb56a
dev searching for majoer update
Oetzi-1987 Aug 9, 2026
179c234
test whiptail message
Oetzi-1987 Aug 9, 2026
5480b0c
Update Test with real service file
Oetzi-1987 Aug 9, 2026
b109c16
update Sercie File path for update check
Oetzi-1987 Aug 9, 2026
84dcc85
Update Documentation for Major Updates of ESPHome Device Builder
Oetzi-1987 Aug 9, 2026
15f1fc0
delete both files --> just for testing used
Oetzi-1987 Aug 9, 2026
884b2eb
Update docs/openhabian.md
mstormi Aug 9, 2026
7920752
Update docs/openhabian.md
mstormi Aug 9, 2026
0a2383d
Update functions/packages.bash
mstormi Aug 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/openhabian.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ Each of these are included as a part of `openhabian-config` menu option 20.
- Mi Flora MQTT daemon
- [ESPHome Device Builder](https://esphome.io/guides/getting_started_hassio.html#device-builder-interface) - Webinterface for easy configuration, installation and updating of ESPHome devices at [http://openhabian:6052](http://openhabian:6052) <br/>
The ESPHome configuration files are secured by the openHABbian backup function. <br/>
**Please note that automatic updates are not implemented in OpenHABian. <br/> &rarr; to do this, use the openhbaian-config update function in menu 20**
**Please note that automatic updates are not implemented in OpenHABian.** <br/> &rarr; to do this, use the openhbaian-config update function in menu 20<br/>
Comment thread
mstormi marked this conversation as resolved.
Outdated
**Major Upgrades from versions 2026.5.0 and earlier &rarr; 2026.6.0 and later.** <br/> The update script completely removes ESPHome during this process. The ESPHome configuration files are **NOT** removed. <br/>
Afterward, the installation script must be run manually again to install the latest version of the ESP Home Device Builder.
Comment thread
mstormi marked this conversation as resolved.
Outdated
- Grott Proxy server for [Growatt binding](https://www.openhab.org/addons/bindings/growatt/#grott-application-installation-and-setup)

## First boot configuration
Expand Down
22 changes: 17 additions & 5 deletions functions/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ setup_esphome_device_builder() {
local uninstallEndText="ESPHome Device Builder has been completely uninstalled"
local errorText="An Error occured!\nFor Details please have a look at the shell messages"
local portText="Access the webinterface at http://<your-ip>:$port"
local majorUpdateText="##################### Major update detected #####################\nThe ESPHome Device Builder will now be removed.\nThe ESPHome Device Builder configuration files will NOT be removed.\n\n############# Caution: Manual intervention required #############\nOnce the process is complete, please run the installation\nfunction manually to complete the update."


echo "$(timestamp) [openHABian] ##########################################################################################################"
Expand All @@ -868,8 +869,19 @@ setup_esphome_device_builder() {
if [ "$setupMode" = "install" ]; then
echo "$(timestamp) [openHABian] The option installation / update was selected"
echo "$(timestamp) [openHABian] Check if the esphome-device-builder.service is already running..."
#This Precheck is neccesary to decide if a major update. 2026.5.0 and older --> newer versions
Comment thread
mstormi marked this conversation as resolved.
Outdated
if systemctl is-active --quiet esphome-device-builder.service; then
setupMode="update"
echo "$(timestamp) [openHABian] Check /etc/systemd/system/esphome-device-builder.service, if a major update is neccesary..."
if grep -q "6052" /etc/systemd/system/esphome-device-builder.service; then
echo "$(timestamp) [openHABian] major update detected..."
if [[ -n $INTERACTIVE ]]; then
whiptail --title "$whiptailTitle" --msgbox "$majorUpdateText" 14 69
fi
setupMode="remove"
else
echo "$(timestamp) [openHABian] No major update detected..."
setupMode="update"
fi
fi
fi

Expand Down Expand Up @@ -921,7 +933,7 @@ setup_esphome_device_builder() {
fi

echo "$(timestamp) [openHABian] installing ESPHome Device Builder. This could take a few minutes!"
if ! pip3 install esphome; then
if ! pip3 install "esphome-device-builder[esphome]"; then
echo -e "$(timestamp) [openHABian] ${COL_RED}Error: Failed to install ESPHome Device Builder.${COL_DEF}"
return 1
fi
Expand Down Expand Up @@ -968,8 +980,8 @@ setup_esphome_device_builder() {
fi

echo "$(timestamp) [openHABian] updating ESPHome Device Builder..."
if ! pip3 install esphome -U; then
echo -e "$(timestamp) [openHABian] ${COL_RED}Error: Failed to update ESPHome Device Builder.${COL_DEF}"
if ! pip3 install --upgrade esphome-device-builder; then
echo -e "$(timestamp) [openHABian] ${COL_RED}Error: Failed to update ESPHome Device Builder.${COL_DEF}"
return 1
fi

Expand Down Expand Up @@ -1170,4 +1182,4 @@ install_grott() {

echo "OK"
return 0
}
}
2 changes: 1 addition & 1 deletion includes/esphome-device-builder.service.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ After=network.target

[Service]
WorkingDirectory=<esphome-directory>/venv # dynamically replaced in script
ExecStart=<esphome-directory>/venv/bin/esphome dashboard <esphome-config-directory> --port 6052 # dynamically replaced in script
ExecStart=<esphome-directory>/venv/bin/esphome-device-builder <esphome-config-directory> # dynamically replaced in script
Restart=always
User=<username> # dynamically replaced in script
Environment="PATH=<esphome-directory>/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # dynamically replaced in script
Expand Down
Loading