{"id":17816499,"url":"https://github.com/zebrajaeger/pi-timelapse","last_synced_at":"2026-01-20T04:32:22.470Z","repository":{"id":42845442,"uuid":"227342895","full_name":"zebrajaeger/pi-timelapse","owner":"zebrajaeger","description":"How to make timelapse videos with raspberry pi","archived":false,"fork":false,"pushed_at":"2022-12-14T07:36:18.000Z","size":348,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T15:55:34.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zebrajaeger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-11T10:50:22.000Z","updated_at":"2021-07-23T10:33:28.000Z","dependencies_parsed_at":"2023-01-28T19:16:07.645Z","dependency_job_id":null,"html_url":"https://github.com/zebrajaeger/pi-timelapse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zebrajaeger/pi-timelapse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fpi-timelapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fpi-timelapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fpi-timelapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fpi-timelapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebrajaeger","download_url":"https://codeload.github.com/zebrajaeger/pi-timelapse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fpi-timelapse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-27T16:38:16.947Z","updated_at":"2026-01-20T04:32:22.447Z","avatar_url":"https://github.com/zebrajaeger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-timelapse\n\n## Config pi\n\n- enable camera\n- enable serial (optional)\n- enable gpio\n- extend file system (optional)\n\n## Install dependencies\n\n    sudo apt install libudev-dev \n\n## Hardware interface\n\nTimelapse JPG capture with raspberry pi and Raspberry Pi camera\n\nHardware/Schematic: https://easyeda.com/zebrajaeger/pi-timelapse\n\nTODO: shutdown: https://www.embeddedcomputing.com/technology/open-source/development-kits/raspberry-pi-power-up-and-shutdown-with-a-physical-button\n\n## Install requirements\n\n### Update\n\n    sudo apt update\n    sudo apt upgrade\n\n### NodeJs\n\n- nvm does not work for development, node has to be installed globally\n\n\n    sudo curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -\n    sudo apt-get install -y nodejs\n\ncheck:\n\n    pi@pi4:~ $ node --version\n    v14.17.2\n\n    pi@pi4:~ $ which node\n    /usr/bin/node\n\n### nodemon (develop only)\n\n    sudo npm i -g nodemon\n\n### Yarn (develop, optional)\n\n    sudo npm i yarn\n\n### usbmount\n\n- usbmount, take a look at https://gist.github.com/zebrajaeger/168341df88abb6caaea5a029a2117925\n- nodejs \n\n### create 200MB temp dir (RAMdrive)\n\n#### Create folder\n\n    sudo mkdir /var/cam\n    sudo chmod 1757 /var/cam\n\n#### create fstab entry\n\n    sudo nano /etc/fstab\n\nadd\n\n    tmpfs /var/cam tmpfs nodev,nosuid,size=200M 0 0\n    \nmount it for this time (automatically on reboot)\n\n    sudo mount -a\n\ncheck it\n\n    pi@pi4:~ $ mount | grep cam\n    tmpfs on /var/cam type tmpfs (rw,nosuid,nodev,relatime,size=204800k)\n\n## Installation\n\n### Get code\n    cd ~\n    git clone https://github.com/zebrajaeger/pi-timelapse.git\n\n### Autostart\n\n    crontab -e\n\nadd\n\n    @reboot npm --prefix /home/pi/pi-timelapse/src run start\n\n\n## Pitfalls\n\n### File system of the external USB-Drive\n\nNever ever use ntfs formatted usb-hdds with this software. \nThe write-performance is in my case \u003c 2Mb/s and way to slow.\nThe same HDD, formatted in ext4 works very well. \n\n## Develop\n\nUses rsync and seems to have trouble with cygwin. \n\n    cd dev\n    npm run develop\n\n## Better using eth instead of wifi (unstable)\n\nConfigure \n- wifi with dhcp \n- eth0 with dhcp and a static ip as fallback (direct connection to developer pc)\n\n\n    sudo nano /etc/dhcpcd.conf\n\nadd\n\n    profile static_eth0\n    static ip_address=10.1.2.55/24\n    interface eth0\n    fallback static_eth0\n\nthe reboot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fpi-timelapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebrajaeger%2Fpi-timelapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fpi-timelapse/lists"}