Can the browser create a file in /tmp?
A process running outside of the protected web server could watch for the presence of a file eg /tmp/shutmedown and run sudo shutdown -h now
Do you have a USB SD card reader and another SD card? With those you can burn a fresh Raspbian card which will let you mount and edit your current setup on the Pi itself. If you only have a Windows PC you could boot it from a Linux Live CD/DVD or USB stick (I often use Linux Mint on a DVD). Then the...
DIY solution.....but not for the faint at heart.... But the OP had their gpio pins protected by a hat, so if there was a short it seems most likely to have occurred on the bottom of the board. Most of us know that if you connect 5V to a gpio pin or to the wifi can the Pi 3B+ dies but I haven't seen...
According to Noctua https://noctua.at/en/nf-s12a-pwm their PWM enabled fan(s) have "Noctua's novel, custom-designed NE-FD1 PWM IC that integrates Smooth Commutation Drive (SCD) technology. By providing smoother torque impulses, SCD suppresses PWM switching noises and thus makes the fan quieter at lo...
I just want to be able to send simple strings of text back and forth between the two devices. Maybe run an MQTT broker (Mosquitto) on the Pi and a client on the Android. There are various Android MQTT dashboard apps, eg "MQTT Dash", "MQTT Dashboard". So long as Pi and Android are connected to the s...
clydefrogg wrote: I haven't been able to get it to boot up yet clydefrogg wrote: I initially got it to run Hassio for HA These two statements are incompatible. Maybe what clydefrogg meant us to understand is a) s/he hasn't been able to get it to boot up yet and b) s/he initially acquired it to run ...
i thought i explained my problem, i can't do python3 /path/to/my/script/myscript.py because the script relies on other files in its directory and i can't do cd /path/to/my/script && python3 ./myscript.py using lxterminal -e as the cd command doesn't work with it apparently. What you said you tried ...
lxterminal -e cd /path/to/my/script && sudo python3 myscript.py but it looks like the cd command doesn't work cause it outputs "python3: can't open file 'myscript.py' : [Errno 2] No such file or directory." Python3 will look for myscript.py in the directories listed in [it's version of] the $PATH e...
Should I purchase a Raspberry Pi 4 or 3B? If a 4, should I purchase 1, 2, or 4 gigs of ram? Please remember I don't plan to use the pi for anything other than what is listed above and saving power is very important to me. I can't comment about downloading or converting your weather fax images, I ha...
No one having a similar problem? I do have the same problem with my Pi 4B. sudo reboot causes the Pi to shut down (at least, it terminates ssh connections and the desktop) but not reboot. It runs Rabspbian and is fully updated. This is the only Pi I have connected to my router by Ethernet cable. It...
What is your script for? "On startup" means run it when the operating system starts. (Cron is good for this) But some scripts need to start when you login to the command line (~/.bashrc) Or when the desktop starts... A big advantage to systemd is that you can make the script start up again if it die...
I want to get really simple devices that work super easy with laptops (maybe wireless). The on-screen review must also be super simple. Does anyone have any ideas? For the on screen display, Node-Red with Node-Red dashboard. Easily display graphs, gauges etc on a web page. Send notifications at tri...
I have personally always been a big fan of learning from books, and I feel that works really well for me. One of my all time favourites is CODE by Charles Petzold. It’s simple, untangled explanations of how computer hardware works at it’s essence is (in my opinion) the gold standard for learning ma...
Win32DiskImager, which used to be the recommended tool to burn images to the SD card, can also be used to save an image of the card.
Just enter a filename that doesn't already exist and click Read
What part of the world are you in?
What country code do you have in /etc/wpa_supplicant/wpa_supplicant.conf?
Does your router have a country code setting?
Why do you need the Pis IP address , name? Are you trying to set it up without a keyboard and monitor?
Where does the ethernet cable go to?
Did you load NOOBS or Raspbian onto your SD card?
Here is a simplified reconstruction of the graph in the blog - no moving average, frequency scaled to work with a common y axis, etc. A script to gather the statistics pi@RainbowPi:~ $ cat foo.py #! /usr/bin/env python import os import time time.sleep(1) # CPU frequency - do this first hoping to cat...