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