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/24 18:40] dominikhaussteuerung:display_panel [2025/10/24 19:14] (current) – [Display] dominik
Line 12: Line 12:
 ==== Display ==== ==== Display ====
   * ''sudo raspi-config'' -> Screen Blanking aus !   * ''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    * 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''     * ''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 ''     * ''cd ~ && mkdir -p DisplayOnOff && cd DisplayOnOff ''
     * ''python -m venv . && source bin/activate''     * ''python -m venv . && source bin/activate''
-    * ''pip3 install %%--%%upgrade pip && pip3 install RPi.GPIO pynput smbus''+    * ''pip3 install %%--%%upgrade pip && pip3 install RPi.GPIO pynput smbus paho-mqtt psutil''
   * Compile VL53 Lib ...    * Compile VL53 Lib ... 
     * ''sudo apt-get install build-essential python-dev''     * ''sudo apt-get install build-essential python-dev''
Line 24: Line 35:
     * ''make''     * ''make''
     * VL53L0X.py in den Scriptordner kopieren ...      * VL53L0X.py in den Scriptordner kopieren ... 
-  * +  * Tests starten ... 
  
 +==== Tests ====
 +=== VL ===
  
 ==== X11VNC ==== ==== X11VNC ====
Line 41: Line 54:
 [Service] [Service]
 Type=simple Type=simple
-ExecStart=/usr/bin/x11vnc -display :0 -usepw -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared+ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
  
 [Install] [Install]
Line 51: Line 64:
 ===== 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.1761324043.txt.gz · Last modified: by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki