Raspberry Pi 4 or 3 or 2 or 1 temperature monitor via HTTP

OMG the raspberry pi 4 gets hot, and that’s even with the new “cooler” firmware. At idle I’m measuring a temperature of 55°C. Im now quite glad I installed the monitor so I can keep an eye on it as its randomly crashed quite a few times.

So the install source is: https://xavierberger.github.io/RPi-Monitor-docs/11_installation.html

sudo apt-get install dirmngr
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2C0D3C0F
sudo wget http://goo.gl/vewCLL -O /etc/apt/sources.list.d/rpimonitor.list
sudo apt-get update
sudo apt-get install rpimonitor


my address is http://Daz-Pi-4.local:8888 yours might be different depending on your settings. Or just use the IP address:8888


The Man Page

man(1) rpimonitord man page man(1)


rpimonitord [-a address][ -b pidfile][[-c configuration_file]…]
[-d delay][-h][-k][-l logfile][-n][-p port][-s][-t timeout]

rpimonitord is designed to extract data from Raspberry Pi system and
store statistic into RRD. rpimonitord embed a web server allowing
to display current status and statistics.

-a, –addr Web server bind address (Default:
-b, –background Define the pid file when run in background
-c, –conf Define the configuration file
Default: /etc/rpimonitor/data.conf
-d, –delay Delay between check ins seconds (Default: 10)
Note: If you want to change the default delay, the
rrd file will have to be deleted rpimonitord will
recreate them at next startup with the new time
-h, –help Shows this help and exit
-i, –interactive Interactive configuration helper
-k, –keep Keep log file (Default: logfile is delete at each start)
-l, –logfile Logfile directory and prefix (ex: /var/log/rpimonitor)
-n, –noserver Don’t start embeded server
-p, –port Web server port (Default: 8888)
-s, –show Show configuration as loaded and exit
-t, –timeout KPI read timeout in seconds (Default: 5)
-v, –verbose Write debug info on screen
-V, –Version Show version and exit

Configuration can be defined into etc/rpimonitor/daemon.conf and
/etc/rpimonitor/data.conf or in a list of files specified by -c parameter.
In /etc/rpimonitor/template/*.conf provided at installation you can
see how to customize rpimonitord.
Configuration defined inside a configuration file always overwrite
default values.
Configuration given as option of the command line always overwrite
the one defined into a file.
** Warning: Be sure to use Linux filefeed format with line ending
with LF (and not CR/LF like in Windows) **

Once RPi-Monitor is started the data representing the current status
are available in json format and can be downloaded from the root of
the web interface (ex: http://RpiAddress:8888/static.json)
static.json: Static information extracted at startup
dynamic.json: Current values of dynamic information extracted
menu.json: Description of menus when multiple pages are

The web interface configuration can also be downloaded in json format:
statistics.json: Description of statistics page
status.json: Description of status page
friends.json: List of friends
addons.json: List of addons

Statistic information are stored into RRD file available in the
directory /var/lib/rpimonitor/stat/

Xavier Berger









The latest version of PHPMYADMIN won’t allow root to login without a password, and you can only login to the phpmyadmin user.

Here’s how you work around it.





sudo mysql -u root


CREATE USER 'set-new-user'@'localhost' IDENTIFIED BY 'set-your-password';

GRANT ALL PRIVILEGES ON *.* TO 'your-suername'@'localhost';



sudo service service mysql restart

If that fails, try this:

sudo mysql -u root
use mysql;
update user set plugin='' where User='root';
flush privileges;

Install TightVNC Server on the Asus Tinker board

I’m making this post for my own reference, though you can obviously use it as you wish.
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install xfonts-base
sudo apt-get install tightvncserver
sudo apt-get install nano

Run: vncserver
Add a password
My preferred command line option is vncserver -geometry 1280x720 (this sets the resolution to 720P)

I’m currently running Asus Linaro 1.8 debian based OS from a 120GB SSD and a using it as a Plex media server, for the most part it seems to work just fine, though some high bit rate 1080p movies struggle a little. I’m investigating further.


Installing a solid state drive or USB drive is as easy as the Raspberry Pi with just one slight difference. Plex Media server, HTOP, Webmin, Nextcloud and more are exactly the same, they just run a little better with the extra CPU power and extra 1GB of RAM.

Install Webmin on a Raspberry Pi

Webmin is a graphical user interface that can help you install, maintain and control your Raspberry Pi, all from a nice and simple GUI.

It’s also pretty easy to install and keep working, there are two methods to the install, I prefer the slightly longer but more thorough version, and that’s what I’ll be doing here.

  •  edit the sources list to add a new repository with:

sudo nano /etc/apt/sources.list

and add: deb http://download.webmin.com/download/repository sarge contrib

This has the benefit if updating Webmin in future when you type sudo apt-get update && sudo apt-get upgrade.

Type/Copy these line one at a time:

  • sudo su
    cd /root
    wget http://www.webmin.com/jcameron-key.asc
    apt-key add jcameron-key.asc

You’ve now added a security key to your Pi for the repo.

Same again, type/copy these lines one at a time.


  • apt-get update
    apt-get install apt-transport-https
    apt-get install webmin

BOOM! And about 10 minutes later you should be able to login via a web browser. Use the raspberry Pi IP address.

Example: and you’re in 🙂

Use 1GB of Raspberry Pi RAM as a SWAP drive

If you have little use for the 2GB of RAM in a Raspberry Pi, then you could always use 1GB of it for a SWAP drive, this should improve performance for anyone running their Pi on a SD card.

If you want to use a SSD or USB Drive then checkout my easy as Pi tutorials here: https://the-bionic-cyclist.co.uk/category/raspberry-pi-tutorials/

As usual this is a quick and easy setup:
install ZRAM

sudo wget -O /usr/bin/zram.sh https://raw.githubusercontent.com/ric96/zram_rpi3/master/zram.sh

Make it executable.

sudo chmod +x /usr/bin/zram.sh

Edit this file to run on startup

sudo nano /etc/rc.local add line before exit 0 /usr/bin/zram.sh &

Source: (always check before installing from any source) https://github.com/ric96/zram_rpi3

HTOP – Real time feedback from your Raspberry Pi






What is HTOP? Simply put, it’s a real-time feedback system to let you see what your Raspberry Pi is doing, what applications are running, and how much processing power is being used as well as where your RAM is being accessed and by what.







sudo apt-get install htop

It’s tiny and installs in seconds.

After that run htop by typing….



Simples 🙂

Install Nextcloud cloud server on a Raspberry Pi

Nextcloud is a personal cloud server, you’re not relying on Apple cloud or Google or Dropbox to hold and secure (laughable) your data. If you have a Raspberry Pi at home you can host your own cloud server. There are desktop apps for Windows and Macs and apps for almost ALL mobile operating systems too.

The most popular self-hosted file share and collaboration platform

I’ve gone for the personal route because I find the free cloud server really don’t offer enough storage space, and security is a joke for most of them. Plus with the SSL guide you can make sure your is as secure as possible.

Continue reading

Setup SSL on a Raspberry Pi in 2 minutes

UPDATE: Lets Encypt have an auto install bot and it’s a signed certificate, meaning no warning! https://letsencrypt.org/

This is the LetsEncrypt Method:
sudo apt-get install certbot python-certbot-apache -t stretch-backports
sudo certbot --apache
sudo certbot --apache certonly
Test the automated update process.
sudo certbot renew --dry-run

Continue reading