9 votes

How do I monitor the temperature ever 3 seconds without entering new commands?

I think using watch command is much easier, for example: watch {your command} In your case, it will be: watch vcgencmd measure_temp That will refresh by 2 seconds, if you want to define the ...
5 votes

Detect Power Loss in AC outlet

I am always astounded by questioners who state things like "should be trivial" and then display little understanding. My main concern is your implication that you are planning to directly monitor ...
  • 55.5k
5 votes

Detect Power Loss in AC outlet

Here is a simple one... Why not set up two pi's, one on the circuit that has power and have it send a heartbeat, then another that is on a UPS circuit, when the heartbeat stops, the power is gone...
4 votes

spy urls on rpi hotspot

There are several considerations here. The straightforward way is to log what the DNS forwarding (you've probably enabled) in your pi does. Typically, this will be a service such as dnsmasq, depending ...
  • 814
3 votes

Using Raspberry Pi as a Wi-Fi Scanner/Analyser

Yes it's possible, a great tutorial is Wi-Fi on the Command Line, but make sure to use an 8dBi, or greater, omni-direcional/uni-directional antenna with your Wi-Fi card. Feel free to ask further ...
3 votes
Accepted

Monitor an outlet to see when power switches on and off

You could make a tweet a watt (option2). Alternatively, you could use a clamp on current sensor - as discussed on the Raspberry Pi forums (option 3) There are a couple of alternatives that you may ...
3 votes

Detect Power Loss in AC outlet

Take a crummy old 5V phone charger or something. Wire it to the input side an optocoupler with an appropriate resistor. Connect the output side of the optocoupler to a pair of GPIO pins (I'm more ...
  • 31
3 votes

Detect Power Loss in AC outlet

Milliways is right - if you have "0 knowledge in devboards, wires and soldering", you should stay far away from mains power. He means well. I noticed that you're intending to do power pass-through ...
  • 131
3 votes

Monitor a log file in real time, and do something. How?

Try using the watch command. Click here for man page. Maybe something like: watch tail /var/log/omxlog | awk '/player_new/ { "echo hello" }' watch runs command (in your case tail) repeatedly and ...
3 votes

Why don't I see a CPU usage monitor in menu bar on my raspberry Pi 4? And how can I get one?

There is a CPU Usage Monitor which you can activate in the Panel. Whether it is useful on a Pi4 is doubtful. Right click on the Panel then the Add button and select from the list.
  • 55.5k
3 votes

How can I log all packets sent by connected devices over WiFi when using a Pi as a bridge?

The capturing is a job for tcpdump. As you have a bridge, you can capture on either side (eth0 or wlan0), but I would recommend the side where the device you want to monitor is attached. If you have ...
  • 2,160
3 votes
Accepted

How can I monitor LAN traffic on raspberry pi?

Probably the most popular related project with GUI is Wireshark Wireshark is the world’s foremost and widely-used network protocol analyzer. It lets you see what’s happening on your network at a ...
  • 2,057
2 votes

Raspberry (HDMI) to monitor(VGA) Does a cable work?

I have used multiple times a HDMI to VGA adaptor, like this one. The work very well, also apple HDMI to VGA adaptors work, like this one The apple one is expensive, but the first one isn't, here in ...
2 votes
Accepted

How do I monitor the temperature ever 3 seconds without entering new commands?

The command for viewing the current temperature is found in this post: https://raspberrypi.stackexchange.com/a/1847/22221 To automate this such that you can view the temperature every 3 seconds ...
  • 151
2 votes

Raspberry Pi as a network monitoring device

I am tracking network traffic of my TPLink router using a Raspberry Pi that is running collecd. Install collectd with sudo apt-get install collectd collectd-utils Edit /etc/collectd/collectd.conf ...
2 votes

Detect Power Loss in AC outlet

Check out the PiUPS at http://www.piups.net/. It connects to the PI on the GPIO header and supplies power to the Pi over the GPIO bus. You connect you 5V power to the PiUPS and it supplies 5 V ...
  • 3,090
2 votes

Monitor an outlet to see when power switches on and off

You could use a waterproof wireless pedometer inside the drum to detect start and end of centrifugation. You could use a small floatation device in the drain or a simple electrical circuit in the ...
  • 2,919
2 votes

Detect Power Loss in AC outlet

I agree with all other answers, MAINS IS DEADLY! With that warning aside, a viable solution would be a opto coupler/isolator. A opto coupler separate the mains from the more sensitive GPIO pins on ...
  • 2,587
2 votes

CPU Performance Graph

did you look into using the system recently displayed on the RaspberryPi.org blog? https://github.com/davidsblog/rCPU
  • 325
2 votes

CPU Performance Graph

There is no way to make the panel applet larger, but there are several alternatives that will do what you want. Some simple methods to get the same info from the terminal include: tload - this will ...
2 votes
Accepted

Using many individual Raspberry Pi's as monitoring systems in a 'business' usage setting

Regarding 'version control' / 'configuration management' - you might want to check out Puppet or something of that ilk for easier management of multiple end points. You'd probably also want to look ...
  • 1,040
2 votes

Home energy monitor devices

The open energy monitor site you've mentioned is possibly the best place to start for background reading/research. Ideas and snippets cam be used to roll ones own setup if inclined. This link ...
  • 21
2 votes

How to check traffic and connected devices?

You can use the ipfm command line tool, a very good tool for your requirements. For more information, see man(8) ipfm. Sample output: # IPFMv0.11.5 2017/07/24 10:12:08 -- dump every 0d00:00:01 -- ...
  • 63
2 votes

How to monitor network utilization on raspberry pi 3 (raspbian stretch)?

Edit the file /etc/rpimonitor/template/network.conf a. Comment those lines you want to left out (eg "To activate network monitoring ..." by inserting a # in front of the line. b. Comment out ...
  • 21
2 votes

Monitor directory for regular file creation and alert if the stream of files stops

You are correct about ifnotify - and kudos to you for discovering it. It cannot react to the absence of an event. What you are going to want is a script or a python program to do as you described. ...
  • 2,228
2 votes

How to install latest munin server

This appears to be the same issue as bug #837788 in the Debian bug tracker. It appears that this is actually by design, and Munin installed without any problems from the repo on your Pi: On Fri, 10 ...
  • 6,228
2 votes
Accepted

How to set up a basic heartbeat monitor

https://healthchecks.io/ is a great tool for basic monitoring and alerting, and works perfectly for a heartbeat check. Simply create a check with a relatively frequent period (I went with a 30 minute ...
  • 702
2 votes

How can I monitor LAN traffic on raspberry pi?

You can use tcpdump too. It may already be installed on your distro. It depends on how far you want to go into the analysis of captured packets.
  • 304
1 vote

Network monitoring with Raspberry Pi

If you are able to put your Raspberry Pi between the device in question and the internet router, there is basically nothing special required. You can start with tcpdump: sudo apt-get install tcpdump ...
  • 4,274
1 vote

DC Current Monitor (Datalogging)

You would have to find, repourpus, or make your own measurement hardware, like this person did; https://spin.atomicobject.com/2014/10/12/raspberry-pi-current-power-meter/
  • 2,177

Only top scored, non community-wiki answers of a minimum length are eligible