I'm having this issue, i got a new wink hub trying to add wink pluggin to my homebridge server on my iMac on node.js, please advise? somewhat new to this, been using homebridge for my wemo devices for about 2-3 months now without an issue. running my server from my iMac. thanks again
………..
Oh, I've royally screwed it up now. tried downgrading and reinstalling few ways i found online, now it isn't working at all......
homebridge
/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:35
throw ex;
^
Error: Module version mismatch. Expected 46, got 48.
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
i made a copy of all i did in terminal if that might help any as well......
…………….
bought multiple wink devices and a hub and still haven't been able to correct my homebridge to work with all my new devices
_G E Switch (in wall) z wave_
wink hub
Lightify oshram garden outdoor colored lights
My newest attempt......and logs of the failures
Bradleys-iMac:~ bradleyrawleigh$ sudo npm cache clean -f
Password:
npm WARN using --force I sure hope you know what you are doing.
Bradleys-iMac:~ bradleyrawleigh$ sudo npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
n@2.1.2 /usr/local/lib/node_modules/n
Bradleys-iMac:~ bradleyrawleigh$ sudo n lts
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/bradleyrawleigh/.node-gyp/4.4.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/.node-gyp"
CXX(target) Release/obj.target/curve/node_curve.o
SOLINK_MODULE(target) Release/curve.node
Bradleys-iMac:~ bradleyrawleigh$ sudo npm install -g homebridge-wink
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
homebridge-wink@1.1.1 /usr/local/lib/node_modules/homebridge-wink
└── wink-js@0.1.1 (async@1.5.2, debug@2.2.0,
config-file@0.1.8)
*****Not sure where to go from here honestly......getting further in unfamiliar territory now.
Running HomeBridge from node.js on my iMac (side note)
thanks for any further advice again!
sorry I'm very new to GitHub, and unsure how to best use its features honestly. thanks for any and all advice…….
"description": "This is an example configuration file with all supported devices. You can use this as a template for creating your own configuration file containing devices you actually own.",
I'm having this issue, i got a new wink hub trying to add wink pluggin to my homebridge server on my iMac on node.js, please advise? somewhat new to this, been using homebridge for my wemo devices for about 2-3 months now without an issue. running my server from my iMac. thanks again
………..
Oh, I've royally screwed it up now. tried downgrading and reinstalling few ways i found online, now it isn't working at all......
homebridge /usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:35 throw ex; ^ Error: Module version mismatch. Expected 46, got 48. at Error (native) at Object.Module._extensions..node (module.js:434:18) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) i made a copy of all i did in terminal if that might help any as well......
…………….
bought multiple wink devices and a hub and still haven't been able to correct my homebridge to work with all my new devices
_G E Switch (in wall) z wave_ wink hub Lightify oshram garden outdoor colored lights
My newest attempt......and logs of the failures
Bradleys-iMac:~ bradleyrawleigh$ sudo npm cache clean -f Password: npm WARN using --force I sure hope you know what you are doing. Bradleys-iMac:~ bradleyrawleigh$ sudo npm install -g n /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n n@2.1.2 /usr/local/lib/node_modules/n Bradleys-iMac:~ bradleyrawleigh$ sudo n lts
100.0%
installed : v4.4.7
Bradleys-iMac:~ bradleyrawleigh$ sudo npm install -g homebridge
Password:
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/bradleyrawleigh/.node-gyp/4.4.7" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/.node-gyp" CXX(target) Release/obj.target/curve/node_curve.o SOLINK_MODULE(target) Release/curve.node
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/bradleyrawleigh/.node-gyp/4.4.7" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/ed25519/.node-gyp" CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o CC(target) Release/obj.target/ed25519/src/ed25519/sign.o CC(target) Release/obj.target/ed25519/src/ed25519/open.o CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o CXX(target) Release/obj.target/ed25519/src/ed25519.o SOLINK_MODULE(target) Release/ed25519.node
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/bradleyrawleigh/.node-gyp/4.4.7" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/.node-gyp" CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o SOLINK_MODULE(target) Release/dns_sd_bindings.node
[bignum] Success: "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/binding/bignum.node" is installed via remote /usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge homebridge@0.3.4 /usr/local/lib/node_modules/homebridge ├── semver@5.0.3 ├── node-persist@0.0.8 (q@1.1.2, mkdirp@0.3.5) ├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1) ├── commander@2.8.1 (graceful-readlink@1.0.1) └── hap-nodejs@0.3.2 (debug@2.2.0, curve25519@1.1.0, ed25519@0.0.3, mdns@2.3.3, srp@0.2.1)
Bradleys-iMac:~ bradleyrawleigh$ sudo npm install -g homebridge-wink npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue homebridge-wink@1.1.1 /usr/local/lib/node_modules/homebridge-wink └── wink-js@0.1.1 (async@1.5.2, debug@2.2.0,
*****Not sure where to go from here honestly......getting further in unfamiliar territory now.
Running HomeBridge from node.js on my iMac (side note)
thanks for any further advice again!
sorry I'm very new to GitHub, and unsure how to best use its features honestly. thanks for any and all advice…….
below is my config.json copied file:
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:**”, "port": 51827, "pin": "031-45-***” },
"description": "This is an example configuration file with all supported devices. You can use this as a template for creating your own configuration file containing devices you actually own.",
"name": "Screen Saver", "on": "tell application ''/Volumes/Macintosh HD/Users/_/Desktop/Scripts/ScreenSavorON.app'' to activate", "off": "tell application ''/Volumes/Macintosh HD/Users/_/Desktop/Scripts/ScreenSavorOFF.app'' to activate" } ], "platforms":[ { "platform": "BelkinWeMo", "name": "WeMo Platform", "expected_accessories" : "7", "timeout" : "45", "no_motion_timer": "120", "homekit_safe" : "1" }
i have tried to add the following to the above file for my wink pluggin setup and failed as shown at the top:
{ "platform": "Wink", "name": "Wink", "clientid": "1a0878c0c227c33****”, "clientsecret": "c865799b11****”, "username": “PASS@TEST.com", "password": “PASS”, "hide_groups": [], "hide_ids": [], "temperature_unit" : "F"