Here you go!
Set up the hardware by connecting the touchscreen and the Razberry to the Raspberry. If you do not want to solder the power cables for the touchscreen, use a short USB-cable instead, you will need an additional hole in the housing then)
From https://github.com/openhab/openhabian/releases download Image *.img.xz
Use Etcher to flash the Image on an SD card (do not rename the file to *.img!)
Put the card into the Raspberry and connect the device to a powersource and a keyboard (if you know how to use SSH on a newly installed Raspberry, you do not need a keyboard)
Log in as user: openhabian pw: openhabian
type sudo openhabian-config
go to “Update” and update the tool
go to “Upgrade” and upgrade the OS and software
Reboot
If you use a Razberry:
-
Go to “Serial Port Settings” and mark all checkboxes
-
If the Razberry cannot be found in OH edit /boot/cmdline.txt and delete/comment out the line console=serial0,115200
If you want to give your Raspberry a static IP: sudo nano /etc/dhcpcd.conf and add the following lines
# Static IP-Address
interface eth0
static ip_address=192.168.0.xxx/24 (which ever fits your LAN)
static routers=192.168.0.xxx (address of your router to the internet)
static domain_name_servers=192.168.0.xxx (normally the address of your router to the Internet)
sudo nano /boot/config.txt an add the following line at the end to rotate the touchscreen to the right angle for the housing (the housing requires the screen to be used upside down)
lcd_rotate=2
To install the Pixel Desktop
sudo apt install raspberrypi-ui-mods
To install the Chromium Browser
sudo apt install chromium-browser
To make Chromium start in kiosk mode on Startup of Pixel
sudo nano /home/openhabian/.config/lxsession/LXDE-pi/autostart and add the following line
@chromium-browser --noerrdialogs --kiosk --incognito [https://192.168.0.<your IP>:8080]
(https://192.168.0.:8080/) can/should be expanded by the path to your preferred GUI (i.e. HABpanel)
If you want the devive to start without a PW:
sudo visudo
and add the line
Defaults:openhabian !authenticate
You should also change the screensaver in Pixel to “blank”
If you want to use own icons (DWD und VMZ, …) use lowercase filenames and copy the files like dwd.png, vmz.png to /etc/openhab2/icons/classic
to be able to write to the SAMBA Shares on your Raspberry from your PC you need the following configuration per share:
browseable = Yes
writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
public = no
force user = root
Greetings Jörg