New answers tagged

0 votes

Raspbian: Enable/disable OverlayFS from terminal?

sudo raspi-config nonint enable_overlayfs or sudo raspi-config nonint disable_overlayfs Then reboot.
user avatar
  • 101
0 votes

Z-wave on Raspbian

I'm using Aeotec Z-Wave USB stick (Z-stick 7) with Rapsberry Pi4/Raspbian by using zwavejs2mqtt/ running as Docker container as gateway for HomeAssistant.
user avatar
  • 101
0 votes

Script running from terminal after setting pythonpath and running "thonny&" command, but not when thonny ide is opened directly

You can set an Environment variable in Thonny under (Tools:Options:General), which will persist after a closedown/restart of Thonny.
user avatar
  • 1
1 vote

Pi CM4 - Additional UART enabling does not work

I know this was asked a while ago, but I think the answer is simple. You have dtoverlay misspelled everywhere except uart0. Try changing this: dtoverlay=uart0 dtovleray=uart2 dtovleray=uart3 dtovleray=...
user avatar
  • 11
1 vote

Raspberry PI noise reduction on analogue sensors

Don't try to get to the perfect solution in one step. Instead, build a simple prototype that works and check how good your measurements are. There's a chance you don't need a separate voltage ...
user avatar
0 votes

Script running from terminal after setting pythonpath and running "thonny&" command, but not when thonny ide is opened directly

thonny is an integrated development environment for Python that is designed for beginners. If you just want to run a python program forget thonny and just run with python! All my python scripts start ...
user avatar
  • 53.1k
0 votes
Accepted

Cannot install libc6: Depends: libgcc-s1 but it is not installable

I got passed this issue by replacing the source. I now use: deb [trusted=yes] http://mirrors.ocf.berkeley.edu/raspbian/raspbian bullseye main
user avatar
  • 143
0 votes

Good KDE distros for RP4?

There is a distro Manjaro with KDE Plasma on "Raspberry Pi Imager". It could be a good choice, I love the KDE Plasma.
user avatar
1 vote

Raspberry PI noise reduction on analogue sensors

You have specified insufficient information e.g. sensor specifications, distance (or evidence of a problem) for any meaningful answer. This is NOT a Pi specific question as the solution would be the ...
user avatar
  • 53.1k
2 votes

Reading data from GPS module using Python on Raspberry PI

I tend to use the pynmea2 library to parse the GPS data: import serial,time,pynmea2 port = '/dev/serial0' baud = 9600 serialPort = serial.Serial(port, baudrate = baud, timeout = 0.5) while True: ...
user avatar
  • 6,136
1 vote

Watchdog on the RPi4

For the RaspberryPi4 it's more straightforward than for earlier software as much of the configuration scaffolding is already in place. Edit /etc/systemd/system.conf adding the line RuntimeWatchdogSec=...
user avatar
  • 111
0 votes

Forcing resolution on display :0 when HDMI is not connected

I stumbled over similar issue when setting up RasPad. Trying to select a particular HDMI mode and to enforce hotplug or similar didn't help. In my case, the cause was obviously related to an ...
user avatar
2 votes
Accepted

Advice on how to get started with building a home safety system using a Raspberry pi 4

If your sensor devices cannot transmit wirelessly, you need to find some kind of wireless device that knows how to talk to the sensor. If your sensor is very smart, you might be able to use some kind ...
user avatar
  • 455
0 votes

How do I get Docker host mode networking to work on a Pi?

I need to add another network that only traefik had access to (even if it is overlay). Now I get the source IP correctly in the access logs and Traefik forwards it is X-Forwarded-For and X-Real-IP to ...
user avatar
0 votes

Raspberry pi 4 Low voltage warning

Have you tried to add a capacitor between GND and 5V close to the 5V pin? Maybe the voltage is not stable and drops on load changes. If you want to power the Pi and the HAT seperately, the easiest way ...
user avatar
  • 1
2 votes

Raspberry pi 4 Low voltage warning

The Pi requires 5V +/- 0.25 volts to operate properly. You will get the low voltage warning if the Pi has less than 4.65 volts.
user avatar
  • 66.3k
1 vote

Purpose of " 127.0.1.1 raspberrypi " entry in file /etc/hosts

@goldilocks answer is completely correct AFAIK; this answer is posted to hopefully augment that answer with some additional information: The best explanation and guidance I've seen for /etc/hosts, and ...
user avatar
  • 17.4k

Top 50 recent answers are included