Tips - mastabojo/home-control GitHub Wiki
To start Chromium in kiosk mode create ~/.config/autostart/autoChromium.desktop
with following contents:
[Desktop Entry] Type=Application Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk -app=http://hcc.local Hidden=false X-GNOME-Autostart-enabled=true Name[en_US]=AutoChromium Name=AutoChromium Comment=Start Chromium when GNOME starts
Install and enable unclutter to hide mouse cursor.
sudo apt-get install unclutter ## Add this to the end of ~/.config/lxsession/LXDE-pi/autostart: @unclutter -idle 0
Raspberry Pi 3 CPU can get quite hot if enclosed. Use the following command to check the CPU temperature (divide by 1000).
cat /sys/class/thermal/thermal_zone0/temp
This command can be used in a script that can regularly check the CPU temperature (by means of a cron job) and shut down Pi if the temperature is above normal (75 – 80 degrees C).
In terminal issue either of these two commands to get the model revision:
cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' awk '/^Revision/ {sub("^1000", "", $3); print $3}' /proc/cpuinfo
and find Raspberry Pi model in the following table:
Revision | Release Date | Model | CB Revision | Memory |
---|---|---|---|---|
a01040 | Unknown | 2 Model B | 1.0 | 1 GB |
a01041 | Q1 2015 | 2 Model B | 1.1 | 1 GB |
a21041 | Q1 2015 | 2 Model B | 1.1 | 1 GB |
a22042 | Q3 2016 | 2 Model B (with BCM2837) | 1.2 | 1 GB |
a02082 | Q1 2016 | 3 Model B | 1.2 | 1 GB |
a22082 | Q1 2016 | 3 Model B | 1.2 | 1 GB |
a32082 | Q4 2016 | 3 Model B | 1.2 | 1 GB |
a020d3 | Q1 2018 | 3 Model B+ | 1.3 | 1 GB |
d03114 | 4 Model B | 1.4 | 8 GB | |
d03115 | 4 Model B | 1.5 | 8 GB |
See https://elinux.org/RPi_HardwareHistory#Board_Revision_History for other models.
or get RPi version (newer Raspbian OS required):
cat /proc/device-tree/model
See https://francisuniverse.wordpress.com/2018/01/07/how-to-automatically-reconnect-raspberry-pi-to-wifi/
Untested (from the same site)
cd /etc/ifplugd/action.d/ sudo mv ifupdownifupdown.original sudo cp /etc/wpa_supplicant/ifupdown.sh ./ifupdown sudo reboot
https://www.raspberrypi.org/documentation/remote-access/vnc/