ta2k / iobroker.bwt Goto Github PK
View Code? Open in Web Editor NEWioBroker Adapter for BWT devices
License: MIT License
ioBroker Adapter for BWT devices
License: MIT License
Wenn ich es richtig verstanden habe dann ist die Abfrage per IP nicht mehr möglich?
Die Connection via App scheint bei mir zu funktionieren... ich finde jedoch nicht den Status des externen Wassersensors, der AQA Stop Bodenfeuchtigkeitssensor.
Ist der nicht sichtbar?
Ich vermute, wenn BWT seitig etwas nicht erreichbar ist, werden folgende Fehler vom Adapter generiert.
Müsste man die evtl. abfangen?
`
bwt.0 | 2022-08-12 00:49:40.067 | error | {"Meta":{"Code":"14","RequestId":"1f31a47b-7dd2-428a-bbb9-3c77eebfd503","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
---|---|---|---|
bwt.0 | 2022-08-12 00:49:40.066 | error | No Data in response |
bwt.0 | 2022-08-12 00:39:36.908 | error | {"Meta":{"Code":"14","RequestId":"73d73dd2-a01d-4d94-9227-ca95526015ef","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-08-12 00:39:36.906 | error | No Data in response |
bwt.0 | 2022-08-12 00:19:29.940 | error | Error: getaddrinfo ENOTFOUND api.bwt-group.com |
bwt.0 | 2022-08-12 00:19:29.920 | error | https://api.bwt-group.com/api/perla/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/telemetry |
` |
Habe es nicht geprüft, aber gefühlt einmal pro Woche kommen diese Meldungen.
node: v14.19.0, js-controller: 4.0.10
bwt.0 | 2022-02-18 15:43:31.374 | info | State value to set for "bwt.0.XXXXXXXXXXXXXXXX.general.DeviceParameter.0" has to be type "string" but received type "number" |
---|---|---|---|
bwt.0 | 2022-02-18 15:43:28.185 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:43:28.182 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:42:28.499 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:42:28.466 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:41:28.207 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:41:28.194 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:40:28.180 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:40:28.161 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:39:28.201 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
bwt.0 | 2022-02-18 15:39:28.177 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
Mit der aktuellen Version (09.02.2022) gibt es folgendes Problem:
Die Fehler tauchen immer nach ca 1h nach starten der Instanz auf.
Meine Konfiguration ist:
Lokale Abfrage: 60 sek.
Cloud Abfrage: 2 min.
`
0 | 2022-01-09 18:14:24.424 | info | {"Meta":{"Code":"14","RequestId":"ed398125-773e-4d8b-b286-4188c0699dc2","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
---|---|---|---|
bwt.0 | 2022-01-09 18:14:24.424 | error | No Data in response |
bwt.0 | 2022-01-09 18:14:24.423 | debug | {"Meta":{"Code":"14","RequestId":"ed398125-773e-4d8b-b286-4188c0699dc2","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:24.166 | info | {"Meta":{"Code":"14","RequestId":"69ebf8f3-f4b7-46ad-9de3-1e41d4010d82","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:24.165 | error | No Data in response |
bwt.0 | 2022-01-09 18:14:24.165 | debug | {"Meta":{"Code":"14","RequestId":"69ebf8f3-f4b7-46ad-9de3-1e41d4010d82","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.873 | info | {"Meta":{"Code":"14","RequestId":"809f4b81-48d8-41ea-8bd1-81f5c580cae0","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.872 | error | No Data in response |
bwt.0 | 2022-01-09 18:14:23.871 | debug | {"Meta":{"Code":"14","RequestId":"809f4b81-48d8-41ea-8bd1-81f5c580cae0","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.856 | debug | Cannot extract empty: dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.notifications |
bwt.0 | 2022-01-09 18:14:23.855 | debug | {"Meta":{"Code":"14","RequestId":"ed20c113-2418-487a-b2a0-48abdbac73ba","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.848 | debug | Cannot extract empty: dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.waterconsumption |
bwt.0 | 2022-01-09 18:14:23.847 | debug | {"Meta":{"Code":"14","RequestId":"45577930-af0f-4ea5-8e2f-1c774bcfd799","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.845 | debug | Cannot extract empty: dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.telemetry |
bwt.0 | 2022-01-09 18:14:23.844 | debug | {"Meta":{"Code":"14","RequestId":"69e3a05d-c129-4c0c-847e-6d4a51aad5c7","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.839 | debug | Cannot extract empty: dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.saltConsumption |
bwt.0 | 2022-01-09 18:14:23.838 | debug | {"Meta":{"Code":"14","RequestId":"8bb2359c-dc80-45c2-9eeb-8b0a915fe611","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.818 | debug | Cannot extract empty: dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.limeFiltered |
bwt.0 | 2022-01-09 18:14:23.817 | debug | {"Meta":{"Code":"14","RequestId":"e6b04d93-c68d-4527-a4bd-47338fba0a9f","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:14:23.500 | debug | https://api.bwt-group.com/api/perla/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/saltConsumption?from=2021-10-01&aggregation=day&to=2022-01-09 |
bwt.0 | 2022-01-09 18:14:23.498 | debug | https://api.bwt-group.com/api/device/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/waterconsumption/daily?since=2021-10-01&until=2022-01-09 |
bwt.0 | 2022-01-09 18:14:23.496 | debug | https://api.bwt-group.com/api/mobilebackend/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/limeFiltered |
bwt.0 | 2022-01-09 18:14:23.494 | debug | https://api.bwt-group.com/api/device/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/notifications?orderAsc=true |
bwt.0 | 2022-01-09 18:14:23.491 | debug | https://api.bwt-group.com/api/perla/dc775c8a-88f8-4ca8-bac7-a0de22ee61b2/telemetry |
bwt.0 | 2022-01-09 18:14:21.362 | debug | {"aktuellerDurchfluss":"0","aktuellerDurchflussProzent":"0","durchflussHeute":"123","durchflussMonat":"3033","durchflussJahr":"30","RegeneriemittelNachfuellenIn":"98","RegeneriemittelVerbleibend":"100"} |
bwt.0 | 2022-01-09 18:14:21.342 | debug | {"aktuell":"0"} |
bwt.0 | 2022-01-09 18:13:21.128 | debug | {"aktuellerDurchfluss":"0","aktuellerDurchflussProzent":"0","durchflussHeute":"123","durchflussMonat":"3033","durchflussJahr":"30","RegeneriemittelNachfuellenIn":"98","RegeneriemittelVerbleibend":"100"} |
bwt.0 | 2022-01-09 18:13:21.109 | debug | {"aktuell":"0"} |
bwt.0 | 2022-01-09 18:12:24.374 | info | {"Meta":{"Code":"14","RequestId":"7a36929c-6b3e-4dc2-b112-04eb88b3b756","Message":"The applikation is not allowed to access this service. code: (14)","Details":null,"OriginalErrorMessage":"The application is not allowed to access this service.","StatusCode":500,"Type":"ErrorMessage"}} |
bwt.0 | 2022-01-09 18:12:24.373 | error | No Data in response |
`
The main README.md at repository root sould be written in pure english- Of course ist ok to add a README-de.md (or Readmes for other languages. Und ist ok too to add a link insode the main README.md
If you want to prodvide documentation for users those files should be located at doc directory.
And please a omplete changelog to README.md. Users should be able to resd what has changes between current statble and current (latest) release
Ich habe folgenden Wunsch:
Integrierung BWT E1 Einhebelfilter - BWT App (Cloud) Abfrage
Im Log sind diese Einträge im eingestellten Abfrageintervall des Adapters zu finden.
Dies ist der Filter meines Trinkwassernetzes, dieser hat keine Verbindung oder ähnliches.
Er ist nur über die BWT Cloud registriert.
Wünschenswert wäre, wenn auch dies Daten angezeigt werden, z.B. "Restzeit bis Filtertausch (Service)".
Zur Abfrage der Säulendetails (Restkapazität, Status, Laufzeit der Regeneration, Regenerationsschritt, Absaugung der Sole) können die Infos aus "/info/updateDetails2" verwendet werden.
Diese Details können z.B. bei Ein-Säulen-Anlagen verwendet werden um manuell die Regeneration zu starten.
Somit kommt man nicht in die Situation das die Restkapazität erschöpft ist und nur "hartes" Wasser zur Verfügung steht.
Zum Auslesen der Details habe ich bei mir folgendes in der "main.js" ab Zeile 245 eingetragen.
(Ich bin kein Entwickler/Programmierer und es war ein Versuch auf gut Glück.)
{
path: "updateDetails2",
url: "https://" + this.config.localIp + "/info/updateDetails2",
},
Hierbei ergeben sich dann diese zusätzliche Objekte.
durchfluss = aktueller Durchfluss (l/h)
menge = Solezähler - Zuletzt abgesaugte Menge (ml)
restkap1 = Restkapazität Säule 1 (Angabe in Liter)
restkap2 = Restkapazität Säule 2 (Angabe in Liter)
restlz1 = Restlaufzeit der Regeneration Säule 1 (Angabe in Minuten)
restlz2 = Restlaufzeit der Regeneration Säule 2 (Angabe in Minuten)
Saugrate = Solezähler - Aktuelle Saugrate (ml/s)
step1 = Regenerationsschritt Säule 1 (Betrieb, Rückspülen, Gesalzen, Verdängen, ...)
step2 = Regenerationsschritt Säule 2 (Betrieb, Rückspülen, Gesalzen, Verdängen, ...)
Evtl. wäre dies auch für andere Nutzer hilfreich und könnte mit in die nächste Version einfließen.
Wenn eine Fehlermeldung im Gerät generiert wird, wird das entsprechende Datenobjekt nicht aktualisiert.
Beispiel:
bwt.0.dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.general.State
bwt.0.dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.general.StateBody
bwt.0.dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.general.StateCode
bwt.0.dc775c8a-88f8-4ca8-bac7-a0de22ee61b2.general.StateTitle
vielleicht sind auch weitere Datenobjekte davon betroffen. Sobald die Instanz neu gestartet wird, wird einmalig der aktuelle Wert ausgelesen.
Urprüngliches Update Intervall war auf 10 min. Aber auch 1 min oder 2 min macht keinen Unterschied.
Mit dem Lecksensor kann ich dieses Verhalten gut reproduzieren.
Auch wenn der Fehler quittiert wird und wieder Status "Alles ok" ist , wird das Datenobjekt auch nicht aktualisiert.
Die Daten/Ordner "Wasserverbrauch" und "actualizedata" werden nicht mehr abgefragt/angezeigt...
Die Adapter Einstellungen wurden kontrolliert, das Passwort stimmt.
Über meine Benutzeroberfläche der FritzBox 7590 komme ich über den den Browser auf die Anlage per WEB-Zugriff.
Adresse:
http://192.168.178.116:6080/vnc.html?resize=scale&autoconnect=true&show_dot=true
Der Login funktioniert mit dem Passwort, das auch in den Adaptereinstellungen oben hinterlegt ist, einwandfrei.
Die Abfrage per App hingegen funktioniert sehr gut.
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some 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 or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Manche Daten werden nicht aktualisiert.
Lokale Abfrage über IP-Addresse und einem Intervall von 60 Sekunden sind eingestellt.
Letzte Regeneration wurde gestern gemacht und nicht wie angezeigt am 27./28.01.
Andere Daten werden im eingestellten Intervall korrekt abgefragt.
Ein Neustart des Adapters brachte keine Besserung.
Hi !
There ist a new local API avaiable, which can be activated with new BWT-Firmware > V2.02xx. This Firmware can be installed by BWT-Support remotely by asking: [email protected]. This API needs to be activated by the user on-site in the Connection-Menu
also see German Thread: https://forum.iobroker.net/post/1119762
Here is a PDF Description of the local API from BWT:
1-511138_EBA_API_de.pdf
Version: stable=0.0.5 (300 days old) => latest=0.1.1 (15 days old)
Installs: stable=128 (71.51%), latest=26 (14.53%), total=179
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence
Ich erhalte mit diesem Adapter immer wieder folgende Fehlermeldung:
`
bwt.0 | 2021-12-08 12:13:08.828 | warn | Object of state "bwt.0.actualizedata" is missing the required property "common.type" |
---|---|---|---|
bwt.0 | 2021-12-08 12:13:08.652 | warn | Object of state "bwt.0.wasserverbrauch" is missing the required property "common.type" |
` |
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.