Hallo,
ich habe gerade zwei Philips Hue Smart Plugs gekauft, um die Pumpe und die Poolheizung ein- und auszuschalten. Könnten wir uns zusammen hinsetzen und die Integration dieser Geräte in den Service besprechen?
Vielen Dank im Voraus.
Hallo,
ich habe gerade zwei Philips Hue Smart Plugs gekauft, um die Pumpe und die Poolheizung ein- und auszuschalten. Könnten wir uns zusammen hinsetzen und die Integration dieser Geräte in den Service besprechen?
Vielen Dank im Voraus.
Hier ist, was zu tun ist:
Danke @Tlse-vins für dein Feedback.
[
{
"name":"Prise pompe Piscine",
"service_id":"86b98c11-f85f-44e4-8f18-030576b3ee9d",
"external_id":"philips-hue-light:ecb5fa25a522:3",
"selector":"philips-hue-light:ecb5fa25a522:3",
"should_poll":true,
"model":"LOM002",
"poll_frequency":60000,
"features":[],
"not_handled":true,
"raw_philips_hue_device":
{
"_rawData":
{
"state":
{
"on":false,
"alert":"select",
"mode":"homeautomation",
"reachable":true
},
"swupdate":
{
"state":"noupdates",
"lastinstall":"2020-04-26T12:13:30"
},
"type":"On/Off plug-in unit",
"name":"Prise pompe Piscine",
"modelid":"LOM002",
"manufacturername":"Signify Netherlands B.V.",
"productname":"Hue Smart plug",
"capabilities":
{
"certified":true,
"control":{},
"streaming":
{
"renderer":false,
"proxy":false
}
},
"config":
{
"archetype":"plug",
"function":"functional",
"direction":"omnidirectional",
"startup":
{
"mode":"safety",
"configured":true
}
},
"uniqueid":"00:17:88:01:08:9d:f7:5a-0b",
"swversion":"1.65.9_hB3217DF",
"swconfigid":"4303D274",
"productid":"SmartPlug_OnOff_v01-00_02"
},
"_id":3
}
}
Falls nötig @pierre-gilles oder andere, sagt mir bitte, ob ich helfen kann
Es gab eine Diskussion darüber, dass neue Geräte automatisch erkannt und hinzugefügt werden (glaube ich).
Ich weiß nicht, wo das steht.
@Terdious ich schaue mir an, wie ich die Steckdosen implementiere, ich werde dich zum Testen brauchen, da ich keine habe
Ja klar @VonOx, kein Problem, sag mir einfach Bescheid, wenn du mich brauchst.
Hallo @VonOx,
Ich habe es gerade in der Entwicklung wie folgt implementiert:
Es funktioniert perfekt:
@VonOx, kannst du das absegnen? Sollte man vorher einen Test machen? Denn das kann ich nicht…^^ Aber wenn man es mir beibringt, denn ich komme mit der Dokumentation nicht klar, kann ich mich darum kümmern.
Ich brauche das, um die Pumpe des Brunnens alle Stunden für 5 Minuten zu starten.
Wie im PM besprochen, habe ich den PR #781 für die Hinzufügung des Hue Smart Plug LOM002-Modells durchgeführt. Ich habe 2 Dateien geändert (light.getLights.js in server/service/philips-hue/lib/light - siehe Beitrag oben / und lights.json in server/test/services):
,
{
"_rawData": {
"state": {
"on": true,
"bri": 254,
"alert": "none",
"mode": "homeautomation",
"reachable": false
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2020-04-25T10:55:36"
},
"type":"On/Off plug-in unit",
"name":"Prise chauffage Piscine",
"modelid": "LOM002",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue Smart plug",
"capabilities": {
"certified": true,
"control": {},
"streaming": {
"renderer": false,
"proxy": false
}
},
"config": {
"archetype": "plug",
"function": "functional",
"direction": "omnidirectional",
"startup": {
"mode": "safety",
"configured": true
}
},
"uniqueid": "00:17:88:01:08:9f:97:bd-0c",
"swversion": "1.55.10_r29112",
"swconfigid": "4303D274",
"productid": "SmartPlug_OnOff_v01-00_02"
},
"_id": 25,
"id": 25
}
Aber der npm-Test funktioniert nicht:
~\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server [Philips-Hue-L0M002 +0 ~1 -0 !]> npm test
> gladys-server@ pretest C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server
> npm run eslint
> gladys-server@ eslint C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server
> eslint .
C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\usb\api\usb.controller.js
13:17 warning Unexpected unnamed function func-names
C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave\index.js
7:25 error Unable to resolve path to module 'openzwave-shared' import/no-unresolved
C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\test\benchmark\triggers.js
61:8 warning Unexpected constant condition no-constant-condition
C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\test\lib\gateway\GladysGatewayClientMock.test.js
4:33 warning Unexpected unnamed function func-names
✖ 4 problems (1 error, 3 warnings)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gladys-server@ eslint: `eslint .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gladys-server@ eslint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T11_08_21_953Z-debug.log
npm ERR! Test failed. See above for more details.
Ich habe nichts anderes gemacht als das Beispiel, das mir @VonOx für seine letzte Modellhinzufügung gegeben hat. Vielleicht ein Installationsproblem? Aber er findet einen Fehler im Z-Wave-Service…
Vielen Dank im Voraus
Du bist auf Windows, das npm-Modul ist wahrscheinlich nicht installiert.
Versuche zu sehen, ob der npm install für den Server einen Fehler zurückgibt.
In der Tat:
2020-05-11T14:02:34+0200 <info> install_service_dependencies.js:17 () Installiere Abhängigkeiten im Ordner C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\xiaomi
npm ERR! code EBADPLATFORM
npm ERR! notsup Nicht unterstützte Plattform für gladys-xiaomi@: gewünscht {"os":"darwin,linux","arch":"x64,arm,arm64"} (aktuell: {"os":"win32","arch":"x64"})
npm ERR! notsup Gültiges OS: darwin,linux
npm ERR! notsup Gültige Arch: x64,arm,arm64
npm ERR! notsup Aktuelles OS: win32
npm ERR! notsup Aktuelle Arch: x64
npm ERR! Ein vollständiger Log dieser Ausführung kann gefunden werden in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_37_165Z-debug.log
2020-05-11T14:02:37+0200 <warn> install_service_dependencies.js:23 () Fehler: Befehl fehlgeschlagen: cd C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\xiaomi && npm install --unsafe-perm
npm ERR! code EBADPLATFORM
npm ERR! notsup Nicht unterstützte Plattform für gladys-xiaomi@: gewünscht {"os":"darwin,linux","arch":"x64,arm,arm64"} (aktuell: {"os":"win32","arch":"x64"})
npm ERR! notsup Gültiges OS: darwin,linux
npm ERR! notsup Gültige Arch: x64,arm,arm64
npm ERR! notsup Aktuelles OS: win32
npm ERR! notsup Aktuelle Arch: x64
npm ERR! Ein vollständiger Log dieser Ausführung kann gefunden werden in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_37_165Z-debug.log
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:19:5
at Array.forEach (<anonymous>)
at Object.<anonymous> (C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
status: 1,
signal: null,
output: [
null,
<Buffer >,
<Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 42 41 44 50 4c 41 54 46 4f 52 4d 0a 6e 70 6d 20 45 52 52 21 20 6e 6f 74 73 75 70 20 55 6e 73 75 70 70 6f ... 432 more
bytes>
],
pid: 6656,
stdout: <Buffer >,
stderr: <Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 42 41 44 50 4c 41 54 46 4f 52 4d 0a 6e 70 6d 20 45 52 52 21 20 6e 6f 74 73 75 70 20 55 6e 73 75 70 70 6f ... 432 more bytes>
}
2020-05-11T14:02:37+0200 <info> install_service_dependencies.js:17 () Installiere Abhängigkeiten im Ordner C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave
npm WARN deprecated wrench@1.5.9: wrench.js ist veraltet! Sie sollten fs-extra (https://github.com/jprichardson/node-fs-extra) für alle Operationen überprüfen, die Sie für wrench verwendet haben. Vielen Dank für die Nutzung in all den Jahren.
npm WARN deprecated request@2.88.2: request ist veraltet, siehe https://github.com/request/request/issues/3142
npm WARN deprecated natives@1.1.6: Dieses Modul stützt sich auf die Internals von Node.js und wird irgendwann brechen. Verwenden Sie es nicht und aktualisieren Sie auf graceful-fs@4.x.
npm WARN saveError ENOENT: keine solche Datei oder Verzeichnis, öffnen 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm notice Erstellte eine Sperrdatei als package-lock.json. Sie sollten diese Datei committen.
npm WARN enoent ENOENT: keine solche Datei oder Verzeichnis, öffnen 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm WARN ozwinstall-g2cmil Keine Beschreibung
npm WARN ozwinstall-g2cmil Kein Repository-Feld.
npm WARN ozwinstall-g2cmil Keine README-Daten
npm WARN ozwinstall-g2cmil Kein Lizenzfeld.
fs.js:35
} = primordials;
^
ReferenceError: primordials ist nicht definiert
at fs.js:35:5
at req_ (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm WARN rollback Rückgängigmachen von openzwave-shared@1.5.8 fehlgeschlagen (dies ist wahrscheinlich harmlos): EPERM: Operation nicht erlaubt, scandir 'C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave\node_modules'
npm WARN gladys-zwave@ Keine Beschreibung
npm WARN gladys-zwave@ Kein Repository-Feld.
npm WARN gladys-zwave@ Kein Lizenzfeld.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.5.8 preinstall: `node lib/install-ozw.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Fehlgeschlagen beim openzwave-shared@1.5.8 preinstall-Skript.
npm ERR! Dies ist wahrscheinlich kein Problem mit npm. Es gibt wahrscheinlich zusätzliche Protokollausgaben darüber.
npm ERR! Ein vollständiger Log dieser Ausführung kann gefunden werden in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_57_763Z-debug.log
2020-05-11T14:02:57+0200 <warn> install_service_dependencies.js:23 () Fehler: Befehl fehlgeschlagen: cd C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave && npm install --unsafe-perm
npm WARN deprecated wrench@1.5.9: wrench.js ist veraltet! Sie sollten fs-extra (https://github.com/jprichardson/node-fs-extra) für alle Operationen überprüfen, die Sie für wrench verwendet haben. Vielen Dank für die Nutzung in all den Jahren.
npm WARN deprecated request@2.88.2: request ist veraltet, siehe https://github.com/request/request/issues/3142
npm WARN deprecated natives@1.1.6: Dieses Modul stützt sich auf die Internals von Node.js und wird irgendwann brechen. Verwenden Sie es nicht und aktualisieren Sie auf graceful-fs@4.x.
npm WARN saveError ENOENT: keine solche Datei oder Verzeichnis, öffnen 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm notice Erstellte eine Sperrdatei als package-lock.json. Sie sollten diese Datei committen.
npm WARN enoent ENOENT: keine solche Datei oder Verzeichnis, öffnen 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm WARN ozwinstall-g2cmil Keine Beschreibung
npm WARN ozwinstall-g2cmil Kein Repository-Feld.
npm WARN ozwinstall-g2cmil Keine README-Daten
npm WARN ozwinstall-g2cmil Kein Lizenzfeld.
fs.js:35
} = primordials;
^
ReferenceError: primordials ist nicht definiert
at fs.js:35:5
at req_ (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm WARN rollback Rückgängigmachen von openzwave-shared@1.5.8 fehlgeschlagen (dies ist wahrscheinlich harmlos): EPERM: Operation nicht erlaubt, scandir 'C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave\node_modules'
npm WARN gladys-zwave@ Keine Beschreibung
npm WARN gladys-zwave@ Kein Repository-Feld.
npm WARN gladys-zwave@ Kein Lizenzfeld.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.5.8 preinstall: `node lib/install-ozw.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openzwave-shared@1.5.8 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_57_763Z-debug.log
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:19:5
at Array.forEach (<anonymous>)
at Object.<anonymous> (C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
status: 1,
signal: null,
output: [
null,
<Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 35 2e 38 20 70 72 65 69 6e 73 74 61 6c 6c 20 43 3a 5c 55 73 65 72 73 5c 74 6c 65 6d ... 241 more
bytes>,
<Buffer 6e 70 6d 20 57 41 52 4e 20 64 65 70 72 65 63 61 74 65 64 20 77 72 65 6e 63 68 40 31 2e 35 2e 39 3a 20 77 72 65 6e 63 68 2e 6a 73 20 69 73 20 64 65 70 ... 2649 more bytes>
],
pid: 19104,
stdout: <Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 35 2e 38 20 70 72 65 69 6e 73 74 61 6c 6c 20 43 3a 5c 55 73 65 72 73 5c 74 6c 65 6d ... 241 more bytes>,
stderr: <Buffer 6e 70 6d 20 57 41 52 4e 20 64 65 70 72 65 63 61 74 65 64 20 77 72 65 6e 63 68 40 31 2e 35 2e 39 3a 20 77 72 65 6e 63 68 2e 6a 73 20 69 73 20 64 65 70 ... 2649 more bytes>
}
npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint-plugin-jsx-a11y@^6.2.3 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint-plugin-react@^7.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN ts-enum-util@4.0.1 requires a peer of typescript@>= 2.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN ts-type@1.2.9 requires a peer of @types/bluebird@* but none is installed. You must install peer dependencies yourself.
npm WARN gladys-server@ No description
npm WARN gladys-server@ No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 2 packages from 2 contributors, removed 8 packages, updated 18 packages and audited 5410 packages in 80.326s
1 package is looking for funding
run `npm fund` for details
found 148 vulnerabilities (133 low, 3 moderate, 11 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
Und trotzdem läuft der Philips Hue-Service, der zum Beispiel einen Fehler aufweist, einwandfrei.
Hast du das Paket windows-build-tools auf deinem Rechner installiert?
npm install --global windows-build-tools
Zuerst einmal vielen Dank für deine Hilfe @VonOx.
Ja, ich hatte es tatsächlich installiert. Nur zur Sicherheit habe ich es neu gestartet, es gab ein Update, das war alles. Keine Fehler.
Ich habe eine neue Installation gestartet, denselben Fehler wie zuvor. Auch npm test!!
Nur zur Sicherheit, hier die Logdatei von npm test:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\tlemaistre\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'eslint'
1 verbose cli ]
2 info using npm@6.13.7
3 info using node@v12.16.0
4 verbose run-script [ 'preeslint', 'eslint', 'posteslint' ]
5 info lifecycle gladys-server@~preeslint: gladys-server@
6 info lifecycle gladys-server@~eslint: gladys-server@
7 verbose lifecycle gladys-server@~eslint: unsafe-perm in lifecycle true
8 verbose lifecycle gladys-server@~eslint: PATH: C:\Users\tlemaistre\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\node_modules\.bin;C:\Program Files (x86)\Google\Chrome\Application;C:\Program Files (x86)\Microsoft Office\Office16\;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jre-8.0.212.03-hotspot\bin;C:\Program Files (x86)\AdoptOpenJDK\jre-8.0.212.03-hotspot\bin;C:\Program Files\AdoptOpenJDK\jre-11.0.3.7-hotspot\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\PuTTY\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Git\cmd;C:\Users\tlemaistre\AppData\Local\Microsoft\WindowsApps;;C:\Users\tlemaistre\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\tlemaistre\AppData\Roaming\npm;C:\Program Files\Git\bin;C:\Users\tlemaistre\Documents\Gladys\Software\PowerShell\scripts;C:\Users\tlemaistre\Documents\Gladys\Software\gnuplot\gnuplotscript\powershell
9 verbose lifecycle gladys-server@~eslint: CWD: C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server
10 silly lifecycle gladys-server@~eslint: Args: [ '/d /s /c', 'eslint .' ]
11 silly lifecycle gladys-server@~eslint: Returned: code: 1 signal: null
12 info lifecycle gladys-server@~eslint: Failed to exec eslint script
13 verbose stack Error: gladys-server@ eslint: `eslint .`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Users\tlemaistre\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:321:20)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\tlemaistre\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:321:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid gladys-server@
15 verbose cwd C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server
16 verbose Windows_NT 10.0.17763
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\tlemaistre\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "eslint"
18 verbose node v12.16.0
19 verbose npm v6.13.7
20 error code ELIFECYCLE
21 error errno 1
22 error gladys-server@ eslint: `eslint .`
22 error Exit status 1
23 error Failed at the gladys-server@ eslint script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Ich habe das Gleiche auf meinem Windows (ich muss das untersuchen).
Puh, du beruhigst mich ^^
Ich warte auf deine Rückkehr!!
Also, für gladys-dev, damit die Tests durchlaufen, auf welchem System macht ihr das? Nicht auf einem Raspberry Pi, nehme ich an.
Hallo !!
Ich erlaube mir, noch einmal auf dieses Testproblem zurückzukommen, denn nach mehreren Recherchen finde ich nichts… und du @VonOx, hättest du vielleicht etwas gefunden?
@pierre-gilles, hättest du eine Idee? Falls nicht, und ich weiß, dass du Windows nicht verwendest, hättest du oder hättet ihr eine Lösung, um diese Tests durchzuführen? (Neuinstallation auf Raspi, auf Asustor NAS? Auf einer virtuellen Maschine? Oder könnte jemand anderes das übernehmen? Es wäre schade, wenn so eine kleine Ergänzung nicht in das nächste Update aufgenommen würde ^^
Nochmals vielen Dank im Voraus!!
Da wird man wohl noch etwas Geduld haben müssen @Terdious, ich hatte keine Zeit, mich damit zu beschäftigen
. Ich werde deinen PR auf Linux testen, um sicherzustellen, dass alles in Ordnung ist und @pierre-gilles es mergen kann.
Das wird dein Problem unter Windows nicht lösen, aber zumindest bringt es die Sache voran.