Tutorial - Install openwb 1.9 in 2023
Verfasst: Do Sep 21, 2023 8:45 am
The official github page has old info, so the latest Rpi OS Buster installer does not work.
Install OpenWB on Rpi with Bullseye, step by step:
1. Write this official Bullseye image with BalenaEtcher on microSD
2. To activate ssh, Create an empty text file called ssh into the boot partition.
3. Insert the MicroSD card into Rpi and boot.
4. Login via SSH with Terminal or Putty
4.1 in ssh run raspi-config
- set the hostname to openwb
- activate wait for network on boot
- extend the file system on microsd
- automatically boot on the desktop as pi user
5. Run those commands via ssh, logged as pi user (not root):
6. Create the script to install OpenWB (modified from the original)
Paste the content of the attached openwb-install.sh.txt
Save with Ctrl+x
7. make it executable
8. Run the installer (wait for about 10 minutes)
8.1 Add cronjobs to crontab as pi user (not root)
Paste this:
9. Reboot
10. Access the openWB interface
11. Go to Stable of openWB, from Nightly
The default version will install the latest nightly build (now 1.9.304).
If you want to install the latest Stable version - 1.9.303, go to:
This will not activate the external LCD interface.
See here how to activate it.
If you have original hardware, but no settings backup, you can add the serial:
add your serial, like this (use your sn and production date, from the sticker inside the box.
Install OpenWB on Rpi with Bullseye, step by step:
1. Write this official Bullseye image with BalenaEtcher on microSD
2. To activate ssh, Create an empty text file called ssh into the boot partition.
3. Insert the MicroSD card into Rpi and boot.
4. Login via SSH with Terminal or Putty
Code: Alles auswählen
user: pi
password: raspberry
Code: Alles auswählen
sudo raspi-config
- activate wait for network on boot
- extend the file system on microsd
- automatically boot on the desktop as pi user
5. Run those commands via ssh, logged as pi user (not root):
Code: Alles auswählen
sudo apt update
suto apt upgrade -y -q
sudo apt-get autoremove -y
sudo apt-get autoclean -y
sudo restart
Code: Alles auswählen
sudo nano /home/pi/openwb-install.sh
Save with Ctrl+x
7. make it executable
Code: Alles auswählen
sudo chmod +x /home/pi/openwb-install.sh
Code: Alles auswählen
sudo bash /home/pi/openwb-install.sh
Code: Alles auswählen
crontab -e
Code: Alles auswählen
* * * * * /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 10 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 20 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 30 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 40 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 50 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
Code: Alles auswählen
sudo reboot
Code: Alles auswählen
http://openwb.local/openWB/web/index.php
The default version will install the latest nightly build (now 1.9.304).
If you want to install the latest Stable version - 1.9.303, go to:
Code: Alles auswählen
http://openwb.local/openWB/web/settings/settings.php
See here how to activate it.
If you have original hardware, but no settings backup, you can add the serial:
Code: Alles auswählen
sudo nano /var/www/html/openWB/openwb.conf
Code: Alles auswählen
snnumber=owbg111333
pddate=21.03.23