{"id":18985481,"url":"https://github.com/fliptopbox/raspberry","last_synced_at":"2025-10-10T07:34:01.062Z","repository":{"id":142076979,"uuid":"200558612","full_name":"fliptopbox/raspberry","owner":"fliptopbox","description":"Raspberry Pi playground","archived":false,"fork":false,"pushed_at":"2019-09-05T08:31:56.000Z","size":24409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T07:33:37.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fliptopbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-05T01:00:59.000Z","updated_at":"2019-09-05T08:31:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"564288ed-3561-485a-b1c0-31931e799757","html_url":"https://github.com/fliptopbox/raspberry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fliptopbox/raspberry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliptopbox%2Fraspberry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliptopbox%2Fraspberry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliptopbox%2Fraspberry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliptopbox%2Fraspberry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fliptopbox","download_url":"https://codeload.github.com/fliptopbox/raspberry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliptopbox%2Fraspberry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003192,"owners_count":26083533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T16:26:36.852Z","updated_at":"2025-10-10T07:34:01.047Z","avatar_url":"https://github.com/fliptopbox.png","language":"Shell","readme":"# Raspberry Spy\n\n*A remote control interface for the Raspberry Pi camera (v2.0) using bash and  JavaScript.*\n\nEssentially this project is a time-lapse utility, accessible via a browser, to control the camera. The back-end is a pure bash implementation, which uses WebSockets to read and write camera settings, that update interface metadata and change camera parameters in real-time.\n\n![pi-spy-interface](./docs/assets/greeting.jpg)\n\n**Icons from left to right:** settings menu, composition grid, last image time, progress bar, interval value, sunrise time, sunset time, disk usage, image count, recording status.\n\n\n\n## Features overview\n\n- **Daytime stop/start** - sync your camera's activity to dawn and dusk.\n- **Time-lapse bracketing** - use exposure compensated images sequences.\n- **Automatic space retrieval** - automatically backup and delete local photos.\n\n\n\n## Camera settings\n\n![pi-spy-settings](./docs/assets/settings.jpg)\n\n\n\n- **Standard options**: these values are according to the picamera values:\n  -  `Saturation`, `Contrast`, `Brightness`, `Rotation`, `ISO`, `White Balance`, `Dynamic Range`, `Exposure`, `File Encoding`, `Light Metering` - .\n- **Camera Interval** (a range slider of seconds and minutes)\n- **Image Effects** a list of the default effects, applied with the default settings. \n  - `none`, `negative`, `solarise`, `sketch`, `denoise`, `emboss`, `oilpaint`, `hatch`, `gpen`, `pastel`, `watercolour`, `film`, `blur`, `saturation`, `colourswap`, `washedout`, `posterise`, `colourpoint`, `colourbalance`, `cartoon`\n\n- **BG resize** (`10`, `20`, `25`, `33`, `50`, `100`) amount to resize the background image of the interface.\n- **Work hours** (`Dawn to dusk` or `Always on`) \n  - \"*Dawn to Dusk*\" will resort to an external API to determine sunrise and sunset twilight time. Photos saved will between the start and stop time.\n  - \"*Always on*\" will save images continuously. \n- **Preview** (`true` or `false`) when true images are **not** saved. \n- **Bracket** (`None`, `1xEV24`, `2xEV12`, `3xEV8`, `4xEV6`)  \n- \"None\" - outputs a standard image according to the image settings\n  - \"1\" to \"4\" - will take save bracketed LDR images. The bracketed images will ignore the ISO values and exposure settings, the camera will calculate those settings. \n    - 1 saves 3 images -24, 0, 24 EV (the highest fstop difference)\n    - 2 saves 5 images: (separated by 12 stops) -24, -12, 0, 12, 24 EV\n    - 3 saves 7 images: (separated by 8 stops) -24 -16 -8 0 8 16 24\n    - 4 saves 9 images: (separated by 6 stops) -24 -18 -12 -6 0 6 12 18 24\n\n\n\n\n## Worth mentioning\n\n- [websocketd](https://github.com/joewalnes/websocketd) - is the library required to fulfil the bash WebSocket implementation. \n  - This project uses [version 0.3.1](https://github.com/joewalnes/websocketd/releases) which needs to be installed separately. \n  - You can download pre-compiled binaries for your OS  from [http://websocketd.com/](http://websocketd.com/)\n- Daytime is provided by [sunrise-sunset.org](\u003chttps://sunrise-sunset.org/\u003e) API (for sequences between sunrise and sunset)\n- Auto-start, after power re-cycle, requires a `crontab @reboot` entry\n- Daily maintenance requires an external `rsync` server (to backup and delete local images)\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliptopbox%2Fraspberry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffliptopbox%2Fraspberry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliptopbox%2Fraspberry/lists"}