|
|
| Line 1: |
Line 1: |
| Kiosk App mit dem Chrome App Builder erstellen.
| | =Dashboards= |
|
| |
|
| https://support.google.com/chrome/a/answer/3316168?visit_id=637898446943323643-291419851&rd=1
| | ==== Inhalt planen und verändern ==== |
| | Chrome Sign Builder Installieren und starten |
|
| |
|
| Erstellte Apps
| | https://chrome.google.com/webstore/detail/chrome-sign-builder/odjaaghiehpobimgdjjfofmablbaleem/related |
|
| |
|
| https://drive.google.com/drive/folders/1xTsAw2XdvMAVRNEjV9H0YOgo5_PL8LoZ?usp=sharing
| | Bereits installiert? Dann findest du die App unter [chrome://apps chrome://apps] |
| | [[File:CleanShot 2023-02-09 at 12.22.17@2x.png|frameless|900x900px]] |
| | Mit dem Chrome Sign Builder lassen sich die Inhalte planen und als JSON exportieren. |
|
| |
|
| Apps rufen die Webseite
| | ===== Parasols default JSON ===== |
| | <syntaxhighlight lang="json"> |
| | { |
| | "schedule": { |
| | "Value": [ |
| | { |
| | "items": [], |
| | "name": "Parasol Dashboard", |
| | "defaultUrl": "https://os.parasol-island.com/os_airboards/app/dist/" |
| | } |
| | ] |
| | } |
| | } |
| | </syntaxhighlight> |
|
| |
|
| https://os.parasol-island.com/os_airboards/app/dist/
| | Die JSON (.txt) Datei kann anschließend von einem SuperAdmin in der Google Admin Konsole ersetzt werden. |
|
| |
|
| entweder in Portrait oder Landscape auf.
| | https://admin.google.com/ac/chrome/apps/kiosk?ac_ouid=03ph8a2z3ixx2mz&appId=odjaaghiehpobimgdjjfofmablbaleem |
|
| |
|
| | | [[File:CleanShot 2023-02-09 at 12.30.20@2x.png|frameless|900x900px]] |
| =Setup=
| |
| | |
| Google Admin > Geräte > Chrome > Apps und Erweiterungen > Kioske
| |
| | |
| | |
| Reboot: Google Admin > Geräte > Chrome > ... > Reboot
| |
| | |
| | |
| | |
| = AirBoards =
| |
| AirBoard1 - 10.110.202.1 (Vorderhaus 1. OG)<br />
| |
| AirBoard2 - 10.110.202.2 (-)<br />
| |
| AirBoard3 - 10.110.202.3 (-)<br />
| |
| AirBoard4 - 10.110.202.4 (-)<br />
| |
| <br />
| |
| <div style="font-family: Consolas, monaco, monospace;">
| |
| air-chromeboard11 - MAC: c4:54:44:df:3c:0f - IP: [http://10.110.202.11:8080 10.110.202.11] - Standort: Vorderhaus 2. OG<br />
| |
| air-chromeboard12 - MAC: c4:54:44:f3:9a:fa - IP: [http://10.110.202.12:8080 10.110.202.12] - Standort: HOF ANM EG<br />
| |
| air-chromeboard13 - MAC: 2c:60:0c:9b:cf:4f - IP: [http://10.110.202.13:8080 10.110.202.13] - Standort: Vorderhaus 1. OG<br />
| |
| air-chromeboard14 - MAC: 2c:60:0c:9b:ce:81 - IP: [http://10.110.202.14:8080 10.110.202.14] - Standort: HOF ANM 1. OG<br />
| |
| LAN air-chromeboard15 - MAC: 2c:60:0c:9b:cf:50 - IP: 10.110.202.15 - Standort: Küche<br />
| |
| WIFI air-chromeboard15 - MAC: 30.10.b3:53:94:b6 - IP: [http://10.30.252.255:8080 10.30.252.255] - Standort: Küche<br />
| |
| | |
| LAN-airberlin - MAC: 2c:60:0c:b7:92:de - IP: 192.168.200.159 - Standort: Torstr. 164
| |
| </div>
| |
| | |
| <br /><br />
| |
| Google Account:
| |
| parasol.dashboard@gmail.com flamingoburger
| |
| == AirBoard Konfiguration ==
| |
| | |
| https://myapi3.parasol-island.com/app_air-dashboard/app/
| |
| | |
| sudo apt-get update
| |
| sudo apt-get dist-upgrade
| |
| sudo apt-get install matchbox chromium x11-xserver-utils ttf-mscorefonts-installer xwit sqlite3 libnss3
| |
| sudo reboot
| |
| <br />
| |
| | |
| sudo nano /boot/config.txt
| |
| <pre>
| |
| display_rotate=1
| |
| framebuffer_width=1200
| |
| framebuffer_height=1920
| |
| </pre>
| |
| | |
| | |
| sudo nano /etc/rc.local
| |
| <pre>
| |
| #!/bin/sh -e
| |
| #
| |
| # rc.local
| |
| #
| |
| # This script is executed at the end of each multiuser runlevel.
| |
| # Make sure that the script will "exit 0" on success or any other
| |
| # value on error.
| |
| #
| |
| # In order to enable or disable this script just change the execution
| |
| # bits.
| |
| #
| |
| # By default this script does nothing.
| |
| | |
| # Print the IP address
| |
| _IP=$(hostname -I) || true
| |
| if [ "$_IP" ]; then
| |
| printf "My IP address is %s\n" "$_IP"
| |
| fi
| |
| | |
| if [ -f /boot/xinitrc ]; then
| |
| ln -fs /boot/xinitrc /home/pi/.xinitrc;
| |
| su - pi -c 'startx' &
| |
| fi
| |
| | |
| exit 0
| |
| </pre>
| |
| | |
| | |
| sudo nano /boot/xinitrc
| |
| <pre>
| |
| #!/bin/sh
| |
| while true; do
| |
| | |
| # Clean up previously running apps, gracefully at first then harshly
| |
| killall -TERM chromium 2>/dev/null;
| |
| killall -TERM matchbox-window-manager 2>/dev/null;
| |
| sleep 2;
| |
| killall -9 chromium 2>/dev/null;
| |
| killall -9 matchbox-window-manager 2>/dev/null;
| |
| | |
| # Clean out existing profile information
| |
| rm -rf /home/pi/.cache;
| |
| rm -rf /home/pi/.config;
| |
| rm -rf /home/pi/.pki;
| |
| | |
| # Generate the bare minimum to keep Chromium happy!
| |
| mkdir -p /home/pi/.config/chromium/Default
| |
| sqlite3 /home/pi/.config/chromium/Default/Web\ Data "CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR); INSERT INTO meta VALUES('version','46'); CREATE$
| |
| | |
| # Disable DPMS / Screen blanking
| |
| xset -dpms
| |
| xset s off
| |
| | |
| # Reset the framebuffer's colour-depth
| |
| fbset -depth $( cat /sys/module/*fb*/parameters/fbdepth );
| |
| | |
| # Hide the cursor (move it to the bottom-right, comment out if you want mouse interaction)
| |
| xwit -root -warp $( cat /sys/module/*fb*/parameters/fbwidth ) $( cat /sys/module/*fb*/parameters/fbheight )
| |
| | |
| # Start the window manager (remove "-use_cursor no" if you actually want mouse interaction)
| |
| matchbox-window-manager -use_titlebar no -use_cursor no &
| |
| | |
| # Wait for Server
| |
| while true; do
| |
| ping -c1 myapi3.parasol-island.com > /dev/null && break;
| |
| done
| |
| | |
| # Start the browser (See http://peter.sh/experiments/chromium-command-line-switches/)
| |
| chromium --app=https://myapi3.parasol-island.com/prototypes/app_air-dashboard
| |
| | |
| done;
| |
| </pre>
| |
| | |
| sudo reboot
| |
| | |
| == AirBoard Konfiguration (alt) ==
| |
| *Betriebssystem
| |
| RASPBIAN (Debian Wheezy; Release date:2014-01-07)
| |
| <br/>
| |
| | |
| *Monitor drehen
| |
| sudo nano /boot/config.txt
| |
| ''config.txt''
| |
| <span style="color:green;">+ display_rotate=3</span>
| |
| <br/>
| |
| | |
| *Software installieren
| |
| sudo apt-get update
| |
| sudo apt-get upgrade
| |
| sudo apt-get install chromium-browser unclutter x11vnc
| |
| <br/>
| |
| | |
| *Startscript erstellen
| |
| touch ~/startup.sh
| |
| chmod +x ~/startup.sh
| |
| nano ~/startup.sh
| |
| ''startup.sh''
| |
| #!/bin/sh
| |
| unclutter &
| |
| sleep 30
| |
| chromium-browser \
| |
| --kiosk \
| |
| --ignore-certificate-errors \
| |
| --disable-restore-session-state \
| |
| --incognito \
| |
| http://myapi3.parasolisland.local/app_air_timetable/timetable.php &
| |
| x11vnc -forever
| |
| <br>
| |
| | |
| *Startscript einbinden / Screensaver ausschalten
| |
| sudo nano /etc/xdg/lxsession/LXDE/autostart
| |
| ''autostart''
| |
| <span style="color:red;">- @xscreensaver -no-splash</span>
| |
| <span style="color:green;">+ #@xscreensaver -no-splash
| |
| + @/bin/bash /home/pi/startup.sh</span>
| |
| <br>
| |
| | |
| *black-Screen ausschalten
| |
| sudo nano /etc/lightdm/lightdm.conf
| |
| ''lightdm.conf''
| |
| [SeatDefaults]
| |
| <span style="color:green;">+ xserver-command=X -s 0 dpms</span>
| |
| <nowiki>#</nowiki>xserver-command=X
| |
| <br>
| |
| | |
| * Zeitzone setzen
| |
| nano ~/.profile
| |
| ''.profile''
| |
| <span style="color:green;">+ TZ='Europe/Busingen'; export TZ</span>
| |
| <br>
| |
| | |
| sudo reboot
| |
| | |
| === Chromebox Setup ===
| |
| # Wipe Data on Chromebook (https://support.google.com/chrome/a/answer/1360642)
| |
| # After wipe is completed, you will be at the welcome screen. (Input your network information, but DO NOT LOGIN to the Chromebook)
| |
| # At the login screen, press CTRL+ALT+K and enable Kiosk mode.
| |
| # Login into the Chromebook
| |
| # Open a new tab in Chrome, and enter chrome://extensions in the address bar (also known as the omnibox). Click enter.
| |
| # Check the box next to Developer
| |
| # Add kiosk application, and enter the ID of the Kiosk App you'd like to enable.
| |
| # Highlight the Kiosk App and select "auto launch"
| |
| # Press Enter or click Done.
| |
| # Reboot and when asked, enable app for Kiosk mode
| |
| # Now the app will auto launch each time you reboot.
| |
| # To Turn off Kiosk Mode, begin by rebooting the Chromebook. While the device is starting up, press the keyboard shortcut Ctrl+Alt+S to interrupt the process and return to the login screen.
| |
Dashboards
Inhalt planen und verändern
Chrome Sign Builder Installieren und starten
https://chrome.google.com/webstore/detail/chrome-sign-builder/odjaaghiehpobimgdjjfofmablbaleem/related
Bereits installiert? Dann findest du die App unter [chrome://apps chrome://apps]
Error creating thumbnail: File missing
Mit dem Chrome Sign Builder lassen sich die Inhalte planen und als JSON exportieren.
Parasols default JSON
<syntaxhighlight lang="json">
{
"schedule": {
"Value": [
{
"items": [],
"name": "Parasol Dashboard",
"defaultUrl": "https://os.parasol-island.com/os_airboards/app/dist/"
}
]
}
}
</syntaxhighlight>
Die JSON (.txt) Datei kann anschließend von einem SuperAdmin in der Google Admin Konsole ersetzt werden.
https://admin.google.com/ac/chrome/apps/kiosk?ac_ouid=03ph8a2z3ixx2mz&appId=odjaaghiehpobimgdjjfofmablbaleem
Error creating thumbnail: File missing