...es hat mir keine Ruhe gelassen. Ich hab zwar keinen Pi3a, es musste ein Pi4 2GB herhalten und eine eine 32 GB SD-Karte. Als Image habe ich diesmal die Version 1.5 gewählt, weil ich noch was anderes schauen wollte(frontail).
Die openhabian.conf dazu sah folgendermassen aus:
Code: Alles auswählen
# Modify your openHABian settings
# Handle with care, only touch if you need to!!
hostname=ohwifi
username=habwifi
userpw=wifiHAB
# Language and time. Be sure to set these to valid values
timeserver=0.pool.ntp.org
locales="en_US.UTF-8 de_DE.UTF-8"
system_default_locale="en_US.UTF-8"
timezone=Europe/Berlin
# Wi-Fi settings. An ethernet connection is recommended
# Requirement: RPi3, RPi0W, PineA64 or a supported external Wi-Fi dongle
# Fill in your SSID and password below, leave empty to use ethernet
wifi_ssid="zarathustra"
wifi_psk="54058350400438340534"
# Wi-Fi setting. Select a two-letter country code suitable for your location
# E.g. US (default), DE, AU, NZ...
# You may infringe on local legislature otherwise
# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
wifi_country="DE"
# vim: filetype=sh
Also LAN-Kabel am Pi abgezogen, SD-Karte in den Pi gesteckt und Saft drauf. Das Ganze wieder "headless", also ohne Monitor und Tastatur.
Nach 5 Minuten habe ich mal in der Fritzbox nachgeschaut, ob sich der Pi mit dem Netzwerk verbunden hatte und das hatte er auch. Zwar war der Name "openhab", aber das ist ja so ziemlich egal. Ich hab dann die IP-Adresse aufgeschrieben und den Pi weiter arbeiten lassen. Um ganz sicher zu gehen habe ich eine Stunde gewartet.
Dann habe ich mal auf dem PC unter Netzwerknachgeschaut, ob mein Pi bekannt ist und tatsächlich war auch der share für meinen "ohwifi" sichtbar. Die Anbindung mit den Benutzerdaten, wie in der openhabian.conf definiert hat auch geklappt.
Dann habe ich den Zugriff über Putty ausprobiert:
Code: Alles auswählen
login as: habwifi
habwifi@192.168.178.xyz's password:
Linux ohwifi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Aug 14 02:30:52 2020 from 192.168.178.abc
###############################################################################
############### ohwifi ######################################################
###############################################################################
## Ip = 192.168.178.xyz
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 4.19.57-v7l+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 0:9:4
## CPU Usage = 0.25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.00, 5m: 0.11, 15m: 0.11
## Memory = Free: 1.33GB (71%), Used: 0.53GB (29%), Total: 1.87GB
## Swap = Free: 2.58GB (100%), Used: 0.00GB (0%), Total: 2.58GB
## Root = Free: 22.98GB (82%), Used: 4.79GB (18%), Total: 28.99GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 123 running processes of 32768 maximum processes
###############################################################################
Welcome to __ _____ ____ _
____ ____ ___ ____ / / / / | / __ )(_)___ _____
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/
/_/
openHAB 2.5.7-1 (Release Build)
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://ohwifi:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
[09:48:18] habwifi@ohwifi:~$
...auch ok.
Jetzt habe ich meinen Browser (Firefox) am PC geöffnet und die Netzwerkadresse (
http://ohwifi:8080) vom Dashboard aufgerufen. Im Browser habe ich mich da für die Installation
"Expert" entschieden. Dann heisst es noch einen Augenblick (ca. 2 -5 Minuten, vielleicht auch kürzer) warten und das Ergebnis sieht dann so aus:
ohscreen.jpg
So einfach geht das, ohne grossen Aufwand. Man braucht halt etwas Geduld, aber die Installation per WiFi klappt genauso einfach, wie die über LAN.
Ich denke das die headless-Installation auch vorzuziehen ist, da das was da über den Monitor flimmert, eher verwirrend sein kann und auch eine gewisse Interaktion benötigt (ich weiss es aber nicht und will's auch gar nicht wissen).
Der frontail-log:
Code: Alles auswählen
2020-08-14 01:36:54.999 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.178.xyz:8080
2020-08-14 01:36:55.025 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.178.xyz:8443
2020-08-14 01:36:56.233 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-08-14 01:38:20.653 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2020-08-14 01:38:20.871 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.178.xyz:8080
2020-08-14 01:38:20.872 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.178.xyz:8443
2020-08-14 01:40:17.543 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2020-08-14 01:40:17.775 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.178.xyz:8080
2020-08-14 01:40:17.776 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.178.xyz:8443
2020-08-14 01:40:17.785 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2020-08-14 01:41:03.644 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-08-14 01:41:04.742 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.178.xyz:8080
2020-08-14 01:41:04.745 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.178.xyz:8443
2020-08-14 02:26:54.220 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2020-08-14 02:26:54.949 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2020-08-14 02:26:55.158 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2020-08-14 02:34:58.043 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2020-08-14 02:34:58.086 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2020-08-14 02:34:58.120 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2020-08-14 02:34:58.164 [INFO ] [assic.internal.servlet.WebAppServlet] - Stopped Classic UI
2020-08-14 02:34:58.216 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2020-08-14 02:34:58.410 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2020-08-14 09:40:07.301 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-08-14 09:40:09.783 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.178.xyz:8080
2020-08-14 09:40:09.789 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.178.xyz:8443
2020-08-14 09:40:12.211 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2020-08-14 09:40:12.606 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2020-08-14 09:40:12.859 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
==> /var/log/openhab2/events.log <==
2020-08-14 02:26:42.692 [thome.event.ExtensionEvent] - Extension 'package-expert' has been installed.
2020-08-14 02:26:55.186 [thome.event.ExtensionEvent] - Extension 'transformation-javascript' has been installed.
2020-08-14 02:26:55.187 [thome.event.ExtensionEvent] - Extension 'transformation-regex' has been installed.
2020-08-14 02:26:55.189 [thome.event.ExtensionEvent] - Extension 'ui-habpanel' has been installed.
2020-08-14 02:26:55.190 [thome.event.ExtensionEvent] - Extension 'transformation-jsonpath' has been installed.
2020-08-14 02:26:55.192 [thome.event.ExtensionEvent] - Extension 'transformation-xpath' has been installed.
2020-08-14 02:26:55.193 [thome.event.ExtensionEvent] - Extension 'ui-restdocs' has been installed.
2020-08-14 02:26:55.194 [thome.event.ExtensionEvent] - Extension 'transformation-map' has been installed.
2020-08-14 02:26:55.196 [thome.event.ExtensionEvent] - Extension 'ui-basic' has been installed.
2020-08-14 02:26:55.197 [thome.event.ExtensionEvent] - Extension 'ui-classic' has been installed.
2020-08-14 02:26:55.198 [thome.event.ExtensionEvent] - Extension 'ui-habmin' has been installed.
2020-08-14 02:26:55.199 [thome.event.ExtensionEvent] - Extension 'transformation-xslt' has been installed.
2020-08-14 02:26:55.200 [thome.event.ExtensionEvent] - Extension 'transformation-exec' has been installed.
2020-08-14 02:26:55.201 [thome.event.ExtensionEvent] - Extension 'ui-paper' has been installed.
2020-08-14 02:26:55.202 [thome.event.ExtensionEvent] - Extension 'transformation-scale' has been installed.
Interessante Erfahrung. Folgende Punkte, die für mich wichtig waren:
"frontail" wurde in der Version 4.9.1 installiert, aber der "output" ist wie er sein soll (1-zeilig). Wir hatten hier schon an anderer Stelle im Forum diskutiert.
Der Linux Kernel wurde in der Version 4.19.57-v7l+
So und nun kann's eigentlich losgehen, mit Bindings, Things, Items, Rules, etc.
Man kann aber auch dass machen, was ich jetzt mache ! Ich mach ihn wieder
platt
Edit: Hab gerade endeckt, dass FireMotD etwas anderes anzeigt, als tatsächlich vorhanden ist !?
[10:16:03] habwifi@ohwifi:~$ uname -r
5.4.51-v7l+
[10:28:24] habwifi@ohwifi:~$
Also doch der neueste Kernel