huetimerobot
v0.1.1
Published
HueStatus module for reporting uptime robot downtime
Downloads
7
Readme
HueTimeRobot
Sentry reporter for HueStatus
Features
- Add individual monitors (by unique api key) or add all
- Set your Hue light to "alert" when a monitor is down.
- Set your Hue light to "building" when a monitor is not yet checked.
- Set your Hue light to "warning" when no monitors are found.
- Set your Hue light to "ok" when all monitors are up.
Installation
npm install -g huestatus huetimerobot
Create a .huerc file on your home directory, see HueStatus Docs for more info. Add an object like this to the modules array for each of the projects you want to monitor:
{
"name": "huetimerobot", // Required to tell HueStatus to load this module
"light": "Hue color lamp 2", // Which Hue light to use
"uptimeRobotApiKey": "u1231414-12412414145525", // Your Uptime Robot API key. Can be an account or individual monitor api key
"pollInterval": 2000 // Polling interval in milliseconds
}
Then run huestatus
, each job will be loaded into HueStatus and your selected light(s) changed accordingly.