Skip to content

Instantly share code, notes, and snippets.

View bsoufflet's full-sized avatar

Benjamin S. bsoufflet

  • Fruition Sciences
  • Montpellier
View GitHub Profile
@bsoufflet
bsoufflet / mjpgstreamer.sh
Last active August 29, 2015 14:16
MJPG-Streamer - USB webcam - Jeedom Script to Start/Stop mjpg stream or to start photo captures every 900ms.
#/bin/bash
# tested on BananaPi with Raspian with Jeedom
#
# === PARAMETERS ===
# - start (start mjpg_streamer with the http output)
# - stop
# - photo (start mjpg_streamer with the file output. Save pictures every 900ms to /usr/share/nginx/www/jeedom/tmp/camera_records/)
#
# === SETUP ===
# follow these steps : http://jacobsalmela.com/raspberry-pi-webcam-using-mjpg-streamer-over-internet/ (no need for deamon steps)
@bsoufflet
bsoufflet / CloneSD.sh
Last active March 7, 2021 19:44
RaspberryPi / BananaPi SD Clone to Freebox V6 or to any mounted drive
#!/bin/bash
# Stop all Jeedom services then backup the SD card to the Freebox V6 HD
# then reboot the RaspberryPi/BananaPi
#
# === Sources ===
# - https://forum.jeedom.fr/viewtopic.php?f=66&t=4443
# - http://doc.ubuntu-fr.org/freeboxv6
# - http://www.domopi.eu/sauvegarde-de-la-carte-sd-du-raspberry-pi-sur-un-serveur-externe/
#
# === Setup instructions ===