I have Raspberry Pi and I mainly use it for VPN and piHole. I’m curious if you have one, have you found it useful? What do you do with your Raspberry Pi?
1) barcode scanner to put products in my online supermarket’s shopping cart
2) security cam to do facial recognition and drop me an email 3) general purpose remote control website/api for turning things on/off such as tv, amp, dac (typical things that need hw integration: ir blaster, 433mhz sockets, 12v trigger voltage etc). Recently discovered APIs integrate quite nicely with Apple’s iOS ‘Shortcuts’ app for poor man’s voice control!
I use Raspberry Pi 2 to synchronize files across my ubuntu/macos/windows machines, backup them into the encrypted backup and then upload that backup offsite.
I use syncthing to synchronize files. It's fast, stable, cost me nothing and the only limit I have is the size of my disks. Syncthing is decentralized, that means that two machines have to be powered on at the same time to be able to perform sync. Raspberry Pi allows me to have that always-on machine at home which is small, quiet and unnoticeable in my electricity bill. Syncthing works across internet bypassing NAT thanks to the community-ran relays (I also run one of them). I could take my laptop everywhere and file changes will still reach my Raspberry Pi. I hook up an external Seagate USB HDD and it runs just fine without an extra power source. Syncthing keeps up-to-date copy of all my files on that external HDD. I use borg-backup to take hourly snapshots of my files. Those snapshots are encrypted and I upload them offsite without any worries that some cloud provider could possibly read them. I use rclone for that, it can interface with a number of cloud providers out there. It just take your files and one-way sync them into the cloud. The setup of rclone and borg-backup is not particularly complicated but still requires some time. Directories, encryption keys, periodic jobs have to be configured. I abstracted all that into one script which is a bit opinionated but works for me. That script can be run on Linux on on MacOS. I used my Mac for that before Raspberry Pi. It uses system or launchd to run periodic jobs https://github.com/senotrusov/backup-script I installed Ubuntu server on that Raspberry Pi to have familiar environment. Sadly Raspberry Pi lacks secure boot and have no internal TPM functionality. My external HDD is encrypted but I can't trust Raspberry Pi to hold the encryption key. In rare event of reboot I have to ssh in and manually enter the LUKS key. This setup is still prone to an evil maid attack as someone could replace or modify the SD card to log that key. That scenario is highly unlikely as I am no particular interest to anyone. What is slightly more realistic is that someone could brake into my house to steal stuff. For that my data is secure as the key is lost the moment you power off the Raspberry Pi. Overall I'm pretty happy with that setup. My Raspberry Pi slowly blinks with it onboard red LED to indicate that all that services run well and alarms me with fast blinks if something is not right.
I have a RPi2 running as an NFS server.
I have a RPi0W with a camera streaming video to said NFS server.
I have a RPi1(256MB) in the bathroom streaming music from the aforementioned NFS server.
I have a RPi0 attached to the USB port of my router running PiHole.
And then I have a shelf of other Pis doing nothing, but you know, one day I will finish all those projects...
Our Raspberry Pi 3 B is the core processing unit for our humanoid robotics platform [1]. This is in the context of the RoboCup competition [2]. With it we run:
Comments (1,069) 486 threads
Earlier comments2) security cam to do facial recognition and drop me an email
3) general purpose remote control website/api for turning things on/off such as tv, amp, dac (typical things that need hw integration: ir blaster, 433mhz sockets, 12v trigger voltage etc). Recently discovered APIs integrate quite nicely with Apple’s iOS ‘Shortcuts’ app for poor man’s voice control!
I use syncthing to synchronize files. It's fast, stable, cost me nothing and the only limit I have is the size of my disks.
Syncthing is decentralized, that means that two machines have to be powered on at the same time to be able to perform sync. Raspberry Pi allows me to have that always-on machine at home which is small, quiet and unnoticeable in my electricity bill. Syncthing works across internet bypassing NAT thanks to the community-ran relays (I also run one of them). I could take my laptop everywhere and file changes will still reach my Raspberry Pi.
I hook up an external Seagate USB HDD and it runs just fine without an extra power source. Syncthing keeps up-to-date copy of all my files on that external HDD.
I use borg-backup to take hourly snapshots of my files. Those snapshots are encrypted and I upload them offsite without any worries that some cloud provider could possibly read them. I use rclone for that, it can interface with a number of cloud providers out there. It just take your files and one-way sync them into the cloud.
The setup of rclone and borg-backup is not particularly complicated but still requires some time. Directories, encryption keys, periodic jobs have to be configured. I abstracted all that into one script which is a bit opinionated but works for me. That script can be run on Linux on on MacOS. I used my Mac for that before Raspberry Pi. It uses system or launchd to run periodic jobs https://github.com/senotrusov/backup-script
I installed Ubuntu server on that Raspberry Pi to have familiar environment.
Sadly Raspberry Pi lacks secure boot and have no internal TPM functionality. My external HDD is encrypted but I can't trust Raspberry Pi to hold the encryption key. In rare event of reboot I have to ssh in and manually enter the LUKS key.
This setup is still prone to an evil maid attack as someone could replace or modify the SD card to log that key. That scenario is highly unlikely as I am no particular interest to anyone. What is slightly more realistic is that someone could brake into my house to steal stuff. For that my data is secure as the key is lost the moment you power off the Raspberry Pi.
Overall I'm pretty happy with that setup. My Raspberry Pi slowly blinks with it onboard red LED to indicate that all that services run well and alarms me with fast blinks if something is not right.
And then I have a shelf of other Pis doing nothing, but you know, one day I will finish all those projects...
* Vision - A custom CNN using YOLO [3], where we are able to process a 256x256 (input is scaled) at 10fps to detect bounding boxes for balls and goal posts
* Localization - Kalman filter (mainly currently used for tracking rotation)
* Networking - Game controller (referee) [4], team communication [5] and a debug interface [6]
* Behaviour - A hybrid state machine
* Walking - Inverse kinematic walk with a balance system [7]
Feel free to ask questions. We plan to open source everything (everything) in a month to two months.
[1] https://humanoid.science/
[2] https://www.robocup.org/
[3] https://pjreddie.com/darknet/yolo/
[4] https://github.com/RoboCup-Humanoid-TC/GameController
[5] https://github.com/RoboCup-Humanoid-TC/mitecom
[6] https://github.com/hellerf/EmbeddableWebServer
[7] https://github.com/Rhoban/IKWalk
EDIT: Bullet points on different lines
All comments shown.
Couldn't load more comments. Check your connection and try again.