Coder Social home page Coder Social logo

pidroplapse's Introduction

Archived...

For several years my wife and I used this project and a Raspverry Pi 4b to monitor our birds - it worked really well! In recent years our needs have changed and we no longer make use of this setup so this project has been archived...

Sometime after we stopped using this I did create another Pi based photo project - PiSlicedDayPhotos. PiSlicedDayPhotos targets taking periodic landscape/outdoor photos from a Pi and is in use as I write this.

This project was written for fun and for the love of programming! If you are here looking for something I hope you find a useful snippet, idea or piece of code - contact me if you have any questions - Charles Miles, 9/18/2023

PiDropLapse

This project is two .NET 5 console projects designed to collect information from a Raspberry Pi, save it locally and upload it to Dropbox:

  • PiDropPhoto: Takes a photo and can write the temperature and pressure from a BMP280 sensor onto the image.
  • PiDropSimpleSensorReport: Reads the temperature and pressure from a BMP280 sensor, writes the readings to a local SQLite db and creates an image with the current reading and chart of recent readings.

Why

This was created for learning, fun and to spy on our beloved Cockatiels... (Their consent was not obtained, I suspect when they learn about this they will try to swoop in and get this repo taken down...)

Obviously there are many existing cameras/software/hardware solutions for home surveillance, photography, sensor/weather monitoring, etc. that can do better/faster/more things... However there are a few interesting details to this solution:

  • Photos and information are static images only (no video, no javascript, nothing 'active') to increase the chances of reasonable viewing on poor cellular internet connections
  • Can run without any access to the internet
  • Runs on relatively inexpensive multi-purpose hardware that you have complete control over
  • Can upload to Dropbox to allow easy online access and simple sharing with good/easy controls

Downsides:

  • Current solution is specific to the Raspberry Pi and only tested by me on a 4b
  • Doesn't have alerts, motion detection, video or other advanced features you might find in any 'true' home surveillance/monitoring setup
  • You will need to setup a Dropbox 'app' and store the access token in plain text on the Pi to use Dropbox (go to https://www.dropbox.com/developers/ to setup an app and get a token)

Features:

  • Files are prefixed with a number that decreases every hour (until the end of the day on 12/31/9999 anyway - no support will be provided after that date...) - this causes files from the most recent hour to be at the top of the file list in the 'default' sort order. This hardly seems worth listing as a feature until you work daily with Dropbox folders that have very long file lists...
  • Very basic help on the command line
  • -WriteIni command line flag to generate a new ini file with the default settings
  • Ini Files to allow simple access to settings

Used By and In Building PiDropLapse

Tools:

Hardware:

Packages/Libraries/Services:

pidroplapse's People

Contributors

cmiles avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.