User Tools

Site Tools


projects:transcend-wifi-sd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:transcend-wifi-sd [2017/10/31 19:29] – [Transcend] arprojects:transcend-wifi-sd [2023/03/20 00:26] (current) – correct deadnicks sdomi
Line 2: Line 2:
  | name=Hacked Transcend WiFi SD  | name=Hacked Transcend WiFi SD
  | status=[[http://camera.waw.hackerspace.pl/\|active]]  | status=[[http://camera.waw.hackerspace.pl/\|active]]
- | founder=[[user>enleth]]+ | founder=[[user>elia]] 
 + | repo=[[code>informatic/cameraget]]
 }} }}
  
Line 8: Line 9:
 Hacked Transcend WiFi SD Card is used to publish photos taken on our local DSLR to a [[http://camera.waw.hackerspace.pl|HTTP-accessible gallery]] (based on [[https://github.com/saimn/sigal|sigal project]]). Hacked Transcend WiFi SD Card is used to publish photos taken on our local DSLR to a [[http://camera.waw.hackerspace.pl|HTTP-accessible gallery]] (based on [[https://github.com/saimn/sigal|sigal project]]).
  
-Photos are downloaded from the camera with a simple systemd timer unit +Photos are downloaded from the camera with [[code>informatic/cameraget|simple systemd timer unit]]
-<code> +
-[Unit] +
-Description=Timer trigger for camera wifi downloader +
- +
-[Install] +
-WantedBy=timers.target +
- +
-[Timer] +
-OnUnitActiveSec=10 +
-OnBootSec=15 +
-AccuracySec=1 +
-Persistent=no +
-RemainAfterElapse=no +
-</code> +
-and service unit +
-<code> +
-[Unit] +
-Description=camera wifi downloader +
- +
-[Service] +
-User=cameraget +
-Group=cameraget +
-Type=oneshot +
-ExecStart=/bin/sleep 1 +
-ExecStart=/bin/ping -n -c 1 transcend.waw.hackerspace.pl +
-ExecStart=-/usr/bin/lftp -e "mirror --ignore-time DCIM/ /data/transcend;quit" transcend.waw.hackerspace.pl +
-ExecStart=/bin/bash -c "cd /data/sigal; source venv/bin/activate; sigal build" +
-</code>+
  
 ===== HOWTO (SSH & FTP) ===== ===== HOWTO (SSH & FTP) =====
projects/transcend-wifi-sd.1509478142.txt.gz · Last modified: 2017/10/31 19:29 by ar

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki