homebridge-vivint
homebridge-vivint copied to clipboard
Add support for arming / disarming security panel
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.
Any progress on adding this feature?
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 what steps did you take to update your files with the pull request additions?
@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 Thanks! Works perfectly!
Works very well. Thank you!
/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?
This no longer works for me.
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?