projekte:hausautomatisierung:openhab:display

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Nächste ÜberarbeitungBeide Seiten, nächste Überarbeitung
projekte:hausautomatisierung:openhab:display [2021/06/21 17:55] nobyprojekte:hausautomatisierung:openhab:display [2021/09/04 15:12] noby
Zeile 15: Zeile 15:
  $ sudo -i  $ sudo -i
  $ deluser pi  $ deluser pi
 +        $ apt update
 +        $ apt upgrade
  $ apt-get install vim  $ apt-get install vim
  $ update-alternatives --set editor /usr/bin/vim.basic  $ update-alternatives --set editor /usr/bin/vim.basic
Zeile 54: Zeile 56:
 sleep 1 sleep 1
 /usr/bin/chromium-browser --window-size=1910,1080 --noerrdialogs --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --disable-internal-flash --disable-plugins-discovery --kiosk --touch-devices=6 --app=https:/pizza.binary.kitchen/basicui/app?sitemap=mainroom /usr/bin/chromium-browser --window-size=1910,1080 --noerrdialogs --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --disable-internal-flash --disable-plugins-discovery --kiosk --touch-devices=6 --app=https:/pizza.binary.kitchen/basicui/app?sitemap=mainroom
 +</code>
 +
 +use the following for the workshop display:
 +<code>
 +#!bin/bash
 +/usr/bin/xscreensaver -no-splash &
 +/usr/bin/redshift -l49.1:12.6 -b 0.5 &
 +/usr/bin/xterm -e true
 +sleep 1
 +/usr/bin/chromium-browser --window-size=800,480 --noerrdialogs --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --disable-internal-flash --disable-plugins-discovery --kiosk --app=https:/pizza.binary.kitchen/basicui/app?sitemap=workshop
 </code> </code>
  
Zeile 125: Zeile 137:
 </code> </code>
  
 +    $ apt install xdotool
 +    $ chmod a+x /home/openhab/refresh_chrome.sh
 +    $ chmod a+x /home/openhab/check_network.sh
     $ crontab -e -u openhab     $ crontab -e -u openhab
 <code> <code>
Zeile 133: Zeile 148:
 ===== OverlayFS ===== ===== OverlayFS =====
     $ cd     $ cd
 +    $ apt install git
     $ git clone https://github.com/ghollingworth/overlayfs     $ git clone https://github.com/ghollingworth/overlayfs
 +    $ cd overlayfs
     $ sudo overlayfs.sh     $ sudo overlayfs.sh
     $ reboot     $ reboot
 +    
 +ACHTUNG!!!! Nach jedem Kernel Update muss sudo overlayfs.sh erneut ausgeführt werden. Ansonsten bootet das System nicht mehr. Wenn dies doch geschieht, muss aus der cmdline.txt der Eintrag boot=overlay entfernt werden.
 +   
 +===== Wireless Config (Optional) =====
 +    $ vi /etc/wpa_supplicant/wpa_supplicant.conf
 +<code>
 +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 +update_config=1
 +country=DE
 +
 +network={
 + ssid="mqtt.binary-kitchen.de"
 + psk="<Password for your wireless LAN>"
 +}
 +</code>
  • projekte/hausautomatisierung/openhab/display.txt
  • Zuletzt geändert: 2021/09/04 17:39
  • von noby