# @p4d/rpi-monitor

> Raspberry Pi utility that emits alerts periodically with device status.

Latest version **1.4.0** (published 2017-09-12) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install @p4d/rpi-monitor
pnpm add @p4d/rpi-monitor
yarn add @p4d/rpi-monitor
bun add @p4d/rpi-monitor
```

Provides the command `rpi-monitor`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2017-09-12 |
| First published | 2017-04-10 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Tomás Migone |
| Maintainers | javougarte, shipupi, tmigone, p4d-owner |
| Keywords | rpi, raspberry, pi, tools |

## Links

- npm: https://www.npmjs.com/package/@p4d/rpi-monitor
- Repository: http://git.p4design.com.ar/prodaction/rpi-tools
- npm.io page: https://npm.io/package/@p4d/rpi-monitor

## Dependencies (3)

- [@p4d/rpi](https://npm.io/package/@p4d/rpi.md) ^1.3.0
- [console-stamp](https://npm.io/package/console-stamp.md) ^0.2.5
- [@p4d/hermes-nodejs](https://npm.io/package/@p4d/hermes-nodejs.md) ^1.2.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.4.0 (latest) — 2017-09-12
- 1.3.0 — 2017-09-12
- 1.2.0 — 2017-08-10
- 1.1.3 — 2017-04-21
- 1.1.2 — 2017-04-20
- 1.1.1 — 2017-04-19
- 1.1.0 — 2017-04-19
- 1.0.1 — 2017-04-10

## README

# RPi-Monitor
Raspberry Pi utility written in NodeJS that emits alerts periodically to a Hermes server with device status.

RPi-Monitor is a command line utility:
+ it can be run manually at anytime
+ it's scheduled to be run every 5 minutes by a cron job

RPi-Monitor 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
+ Hermes server configured and available
+ RPi in ready state (Project id, Kronos id and Hermes Url must be assigned) - See [RPi Status docs](https://www.npmjs.com/package/@p4d/rpi)

## Installation
RPi is distributed via NPM:
```
sudo npm install -g --unsafe-perm @p4d/rpi-monitor
```

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:
```bash
# Just running the command will do it
rpi-monitor
```

Automatic usage:
```bash
# The cron job that automates it
*/5 * * * * rpi-monitor
```

---
_Source: https://npm.io/package/@p4d/rpi-monitor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
