upgraded rcswitch to a (hopefully) functioinal version
This commit is contained in:
parent
951a4fc3bc
commit
1e7a39d654
@ -7,7 +7,7 @@ const os = require('os');
|
||||
let rcswitch;
|
||||
|
||||
if(os.arch() == 'arm' || os.arch() == 'arm64') {
|
||||
rcswitch = require('rcswitch');
|
||||
rcswitch = require('rcswitch4');
|
||||
} else {
|
||||
/**
|
||||
* "Polyfill" for development purposes. Should run correctly on actual Raspberry PI hardware
|
||||
|
||||
31
package-lock.json
generated
31
package-lock.json
generated
@ -4,21 +4,6 @@
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"bindings": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.4.0.tgz",
|
||||
"integrity": "sha512-7znEVX22Djn+nYjxCWKDne0RRloa9XfYa84yk3s+HkE3LpDYZmhArYr9O9huBoHY3/oXispx5LorIX7Sl2CgSQ==",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"file-uri-to-path": "1.0.0"
|
||||
}
|
||||
},
|
||||
"file-uri-to-path": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
||||
"optional": true
|
||||
},
|
||||
"homecontrol-control-base": {
|
||||
"version": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git#809acfad8245dad9d974cba5b1eff2dfc5419cc9",
|
||||
"from": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git",
|
||||
@ -40,26 +25,10 @@
|
||||
"is-plain-obj": "^1.1"
|
||||
}
|
||||
},
|
||||
"nan": {
|
||||
"version": "2.12.1",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz",
|
||||
"integrity": "sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw==",
|
||||
"optional": true
|
||||
},
|
||||
"node-object-hash": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/node-object-hash/-/node-object-hash-1.4.1.tgz",
|
||||
"integrity": "sha512-JQVqSM5/mOaUoUhCYR0t1vgm8RFo7qpJtPvnoFCLeqQh1xrfmr3BCD3nGBnACzpIEF7F7EVgqGD3O4lao/BY/A=="
|
||||
},
|
||||
"rcswitch": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/rcswitch/-/rcswitch-0.3.1.tgz",
|
||||
"integrity": "sha1-zJGN+cUwaczWQycC46cIjcqiwy8=",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"bindings": "^1.2.1",
|
||||
"nan": "^2.0.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hc-rcswitch",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"description": "rcswitch integration for Homecontrol",
|
||||
"main": "HCrcswitch.js",
|
||||
"scripts": {
|
||||
@ -16,6 +16,6 @@
|
||||
"homecontrol-control-base": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"rcswitch": "^0.3.1"
|
||||
"rcswitch4": "^0.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user