homebridge-vivint icon indicating copy to clipboard operation
homebridge-vivint copied to clipboard

Add support for arming / disarming security panel

Open timcharper opened this issue 6 years ago • 10 comments

timcharper avatar Feb 07 '19 21:02 timcharper

I would definitely like to see this feature. Great work so far. I have waited a long time for a plugin like this to come along. If you need testers I’d love to help.

jlhunter2008 avatar Feb 12 '19 05:02 jlhunter2008

Any progress on adding this feature?

jeffwhalen avatar Apr 18 '19 00:04 jeffwhalen

there is a pull request with code for arming and disarming.. not sure what, how or who needs to make changes or update the package.. i just updated the files manually in my plugin

mceres avatar Apr 18 '19 04:04 mceres

@mceres what steps did you take to update your files with the pull request additions?

rob74lee avatar Apr 19 '19 12:04 rob74lee

@rob74lee you can get the updated files from here https://github.com/daymondm/homebridge-vivint.git

basically you need to stop homebridge and the updated the 2 files that have been updated.

easiest way to do this is to copy them

vivint@homebridge-vivint:$ sudo cp /source/device_set.js /usr/local/lib/node_modules/homebridge-vivint/lib/device_set.js vivint@homebridge-vivint:$ sudo cp /source/vivint_api.js /usr/local/lib/node_modules/homebridge-vivint/lib/vivint_api.js

mceres avatar Apr 19 '19 20:04 mceres

@mceres Thanks! Works perfectly!

rob74lee avatar Apr 21 '19 17:04 rob74lee

Works very well. Thank you!

dspille avatar Apr 28 '19 00:04 dspille

/usr/local/lib/node_modules/homebridge-vivint/lib/vivint_api.js

@rob74lee you can get the updated files from here https://github.com/daymondm/homebridge-vivint.git

basically you need to stop homebridge and the updated the 2 files that have been updated.

easiest way to do this is to copy them

vivint@homebridge-vivint:$ sudo cp /source/device_set.js /usr/local/lib/node_modules/homebridge-vivint/lib/device_set.js vivint@homebridge-vivint:$ sudo cp /source/vivint_api.js /usr/local/lib/node_modules/homebridge-vivint/lib/vivint_api.js

Does this still work? After doing this there was a missing function in index.js and then I copied the index.js like above. Can I not just clone the main repo to /usr/lib/node_modules?

tjdodson avatar Dec 16 '19 00:12 tjdodson

This no longer works for me.

dspille avatar Dec 16 '19 00:12 dspille

Dang. Is there anyway to update the npmjs plugin using this repo? Or a way to install the plugin using the repo rather than using

npm i homebridge-vivint

?

I am thinking I am will tinker with this: https://stackoverflow.com/questions/17509669/how-to-install-an-npm-package-from-github-directly

Has anyone tried installing using

npm install git+https://github.com/timcharper/homebridge-vivint.git

and does anyone have any advice or caution to give before I go down this road?

tjdodson avatar Dec 31 '19 17:12 tjdodson