Skip to content

A small set of scripts useful to add specific functionalities to Motioneyeos

License

Notifications You must be signed in to change notification settings

lukehsiao-forks/motioneyeos_ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

motioneyeos_ext

A small set of scripts useful to add specific functionalities to Motioneyeos (tested on Raspberry Pi, but I think is possible to use on other versions of Motioneyeos)

Tailscale

Website: Tailscale

Script: S98tailscale

To install or update Tailscale:

curl -L https://raw.githubusercontent.com/goldfix/motioneyeos_ext/main/src/S98tailscale -o /tmp/S98tailscale && bash /tmp/S98tailscale install
  • Reboot your Raspberry Pi (with the command: reboot).
  • Connect via ssh to your Raspberry Pi where Motioneyeos is installed (eg.: ssh [email protected])
  • Run the command: tailscale up and configure using your Tailscale credentials.

Rclone

Website: Rclone

Script: rclone_tool.sh

To install or update Rclone:

curl -L https://raw.githubusercontent.com/goldfix/motioneyeos_ext/main/src/rclone_tool.sh -o /tmp/rclone_tool.sh && bash /tmp/rclone_tool.sh install
  • Reboot your Raspberry Pi (with the command: reboot).
  • Connect via ssh to your Raspberry Pi where Motioneyeos is installed (eg.: ssh [email protected])
  • Configure Rclone: rclone_tool config

Parameters

rclone_tool install: installs Rclone on your device. The destination folder of Rclone and configuration files will be: /usr/bin/.

rclone_tool config: configures Rclone, remote and local folders. The configuration procedure has two different steps. The first step configures Rclone and the second step configures the local camera folder and remote folder.

rclone_tool run <copy|move> <RCLONE_NAME_DEST>: runs Rclone. It's possible to copy or move files. Requires the destination Rclone configuration (same used to configure it). This command is useful to be configured and scheduled with cron.

Two different configuration files will be create after configuration:

  • /usr/bin/rclone.config: contains the credentials to access to remote folder.
  • /usr/bin/rclone_local.config: contains the local data camera folder and remote folder. This file is used from command: rclone_tool run <NAME_DEST>.

About

A small set of scripts useful to add specific functionalities to Motioneyeos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%