Skip to content

quelqundev/NexecurScheduler

Repository files navigation

Nexecur Scheduler

GitHub release GitHub appveyor GitHub issues GitHub license

This package aims at scheduling repetitive activation and desactivation of Nexecur security system using unofficial API.

Installation

  1. git clone https://github.com/quelqun007/NexecureScheduler.git --recurse-submodules

  2. npm install

  3. Configure the config.json file. You could provide the following defaults values:

  • activationHour : (number 0-23) hour of alarm activation job
  • activationHour : (number 0-23) hour of alarm desactivation job

Please note that this configuration is just used at launch time and can be modified by runtime configuration through API.

  1. Configure the config.json file in the Nexecur-Unofficial-API directory. You should provide the following values :
  • id_site (also called wiring code)
  • password (also called PIN)
  1. Configure users id and password in the users.json file.

  2. Configure free account id and key in the smsconfig.json file : {"id":13245678,"key": "examplekey"}

  3. npm start to run the script

Notes

Some specific use cases are detailed below :

  • you can activate the alarm before the activation hour, it will work as usual : the alarm will be disabled at next desactivation job, following scheduling.

  • you can desactivate the alarm before the desactivation job.

  • to activate/desactivate your alarm for many days and dont follow the scheduling during this period : add today as an exception date and following days defining the period, and then activate the alarm.

Screen

screen

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Nexecur or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.