homebridge-ninjablock-alarmstatedevicedeprecated

Homebridge module to retrieve the current state of the state-device

Usage no npm install needed!

<script type="module">
  import homebridgeNinjablockAlarmstatedevice from 'https://cdn.skypack.dev/homebridge-ninjablock-alarmstatedevice';
</script>

README

homebridge-ninjablock-alarmstatedevice

NinjaBlock plugin for HomeBridge

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-ninjablock-alarmstatedevice
  3. Update your configuration file. See sample config.json snippet below.

Configuration of the NinjaBlock Cloud

Enable the States Service in Settings: Services if you haven't already. You'll see a new Widget on your Dashboard, called 'Generic State Device'. Use the cog (Widget Menu) and add a new Custom State. Name it 'stay armed'. Do this again for: 'disarmed', 'alarm triggered', 'away armed' and 'night armed'

Configuration of the plugin

Configuration sample:

{
"accessory": "NinjaBlock-AlarmStateDevice",
"statedevice_url" : "<YOUR URL GOES HERE>",
"service" : "Security System",
"name" : "NinjaBlock Security System"
}

Fields: