1.8.0 • Published 7 years ago

@p4d/rpi-boot v1.8.0

Weekly downloads
1
License
WTFPL
Repository
-
Last release
7 years ago

RPi-Boot

Raspberry Pi utility written in NodeJS that emits alerts to a Hermes server when device is booted.

RPi-Boot is a command line utility:

  • it can be run manually at anytime
  • it's scheduled to be run at reboot by a cron job

RPi-Boot uses Hermes nodejs library, this means that if internet connection is available to the RPi, the alerts are guaranteed to reach Hermes server.

Requirements

  • cron installed on RPi - Already installed if using P4D Pi Bakery image
  • Hermes server configured and available
  • RPi in ready state (Project id, Kronos id and Hermes URL must be assigned) - See RPi Status docs

Installation

RPi is distributed via NPM:

sudo npm install -g --unsafe-perm @p4d/rpi-boot

Notes:

  • -g - Global flag is required so that the utility is accessible from anywhere in the system.
  • --unsafe-perm - This flag is required to set up the cron job for sudo user.

Usage

Manual usage:

# Just running the command will do it
rpi-boot

Automatic usage:

# The cron job that automates it
@reboot rpi-boot
1.8.0

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago