You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,16 @@ Get in contact early in the development to propose your idea.
18
18
Fork the repo and make changes on your fork in a feature branch.
19
19
Then be sure to also provide or update the documentation right when creating or modifying features.
20
20
21
+
* if adding a new function, see which of the functions/*.bash files it fits in best
22
+
* create install_xxx() routine and make it work with arguments "install" and "remove"
23
+
* Make sure install_xxx() works in interactive as well as non-interactive (unattended) mode
24
+
If user input is required, create another parameter in openhabian.conf (source for that is in build-image/)
25
+
To test:
26
+
source functions/helpers.bash; source functions/packages.bash; set -x
27
+
install_xxx arg1 arg2 ... argn
28
+
* add BATS tests for "install" and "remove"
29
+
30
+
21
31
### Code architecture
22
32
Always write clean, modular and testable code.
23
33
We have a simple [code-style](#codestyle) which in combination with the static linter [ShellCheck](https://www.shellcheck.net/) works as our coding guidelines.
Copy file name to clipboardExpand all lines: docs/openhabian.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,12 +254,13 @@ Each of these are included as a part of `openhabian-config` menu option 20.
254
254
-[OWServer](https://owfs.org) - 1-Wire system of Dallas/Maxim
255
255
-[FIND](https://www.internalpositioning.com/) - Framework for Internal Navigation and Discovery
256
256
- Mi Flora MQTT daemon
257
+
- Grott Proxy server for [Growatt binding](https://www.openhab.org/addons/bindings/growatt/#grott-application-installation-and-setup)
257
258
258
259
## First boot configuration
259
260
260
261
Many settings are configurable prior to the first boot of openHABian by changing the key value pairs in the `/boot/openhabian.conf` file on the SD card once you have flashed the initial image onto it.
261
262
262
-
Please note that - in case you use a Windows system for writing the SD card - the `/boot/` partition will be mounted to a drive named `bootfs`. So, e.g. if this drive has the letter `D:`, `/boot/openhabian.conf` will be found as `D:\openhabian.conf`.
263
+
Please note that - in case you use a Windows system for writing the SD card - the `/boot/` partition will be mounted to a drive named `bootfs`. So, e.g. if this drive has the letter `D:`, `/boot/openhabian.conf` will be found as `D:\openhabian.conf`.
263
264
264
265
The openHABian configuration file uses key value pairs, essentially a list of `option=value` settings in a plain text file.
265
266
All supported options are already in the file but unused options and optional components are commented out by default.
Copy file name to clipboardExpand all lines: functions/menu.bash
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ show_main_menu() {
75
75
return 255
76
76
fi
77
77
if is_arm && [[ "$(getconf LONG_BIT)"=="32" ]];then
78
-
whiptail --title "32 bit OS" --msgbox "You are running a 32 bit Operating System. THIS IS NOT SUPPORTED ANY LONGER.\\nOpenHAB 5 and Java 21 require that you upgrade your OS to a 64 bit version, please read the release notes at\\nhttps://github.com/openhab/openhab-distro/releases/tag/5.0.0#openhabian\\nYou can still install manually via menus 45 and 41 if in vain but remember that will be an UNSUPPORTED setup.\\nPlease reinstall your system with the 64 bit image of openHABian."11 80
78
+
whiptail --title "32 bit OS" --msgbox "You are running a 32 bit Operating System. THIS IS NOT SUPPORTED ANY LONGER.\\nOpenHAB 5 and Java 21 require that you upgrade your OS to a 64 bit version, please read the release notes at\\nhttps://github.com/openhab/openhab-distro/releases/tag/5.0.0#openhabian\\nYou can still install manually via menus 45 and 41 if in vain but remember that will be an UNSUPPORTED setup.\\nPlease reinstall your system with the 64 bit image of openHABian."13 80
0 commit comments