Wall mounted openhab screen


(Tommy Sharp) #21

I’m quite liking the look of this currently for a nice big family room dashboard …


(scott dee) #22

stick with the syno for your OH server, no worries of sd card write failures.

there are multitudes of inexpensive android tablets available to do the job. then visit your local craft store and find a picture frame to fit around it

see: https://forum.pimatic.org/topic/3311/koffienl-s-tablet-guide-frame-for-wall-mounted-tablet
for an example


(Alfred) #23

Hi Jörg,

do you use the PI for visualisation/HAB-Panel and as OpenHab-Server/Client?

I try to use the Raspberry-Touchscreen as Panel.

Greetings,
Alfred


(Jörg Lemmer) #24

Hi Alfred,

yes, I do. I have bought a PI, a Razberry Z-Wave Module, the original Touchscreen and the original housing, to build a quite small openHAB device. As I did not want/dare to solder the power cables for the panel onto the PI I had to make an additional hole in the housing to use a short USB-cable instead, as the Razberry unfortunately does not allow a daisychaining.

Then I installed a normal openhabian image, added LXDE and the chromium browser, which I configured to start automatically with HABpanel. The only missing part so far is, that HABpanel always starts with an empty panel, although it should start with the preconfigured panel I designed. So I have to go to my panel manually every time the device has to be rebooted.

If you like, I can send you a short “step.by-step” list of things I did, to get such a thing up and running.

Greetings

Jörg


(Alfred) #25

Hi Joerg,

A short step by step list how you realize the Projekt would be great.

I work with the raspberryPi and openHAB only a few weeks ago and struggle sometimes with the variety of possibilities.

I guess you are a German native too and we could talk outsidee the forum in german?

Greetings,

Alfred


(Jörg Lemmer) #26

Hi Alfred,

here is my step-by-step:

Openhab2 Server/Touchclient installieren

Von https://github.com/openhab/openhabian/releases Image *.img.xz laden

Mit Etcher flashen (Datei nicht in *.img umbenennen!)

Installation durchlaufen lassen

mit user: openhabian pw: openhabian einloggen

sudo openhabian-config

Punkt Update

Punkt Upgrade

Reboot

Folgende Punkte sind nur für Razberry notwendig:

  •      Punkt "Serial Port Settings" auswählen und dort alle drei Punkte markieren
    
  •      Wenn Razberry nicht gefunden wird unter /boot/cmdline.txt Eintrag  console=serial0,115200 löschen
    

sudo nano /etc/dhcpcd.conf um statische IP-Adresse wie folgt am Ende erweitern, wenn man dies möchte

Statische IP-Adresse

interface eth0

static ip_address=192.168.0.xxx/24 (welche immer bei dir zum Netzwerk past)

static routers=192.168.0.xxx (ebenfalls passend zum Netzwerk)

static domain_name_servers=192.168.0.xxx (passend zum Netzwerk

sudo nano /boot/config.txt

lcd_rotate=2 am Ende eintragen um Bildschirm zu drehen

sudo apt install raspberrypi-ui-mods um Pixel Oberfläche zu installieren

sudo apt install chromium-browser um Chromium zu installieren

sudo nano /home/openhabian/.config/lxsession/LXDE-pi/autostart um Chromium im Kioskmode zu starten um

@chromium-browser --noerrdialogs --kiosk --incognito https://192.168.0.245:8080 (und ggf. passende Oberfläche) ergänzen, damit HABPanel geladen wird, auf dem Gerät selbst die Servergespeicherte Oberfläche EG_Licht auswählen

[19:15:32] openhabian@openHABianPi:/etc$ sudo visudo um Eintrag

Defaults:openhabian !authenticate

ergänzen, damit User openhabian bei sudo kein PW mehr braucht (wenn man das möchte)

Screensaver in den Pixel Einstellungen auf “blank” stellen

Um eigene Icons (DWD und VMZ, …) anzeigen zu können: Icons in Kleinschreibung dwd.png, vmz.png nach /etc/openhab2/icons/classic kopieren

Um schreibend per SAMBA auf die Konfigurationsdateien zugreifen zu können müssen pro Share folgende Einstellungen vorgenommen werden:

browseable = Yes

writeable = Yes

only guest = no

create mask = 0777

directory mask = 0777

public = no

force user = root

Greetings

Jörg


(Alfred) #27

Jörg!

Thanks for the plan!

The display works and I’m sitting now on source code for openHAB.

My control works with lan, do you think it works with WiFi also or is it not recommend?

Greets, Alfred


(SiHui) #28

Please guys, this is an international forum and the language is English. If you need to write in German language please use PM or the German language forum.
This is the way other users all over the world can benefit from answers.


(Alfred) #29

Sorry,
I thought it was a pm…:see_no_evil:


(Jörg Lemmer) #30

Hallo Alfred,

ich bevorzuge LAN, wo immer es geht. Ist einfach zuverlässiger und stabiler als auch schneller. Im Zweifelsfall eine Fehlerquelle weniger, wenn es irgendwo hakt. Gerade wenn es um einen Server geht. Ich habe noch einen zweiten Raspi mit Touchpanel als reinen Client mit HABpanel. Der hängt tatsächlich nur am WLAN, weil ich mir da das Kabelziehen sparen wollte.

VG

Jörg


(SiHui) #31

Please!