Sunday, February 9, 2025

Install ntop

 

install ntop
 
Type the following commands in your shell:

wget https://packages.ntop.org/RaspberryPI/apt-ntop.deb sudo dpkg -i apt-ntop.deb sudo apt-get update
sudo apt-get install ntopng nprobe
 
--30--

Tuesday, January 28, 2025

install / build switchbot temperature sensor tool on raspberry pi os

Switchbot reading tool

use this tool
github incantation
https://github.com/lukearran/SwitchBot-Meter-API.git
https://github.com/lukearran/SwitchBot-Meter-API?tab=readme-ov-file

You will need:

Python3   standard on current Pi OS
SwitchBot Thermometer
BluePy
Flask
TinyDb

Bluepy
https://github.com/IanHarvey/bluepy
github incantation
https://github.com/IanHarvey/bluepy.git
you should install from source.

$ sudo apt-get install git build-essential libglib2.0-dev
$ git clone https://github.com/IanHarvey/bluepy.git
$ cd bluepy
$ python setup.py build
$ sudo python setup.py install

Flask
https://github.com/pallets/flask
https://flask.palletsprojects.com/en/stable/

github incantation
https://github.com/pallets/flask.git

do crap on this page
https://flask.palletsprojects.com/en/stable/installation/#python-version

TinyDb
install
github incantation
git clone https://github.com/msiemens/tinydb.git

https://tinydb.readthedocs.io/en/latest/getting-started.html

dealing with python horsehooey
https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3

use pipx to install


 
NOTE:
edited under protest for blogspot censorship.  
--30--

Wednesday, July 3, 2024

raspberry pi 7 inch display notes (pimoroni version)

7 inch display notes

this cleaned up the 3" display mess

sudo apt-get update
sudo apt-get install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader
sudo reboot

install (or use) raspi-config to set console login
apt-get raspi-config installs if missing.

--30--

Tuesday, July 2, 2024

raspberry pi camera

 
motion testing, video device test tools


libcamera-hello --list-cameras
sudo v4l2-ctl --list-devices
vcgencmd get_camera



--30--

Sunday, June 30, 2024

fix firefox display problem on Raspberry pi OS via xrdp remote

 
change the following 

Option 2)
By default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file that is readable only by members of the “ssl-cert” group. Run the following command to add the xrdp user to the group :

Code: Select all

sudo adduser xrdp ssl-cert

Code: Select all

sudo nano /etc/X11/xrdp/xorg.conf
And find the line Option DRMDevice line and change it to
Option "DRMDevice" ""
reboot raspberry pi

reference

--30--

Friday, May 3, 2024

update pidp11 raspberrypi lite os to have gui / desktop

 

  apt update
  apt upgrade
  apt -y install xserver-xorg
  apt -y install raspberrypi-ui-mods
  apt -y install lightdm


--30--