grizzelbee / iobroker.dysonairpurifier Goto Github PK
View Code? Open in Web Editor NEWioBroker Adapter to control to your dyson fan and air purifier devices such as Pure Cool, Hot & Cool and others.
License: MIT License
ioBroker Adapter to control to your dyson fan and air purifier devices such as Pure Cool, Hot & Cool and others.
License: MIT License
Bei mir funktioniert die 2FA Anmeldung immer noch nicht. Mehrmalige Neuinstallation des Adapters hat nix geholfen.
Betriebssystem des Brokers:Linux
Versionen von js-controller:3.2.16
Admin:5.1.23
Node:14.17.4
dyson-Adapter:0.9.2
Debug-Log vom Broker komplett vom Start des Adapters bis zum Fehler:
dysonairpurifier.0 | 2021-08-17 12:50:17.329 | error | getDyson2faMailError: Request failed with status code 401 |
---|---|---|---|
dysonairpurifier.0 | 2021-08-17 12:50:02.630 | error | [main()] error: undefined, stack: undefined |
dysonairpurifier.0 | 2021-08-17 12:50:02.224 | info | Querying devices from dyson API. |
dysonairpurifier.0 | 2021-08-17 12:50:02.118 | info | starting. Version 0.9.2 in /opt/iobroker/node_modules/iobroker.dysonairpurifier, node: v14.17.4, js-controller: 3.2.16 |
dysonairpurifier.0 | 2021-08-17 12:49:41.363 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
dysonairpurifier.0 | 2021-08-17 12:49:41.360 | info | terminating |
dysonairpurifier.0 | 2021-08-17 12:49:41.356 | info | Cleaned up everything... |
dysonairpurifier.0 | 2021-08-17 12:49:41.354 | info | Got terminate signal TERMINATE_YOURSELF |
, Konsolen Log des Browsers, das den Fehler im Admin anzeigt:
host.homebridge | 2021-08-17 12:49:58.882 | info | instance system.adapter.dysonairpurifier.0 started with pid 2811 |
---|---|---|---|
host.homebridge | 2021-08-17 12:49:58.707 | info | "system.adapter.dysonairpurifier.0" enabled |
host.homebridge | 2021-08-17 12:49:41.957 | info | instance system.adapter.dysonairpurifier.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) |
host.homebridge | 2021-08-17 12:49:41.356 | info | stopInstance system.adapter.dysonairpurifier.0 send kill signal |
host.homebridge | 2021-08-17 12:49:41.264 | info | stopInstance system.adapter.dysonairpurifier.0 (force=false, process=true) |
host.homebridge | 2021-08-17 12:49:41.241 | info | "system.adapter.dysonairpurifier.0" disabled |
Ich hoffe das sind ausreichend Informationen. Habe mich an die Infos im Readme gehalten und Anmeldedaten bei Dyson sind auch richtig
Ich habe den Button mit Firefox, Chrome und Edge unter Windows 10 versucht zu betätigen, das einzige was ich sehe ist ein Farbwechsel des Buttons beim überqueren mit dem Mauszeiger. Bei drücken passiert nichts.
Leider funktioniert bei mir seit gestern auch der Trick mit der geöffneten App nicht mehr. Die beim gestern einen Update.
Ich habes es gerade nocheinmal versucht jetzt funktioniert es mit geöffneter App wieder.
Dear Adapter developer,
Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.
Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16
Please add both versions to the adapter testing which is executed on commits.
If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!
On questions please talk to us at ioBroker/ioBroker.js-controller#1138
Please close the issue after you checked it.
Thank you very much for your support!
Hallo,
erstmal vielen Dank für die Arbeit. Was der Apdater schon kann ist sehr gut.
Das lesen der ganzen Werte läuft Problemlos.
Beim kauf von dem Teil habe ich nicht daran gedacht das mal irgendwann in ioBroker einzubinden.
Aber das lief dann bei einem "mal schauen ob's geht Test" so easy, dass ich jetzt doch gerne die ein oder andere Funktion darauf aufbauen würde.
Leider habe ich das Problem, dass das Senden der Objekte für den Heat Mode nicht funktioniert.
Ich verändere die Objekte über Admin/Objekte.
"MainPower" und "NightMode" lassen sich ohne Probleme schalten (Gerät reagiert auf die gesendeten Befehle und der eingetragene Objektwert bleibt stehen).
Bei "HeaterMode" und "TemperatureTarget" reagiert das Gerät nicht auf Änderungen der Objektes und der eingetragene Wert wird, abhängig vom Polling Interval, mit dem Gerätewert überschrieben.
Laut Log wird der Steuerbefehl bei Änderung der Heat-Objekte, wie bei den anderen, an das Gerät gesendet.
dysonairpurifier.0 | 2021-04-13 18:35:50.306 | info | (1012) SENDING this data to device (A1A-EU-MNA5135A): {"hmax":"0563"}
dysonairpurifier.0 | 2021-04-13 18:35:46.646 | info | (1012) SENDING this data to device (A1A-EU-MNA5135A): {"hmod":"ON"}
Wenn der Heat Mode über die Handy App eingeschaltet wird oder die Solltemperatur geändert, wird der Wert von ioBroker korrekt gelesen.
Da das ganze im Prinzip Funktioniert komme ich hier nicht weiter und wäre für Hilfe dankbar.
Falls weitere Infos benötigt werden oder irgendwelche Tests, kein Problem.
Eine Fehlerquelle kann ich meinerseits leider nicht ganz ausschließen.
Grüße
Jan
Hello!
Thanks for writing this adapter - having just bought a TP04 I thought I would install it on my Pi running iobroker.
All goes well until I set the Country to United Kingdom: when I save and close then reopen the settings the country has changed to United States. Do you have any advice for where I can start to look for solutions?
Many thanks
James
Hi,
i just installed the latest version.
After installation i have entered the Dyson Account Information, selected "Deutschland" from the drop down and left Celsius and 30 for the polling as is.
The adapter turns yellow and in the Logs there are this error messages.
`
dysonairpurifier.0 | 2020-10-14 15:28:45.816 | error | at process._tickCallback (internal/process/next_tick.js:68:7) |
---|---|---|---|
dysonairpurifier.0 | 2020-10-14 15:28:45.816 | error | at dysonAPILogIn.then.catch (C:\iobroker\SmartHome\node_modules\iobroker.dysonairpurifier\main.js:461:40) |
dysonairpurifier.0 | 2020-10-14 15:28:45.816 | error | (12504) [main()] error: Cannot read property 'status' of undefined, stack: TypeError: Cannot read property 'status' of undefined |
dysonairpurifier.0 | 2020-10-14 15:28:45.815 | error | at TLSSocket._finishInit (_tls_wrap.js:636:8) |
dysonairpurifier.0 | 2020-10-14 15:28:45.815 | error | at TLSSocket.emit (events.js:198:13) |
dysonairpurifier.0 | 2020-10-14 15:28:45.815 | error | at TLSSocket.onConnectSecure (_tls_wrap.js:1058:34) |
dysonairpurifier.0 | 2020-10-14 15:28:45.815 | error | (12504) Error during dyson API login:Error: unable to verify the first certificate, Callstack: Error: unable to verify the first certificate |
dysonairpurifier.0 | 2020-10-14 15:28:45.748 | info | (12504) starting. Version 0.4.0 in C:/iobroker/SmartHome/node_modules/iobroker.dysonairpurifier, node: v10.17.0, js-controller: 3.1.6 |
dysonairpurifier.0 | 2020-10-14 15:27:42.474 | info | (4748) Terminated (ADAPTER_REQUESTED_TERMINATION): Terminate Adapter until Configuration is completed |
dysonairpurifier.0 | 2020-10-14 15:27:42.472 | error | (4748) Error during config validation: Given adapter config is invalid. Please fix. |
dysonairpurifier.0 | 2020-10-14 15:27:42.463 | info | (4748) starting. Version 0.4.0 in C:/iobroker/SmartHome/node_modules/iobroker.dysonairpurifier, node: v10.17.0, js-controller: 3.1.6 |
`
After restarting the adapter, the same appeares in the log files.
I validated the credentials using the login on the dyson.com/de Webseite.
Hallo ich habe den Dyson Pure Cool Link Tower (TP02, Produkttyp 475) und kann leider nicht alle Funktionen Steuern.
Über den Adapter Version 0.8.2 kann ich FanMode noch nicht Ein bzw. Aus schalten.
Auch kann ich nicht FanSpeed von Manuell (z.B. 0001) auf Auto stellen.
Von Auto auf Manuell (z.B. 0001) kann ich stellen.
Leider kann ich in den Log's kein Fehler entdecken. :-(
Gruß Phillipp
Thank you for your effort with creating this adapter for the community. I have recently bought the TP07. Can you please add support for it?
TIA,
Michael
dysonairpurifier.0 | 2021-05-11 09:16:31.848 | warn | (8418) Please open an Issue on github if you think your device should be supported.
-- | -- | -- | --
dysonairpurifier.0 | 2021-05-11 09:16:31.847 | warn | (8418) Device with serial number [K1Y-EU-XXXXXXXX] not added, hence it is not supported by this adapter. Product type: [438E]
hallo
hab durch zufall deinen adapter gefunden, großartig!
bitte füge doch AT in den Countrycode mit ein, damit könnte ich ihn testen.
in der Länderauswahl gibt es nur Deutschland :-/
wirft direkt haufenweiße fehlermeldungen wie zB
`
`
hab einen humidify+cool
We'll want to figure out what kind of data is available describing the current state and changes in oscillation of the Dyson devices.
Hallo,
Danke die Neue Version 0.9.5 funktioniert. Aber zumindest mir gefällt die aktuelle wert Darstellung von Temperature nicht.
Es ist nur noch eine 4 stellige zahl ohne punkt und Einheit. Ich bleibe erst mal bei der 0.9.2 Version.
MFG
Phillipp
`
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | at async dysonAirPurifier.main (C:\ioBroker\development\node_modules\iobroker.dysonairpurifier\main.js:522:13) |
---|---|---|---|
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | at C:\ioBroker\development\node_modules\iobroker.dysonairpurifier\main.js:547:61 |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | at JSON.stringify () |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | --- property 'socket' closes the circle |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | | property '_httpMessage' -> object with constructor 'ClientRequest' |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | --> starting at object with constructor 'TLSSocket' |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | --- property 'socket' closes the circle, stack: TypeError: Converting circular structure to JSON |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | | property '_httpMessage' -> object with constructor 'ClientRequest' |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | --> starting at object with constructor 'TLSSocket' |
dysonairpurifier.0 | 2020-10-29 11:40:38.115 | error | (1300) [main()] error: Converting circular structure to JSON |
dysonairpurifier.0 | 2020-10-29 11:40:38.111 | error | (1300) [error.response.headers]: [object Object] |
dysonairpurifier.0 | 2020-10-29 11:40:38.111 | error | (1300) [error.response.status]: 401 |
dysonairpurifier.0 | 2020-10-29 11:40:38.111 | error | (1300) [error.response.data]: [object Object] |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at processTicksAndRejections (internal/process/task_queues.js:84:21) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at endReadableNT (_stream_readable.js:1220:12) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at IncomingMessage.emit (events.js:327:22) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at IncomingMessage.handleStreamEnd (C:\ioBroker\development\node_modules\iobroker.dysonairpurifier\node_modules\axios\lib\adapters\http.js:244:11) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at settle (C:\ioBroker\development\node_modules\iobroker.dysonairpurifier\node_modules\axios\lib\core\settle.js:17:12) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | at createError (C:\ioBroker\development\node_modules\iobroker.dysonairpurifier\node_modules\axios\lib\core\createError.js:16:15) |
dysonairpurifier.0 | 2020-10-29 11:40:38.110 | error | (1300) Error during dyson API login:Error: Request failed with status code 401, Callstack: Error: Request failed with status code 401 |
dysonairpurifier.0 | 2020-10-29 11:40:37.810 | debug | (1300) Signing in into dyson API. |
dysonairpurifier.0 | 2020-10-29 11:40:37.809 | debug | (1300) System secrect resolved. Using for decryption. |
dysonairpurifier.0 | 2020-10-29 11:40:37.805 | debug | (1300) pollInterval: 30 |
dysonairpurifier.0 | 2020-10-29 11:40:37.804 | debug | (1300) Locale: de |
dysonairpurifier.0 | 2020-10-29 11:40:37.804 | debug | (1300) Entering Function [configIsValid] |
dysonairpurifier.0 | 2020-10-29 11:40:37.793 | info | (1300) starting. Version 0.5.1 in C:/ioBroker/development/node_modules/iobroker.dysonairpurifier, node: v12.18.3, js-controller: 3.1.6 |
` |
HAllo,
leider hab ich ein kleines Problem,
mit dem Update gingen die Datenpunkte nicht mehr - ich hatte mich dazu entschieden, den Adapter neu zu starten - kein Besserung.
Dann hab ich den Adapter gestoppt und den Objekte-baum gelöscht (dachte dieser erstellt sich dann von neu wieder?!?)
Jetzt hab ich keine Objekte-Baum mehr - Adapter deinstall + Instanz deinstall, danach alles wieder drauf - leider Adapter rot und kein Objekte-Baum...
(Passwort und @ nig mal neue eingegeben und die stimmen auch)
Sorry, hab mir hier irgendwas zerschossen?!?!
Der aktuelle git, stand 10.2 23 Uhr, funktioniert bei mir nicht mehr.
meine Zugangsdaten stimmen, mein Passwort hat Sonderzeichen.
hier die Fehlermeldungen
`2021-02-10 22:51:25.565 - error: dysonairpurifier.0 (1768) Error during dyson API login:Error: Request failed with status code 401, Callstack: Error: Request failed with status code 401
at createError (/opt/iobroker/node_modules/axios/lib/core/createError.js:16:15)
at settle (/opt/iobroker/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/lib/adapters/http.js:260:11)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
2021-02-10 22:51:25.566 - error: dysonairpurifier.0 (1768) Error: Unable to authenticate user! Your credentials are invalid. Please double check and fix them. This adapter has a maximum Pwd length of 32 chars.
2021-02-10 22:51:25.569 - error: dysonairpurifier.0 (1768) [main()] error: Converting circular structure to JSON
--> starting at object with constructor 'TLSSocket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle, stack: TypeError: Converting circular structure to JSON
--> starting at object with constructor 'TLSSocket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle
at JSON.stringify ()
at /opt/iobroker/node_modules/iobroker.dysonairpurifier/main.js:724:63
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async dysonAirPurifier.main (/opt/iobroker/node_modules/iobroker.dysonairpurifier/main.js:692:13)
2021-02-10 22:51:58.598 - info: host.krobis-iotvm iobroker url`
Hallo,
Bekomme einfach keine Email. In den LOGs steht die Fehlermeldung „ getDyson2faMailError: unable to verify the first certificate“
Habe ein Dyson Account und benutze die neueste Version.
Kann mir jemand helfen?
Serwus
erstmal vielen Dank für dein Modul. Mega.
ich hatte zuviel via HAM das Homebridge-Dyson-Pure-Cool Modul installiert bzw läuft es aktuell noch parallel zu deinem Modul.
Mir sind einpaar Sachen aufgefallen
Ich habe dir auch mal Screenshots angehängt. zum einen aus deinem Modul und zum anderen aus dem HAM Modul.
Weiters habe ich 5 Datenpunkte ohne Bezeichnung - siehe Screenshot
get temperature unit setting from Admin instead of using own configuration or use it at least as default.
Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!
Hi,
ich habe gerade die Version 0.9.0 installiert und freue mich, dass der Adapter nun wieder läuft.
Leider vermisse ich noch weiterhin den Datenpunkt im ioBroker "MainPower".
Ich kann das Gerät steuern, jedoch nur, wenn es bereits eingeschaltet ist.
Weiterhin funktioniert leider nicht der Auto-Mode. Ich kann den FanSpeed ändern, "Auto" hat jedoch keine Auswirkung.
Im Falle "Auto" wird laut Log "{"fnsp":"AUTO","auto":"ON"}" an das Gerät gesendet.
JS-Controller: 3.2.16
Firmware Dyson: 21.04.03
Gerät: Dyson Pure Hot+Cool Link (HP02, ProductType 455)
I have installed the adapter in my Docker-based ioBroker installation and performed basic configuration through the Web UI (Dyson login credentials, region etc.). The adapter instance fails to start with these messages in the (debug) log:
2020-10-29 10:04:30.566 - info: host.9bac9de985e1 "system.adapter.dysonairpurifier.0" enabled
2020-10-29 10:04:30.572 - info: host.9bac9de985e1 instance system.adapter.dysonairpurifier.0 started with pid 617
2020-10-29 10:04:30.870 - debug: dysonairpurifier.0 (617) Redis Objects: Use Redis connection: 127.0.0.1:9001
2020-10-29 10:04:30.882 - debug: dysonairpurifier.0 (617) Objects client ready ... initialize now
2020-10-29 10:04:30.883 - debug: dysonairpurifier.0 (617) Objects create System PubSub Client
2020-10-29 10:04:30.883 - debug: dysonairpurifier.0 (617) Objects create User PubSub Client
2020-10-29 10:04:30.883 - debug: dysonairpurifier.0 (617) Objects client initialize lua scripts
2020-10-29 10:04:30.886 - debug: dysonairpurifier.0 (617) Objects connected to redis: 127.0.0.1:9001
2020-10-29 10:04:30.888 - debug: dysonairpurifier.0 (617) objectDB connected
2020-10-29 10:04:30.889 - debug: dysonairpurifier.0 (617) Redis States: Use Redis connection: 127.0.0.1:9000
2020-10-29 10:04:30.890 - debug: dysonairpurifier.0 (617) States create User PubSub Client
2020-10-29 10:04:30.891 - debug: dysonairpurifier.0 (617) States create System PubSub Client
2020-10-29 10:04:30.893 - debug: dysonairpurifier.0 (617) States connected to redis: 127.0.0.1:9000
2020-10-29 10:04:30.893 - debug: dysonairpurifier.0 (617) statesDB connected
2020-10-29 10:04:31.465 - info: dysonairpurifier.0 (617) starting. Version 0.5.1 in /opt/iobroker/node_modules/iobroker.dysonairpurifier, node: v10.23.0, js-controller: 3.1.6
2020-10-29 10:04:31.474 - debug: dysonairpurifier.0 (617) Entering Function [configIsValid]
2020-10-29 10:04:31.474 - debug: dysonairpurifier.0 (617) Locale: de
2020-10-29 10:04:31.474 - debug: dysonairpurifier.0 (617) pollInterval: 30
2020-10-29 10:04:31.475 - debug: dysonairpurifier.0 (617) System secrect resolved. Using for decryption.
2020-10-29 10:04:31.476 - debug: dysonairpurifier.0 (617) Signing in into dyson API.
2020-10-29 10:04:31.518 - silly: dysonairpurifier.0 (617) States system redis pmessage system.adapter.dysonairpurifier.0.logLevel/system.adapter.dysonairpurifier.0.logLevel:{"val":"silly","ack":true,"ts":1603962271496,"q":0,"from":"system.adapter.dysonairpurifier.0","lc":1603962271496}
2020-10-29 10:04:31.751 - error: dysonairpurifier.0 (617) Error during dyson API login:Error: Request failed with status code 401, Callstack: Error: Request failed with status code 401
at createError (/opt/iobroker/node_modules/iobroker.dysonairpurifier/node_modules/axios/lib/core/createError.js:16:15)
at settle (/opt/iobroker/node_modules/iobroker.dysonairpurifier/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/iobroker.dysonairpurifier/node_modules/axios/lib/adapters/http.js:244:11)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
2020-10-29 10:04:31.752 - error: dysonairpurifier.0 (617) [error.response.data]: [object Object]
2020-10-29 10:04:31.752 - error: dysonairpurifier.0 (617) [error.response.status]: 401
2020-10-29 10:04:31.752 - error: dysonairpurifier.0 (617) [error.response.headers]: [object Object]
2020-10-29 10:04:31.756 - error: dysonairpurifier.0 (617) [main()] error: Converting circular structure to JSON, stack: TypeError: Converting circular structure to JSON
at JSON.stringify ()
at dysonAPILogIn.then.catch (/opt/iobroker/node_modules/iobroker.dysonairpurifier/main.js:547:61)
at process._tickCallback (internal/process/next_tick.js:68:7)
Hallo,
Ich habe heute mein IOBroker auf js-controller: 3.3.15 upgedatet.
Nach dem update habe ich die Info in meinem Log gehabt.
(23949)` [main()] error: undefined, stack: undefined
Ich habe dann versucht eine neue 2-Faktor-Authentifizierungs E-Mail anzufordern.
In den Log's bekomme ich dann die Meldung
(23949) getDyson2faMailError: unable to verify the first certificate
wenn du das auch noch brauchst Node.js: v12.22.4
NPM: 6.14.14
Dyson adapter ver. 0.9.1
MFG
Phillipp
I operate my Dyon in Switzerland and would want to select this country code :)
I also learned (the hard way) that requesting the 2FA code only works with a country selected. Would be good to mention that somehow.
Hallo egal ober über die iobroker Webseite oder der Kommando Zeile die Installation bricht immer ab:
`$ ./iobroker url "https://github.com/Grizzelbee/ioBroker.dysonairpurifier.git" --debug
install Grizzelbee/ioBroker.dysonairpurifier#f8d4da3beed3635d25c89ba6740378a89c01de77
NPM version: 6.14.11
npm install Grizzelbee/ioBroker.dysonairpurifier#f8d4da3beed3635d25c89ba6740378a89c01de77 --loglevel error --prefix "/opt/iobroker" (System call)
npm ERR! premature close
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2021-03-20T10_26_23_405Z-debug.log
ERROR: host.iobroker1 Cannot install Grizzelbee/ioBroker.dysonairpurifier#f8d4da3beed3635d25c89ba6740378a89c01de77: 1
ERROR: process exited with code 25An der Konsole sieht man auch warum:
iobroker@iobroker1:/opt/iobroker$ npm install ioBroker.dysonairpurifier
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.dysonairpurifier - Not found
npm ERR! 404
npm ERR! 404 'ioBroker.dysonairpurifier@latest' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404 1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2021-03-20T10_30_39_980Z-debug.log
Bitte ändere doch bei Gelegenheit die Anleitung entsprechend ab:
npm install iobroker.dysonairpurifier`
Per git bekomme ich es gar nicht hin, weil der Name ein großes "B" beinhaltet.
AirQualityIndex does not work with older devices which make use of dust-datafield instead of PM25, PM10, etc.
Adapter needs to detect which one is used.
Habe heute das Gerät in Betrieb genommen und bekomme folgende Meldung im Log:
dysonairpurifier.0 2021-04-14 11:46:16.190 warn (16525) Please open an Issue on github if you think your device should be supported.
dysonairpurifier.0 2021-04-14 11:46:16.189 warn (16525) Device with serial number [J8F-EU-PAA6314A] not added, hence it is not supported by this adapter. Product type: [527E]
HAllo, ich habe über die URL den Adapter mit der V 0.7. installiert - leider taucht der Adapter nicht unter den INSTANZEN auf.
Unter Adapter taucht der Dyson auf mit der Vers. 0.7. (installiert)
Analgorithm for this needs to be figured out.
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
After the installation in ioBroker I cannot finish the registration process because the buttons to request the code do not react. According to the web console, the following script cannot be loaded either:
/adapter/dysonairpurifier/dyson-utils.js
Version: 0.9.1
Nabend!
Ich bekomme ständig den Fehler, der mülllt mir das Log zu.
Kann ich daran was ändern?
V.0.9.1 ist installiert.
Viele Grüße
Ich kann keine Verbindung zu meinem Dyson Pure Cool Link™ Turmluftreiniger aufbauen. Über die Dyson Cloud ist er aber erreichbar - die gleichen Zugangsdaten. Der ioBroker Adapter wird nicht gestartet. Ich verwende keine 2FA weil ich auf der Seite dyson.at keine Möglichkeit gefunden habe, sie zu konfigurieren. Wie kann ich herausfinden, wo das Problem liegt? Da ich über die Dyson Cloud auf das Gerät zugreifen soll, ist es wahrscheinlich nicht notwendig, die IP Adresse in der Konfiguration einzugeben. Es gibt für sie auch keinen Eingabefeld im Adapter.
Ich ebenfalls den TP02 und finde es interessant, dass bei dir mehr Sensoren angezeigt werden, als bei mir. Ich kann lediglich auf Dust und VOC zugreifen, was die Luftverschmutzung betrifft. Der Datenpunkt DustIndex ist bei mir aber ohne Funktion. Steht immer auf Good(0). Wie ist das bei dir? Ändern sich Dir die Werte für Feinstaub und DustIndex?
https://forum.iobroker.net/post/614191
I have tried to Install the Adapter but it wont work
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli 'Grizzelbee/ioBroker.dysonairpurifier#master',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--prefix',
1 verbose cli '/opt/iobroker'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session e54f7adef000d063
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 verbose prepareGitDep github:Grizzelbee/ioBroker.dysonairpurifier#master: installing devDeps and running prepare script.
8 silly fetchPackageMetaData error for github:Grizzelbee/ioBroker.dysonairpurifier#master premature close
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 2424ms
11 verbose stack Error: premature close
11 verbose stack at PassThrough.onclose (/usr/lib/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
11 verbose stack at PassThrough.emit (events.js:326:22)
11 verbose stack at emitCloseNT (internal/streams/destroy.js:69:8)
11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:83:21)
12 verbose cwd /opt/iobroker
13 verbose Linux 4.19.0-16-amd64
14 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "Grizzelbee/ioBroker.dysonairpurifier#master" "--loglevel" "error" "--prefix" "/opt/iobroker"
15 verbose node v12.22.0
16 verbose npm v6.14.11
17 error premature close
18 verbose exit [ 1, true ]
hallo und erstmal vielen dank für deinen tollen adapter und deine tolle Arbeit.
verwende die aktuelle version 0.7.5
und habe einen Dyson Pure Humidify+Cool
mir ist aufgefallen das in der aktuellen version die werte doppelt geschrieben werden, also bei der Lüftergeschwindigkeit steht "0040,0040"
die ist zB bei fanstatus, AutoHumidificationTarget, AutomaticMode, Carbonfilter, CleanDurationRemaining, ContinuousMonitoring uvm der fall.
hey
zuerst hat meine Freundin mich darauf hingewiesen das sich der Lüfter nicht automatisch einschalten - hab da ein blockly das den Lüfter steuert.
nachdem ich mir einen neuen 2fa code geholt habe, bekam ich dann die angeführten Fehlermeldungen.
hab nur einen neuen 2fa angefordert - sonst nix geändert aber auf einmal waren alle Daten weg.
habs jetzt auch mit einem dorngrade auf 0.9.3 probiert aber auch hier jetzt der selbe Fehler.
2021-08-21 14:13:33.981 - �[31merror�[39m: dysonairpurifier.0 (10214) Invalid configuration provided: eMail address is missing. Please enter your eMail address.
2021-08-21 14:13:33.982 - �[31merror�[39m: dysonairpurifier.0 (10214) Invalid configuration provided: password is missing. Please enter your password.
2021-08-21 14:13:33.982 - �[31merror�[39m: dysonairpurifier.0 (10214) Invalid configuration provided: Country is missing. Please select your country.
2021-08-21 14:13:33.982 - �[31merror�[39m: dysonairpurifier.0 (10214) Invalid configuration provided: Temperature unit is missing. Please select a temperature unit.
2021-08-21 14:13:33.983 - �[31merror�[39m: dysonairpurifier.0 (10214) Invalid configuration provided: Poll interval is not valid. Please enter a valid poll interval (> 0s).
2021-08-21 14:13:33.983 - �[33mwarn�[39m: dysonairpurifier.0 (10214) This adapter has no or no valid configuration. Starting anyway to give you the opportunity to configure it properly.
Systeminfo:
Adapter Version: 0.9.4
NODE.JS: V14.17.5
NPM: 6.14.14
Admin: 5.1.25
JS Controller: 3.3.15
Debian 11
bis vorgestern lief alles wunderbar auch mit der 0.9.3er. bzw mit der 0.9.3er lief der Adapter wieder und hat auch den Lüfter problemlos gesteuert.
ps: die 2fa funktioniert soweit ich das sehe einwandfrei, wenn ich die mail anfordere bekommt der Adapter den Challenge code und ich bekomme auch die e-mail mit dem code.
Think about keeping the old values active when device is turned off instead of overwriting them with NULL/NaN values.
Maybe as an configurable option.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.