User Tools

Site Tools


haussteuerung:display_panel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haussteuerung:display_panel [2025/10/23 20:21] – [Updates] dominikhaussteuerung:display_panel [2025/10/24 19:14] (current) – [Display] dominik
Line 2: Line 2:
  
 ===== Install ===== ===== Install =====
 +Wegen zu vielen Problemen mit Wayland wird hier **Bookworm mit X11** genutzt. 
 +
 +Das Hauptproblem ist, dass das Display beim Stromsparen einen nervigen Bildschirm anzeigt ... "No Signal" ... 
 ==== Updates ==== ==== Updates ====
-  * Command Line \\ ''sudo apt update && sudo apt upgrade -y && sudo apt install -y git git-lfs silversearcher-ag wavemon hexedit sudoku tcpdump iptraf mc htop dcfldd nano usbutils openvpn ranger tealdeer ncdu can-utils multitail fd-find lsof wayvnc minicom joystick i2c-tools speedtest-cli iotop fio ir-keytable curl inxi lshw nala fzf duf && mkdir -p ~/.local/share && tldr -u''+  * Command Line \\ ''sudo apt update && sudo apt upgrade -y && sudo apt install -y git git-lfs silversearcher-ag wavemon hexedit sudoku tcpdump iptraf mc htop dcfldd nano usbutils openvpn ranger tldr ncdu can-utils multitail fd-find lsof x11vnc minicom joystick i2c-tools speedtest-cli iotop fio ir-keytable curl inxi lshw nala fzf duf && mkdir -p ~/.local/share && tldr -u''
   * UI Tools \\ ''sudo apt update && sudo apt upgrade -y && sudo apt install -y flameshot terminator cutecom jstest-gtk xclip''   * UI Tools \\ ''sudo apt update && sudo apt upgrade -y && sudo apt install -y flameshot terminator cutecom jstest-gtk xclip''
   * Nutzloses Zeug \\ ''sudo apt autoremove -y modem* cups* avahi* triggerhappy* rpi-connect openvpn''   * Nutzloses Zeug \\ ''sudo apt autoremove -y modem* cups* avahi* triggerhappy* rpi-connect openvpn''
  
 ==== Display ==== ==== Display ====
-  * +  * ''sudo raspi-config'' -> Screen Blanking aus ! 
 +  * Screensaver aus 
 +    * ''mkdir -p /home/pi/.config/lxsession/LXDE-pi'' 
 +    * ''cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart'' 
 +    * ''nano /home/pi/.config/lxsession/LXDE-pi/autostart'' <code | download> 
 +@lxpanel --profile LXDE-pi 
 +@pcmanfm --desktop --profile LXDE-pi 
 +#@xscreensaver -no-splash 
 +@xset s off 
 +@xset -dpms 
 +</code> 
 +    * ''sudo apt remove xscreensaver'' 
 +  * Venv einrichten  
 +    * ''sudo apt -y update && sudo apt-get install -y build-essential cmake make gcc pkg-config python3-dev python3-virtualenv libsystemd-dev libopenblas-dev'' 
 +    * ''cd ~ && mkdir -p DisplayOnOff && cd DisplayOnOff '' 
 +    * ''python -m venv . && source bin/activate'' 
 +    * ''pip3 install %%--%%upgrade pip && pip3 install RPi.GPIO pynput smbus paho-mqtt psutil'' 
 +  * Compile VL53 Lib ...  
 +    * ''sudo apt-get install build-essential python-dev'' 
 +    * ''cd ~'' 
 +    * ''git clone https://github.com/pimoroni/VL53L0X_rasp_python.git'' 
 +    * ''cd VL53L0X-python'' 
 +    * ''make'' 
 +    * VL53L0X.py in den Scriptordner kopieren ...  
 +  * Tests starten ...  
 + 
 +==== Tests ==== 
 +=== VL === 
 + 
 +==== X11VNC ==== 
 +  * ''sudo apt install x11vnc'' 
 +  * für einen ersten Test kann man das verwenden \\ ''x11vnc -usepw -forever -display :0''
  
 +  * **Einrichtung als Dienst**
 +  * ''sudo x11vnc -storepasswd /etc/x11vnc.pass''
 +  * ''sudo nano /lib/systemd/system/x11vnc.service''
 +  * <code>
 +[Unit]
 +Description=Start X11VNC
 +After=multi-user.target
  
-==== wayvnc ====+[Service] 
 +Type=simple 
 +ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
  
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +  * ''sudo systemctl enable x11vnc.service''
 +  
  
 ===== Motion Detect ===== ===== Motion Detect =====
   * Sensor : VL53L0X   * Sensor : VL53L0X
-  * Lib direkt in PIP -> ''https://pypi.org/project/VL53L0X/'' -> ''pip install VL53L0X'' 
  
   * Altes Script \\ <code Motiondetect.py>import sys   * Altes Script \\ <code Motiondetect.py>import sys
haussteuerung/display_panel.1761243675.txt.gz · Last modified: by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki