frankjoke / iobroker.bmw Goto Github PK
View Code? Open in Web Editor NEWioBroker adapter to display BMW connected drive data
License: MIT License
ioBroker adapter to display BMW connected drive data
License: MIT License
Ist es möglich über sendto auch den Ladevorgang starten und stoppen?
das wäre perfekt. So könnte man den fast charger halbwegs smart machen.
Man begrenzt den Ladestrom im Auto und steuert es mit dem Überschuss wert der PV.
Bei anderen Adaptern gibt es einen Pfeil, wo man dann die gemachten Einstellungen als json sichern kann. Bitte auch zur Verfügung stellen.
vgl. auch:
https://forum.iobroker.net/topic/24129/adaptereinstellungen-sichern/7
Im Object im Iobroker steht 96% und unter
https://www.bmw-connecteddrive.de/app/index.html#/cockpit
steht 100% bei Ladezustand
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!
ioBroker: Eintrag in Protokolle: Log: error - bmw.0","message":"(134884) {"statusCode":404,"message":"Resource not found"}","ts":1688209951383},{"date":"Heute 13:12","severity":"error","from":"bmw.0","message":"(134884) AxiosError: Request failed with status code 404","ts":1688209951382},{"date":"Heute 13:12","severity":"error","from":"bmw.0","message":"(134884) getvehicles v2 failed","ts":1688209951376}]
Object bmw.0.xyz.properties.inMotion is always false. I have 2 cars in my adapter and both never shows they're in motion :-(
The upcoming version 2.0.0 of js-controller will support a new mode for low memory devices. For this, a few minor adjustments to the adapter must be made. Please follow these instructions: https://forum.iobroker.net/viewtopic.php?f=24&t=20387#p213466
since some weeks no information of "efficiency" loads. No objects available.
System data:
Platform: linux
Distribution: Raspbian GNU/Linux
Architecture: arm
Model: ARMv7 Processor rev 3 (v7l)
RAM: 3.81 GB
Node.js: v12.22.1
NPM: 6.14.12
JS-Controller (1): 3.2.16
Admin: 4.2.1
BMW ConnectedDrive data Adapter: 1.3.3
created by ioBroker.info
There is a new API für RemoteServices
Wolbolar/IPSymconBMWConnectedDrive@master...demel42:new_api
Line 705
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!
Irgendjemand eine Idee?
Liegts an den Versionen Node, JS ??
Wie kann man hier weiter debuggen??
2020-11-13 11:37:54.310 - warn: bmw.0 (17919) BMWrequest error on path /api/me/vehicles/v2: { Error: getaddrinfo ENOTFOUND https://b2vapi.bmwgroup.com/ https://b2vapi.bmwgroup.com/:443at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)errno: 'ENOTFOUND',code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: 'https://b2vapi.bmwgroup.com/',host: 'https://b2vapi.bmwgroup.com/',port: '443' }
2020-11-13 11:37:54.313 - warn: bmw.0 (17919) Error in GetCars, most probably the server is down! No data is changed: RequestVehicles Error to get data for Vehicles : { Error: getaddrinfo ENOTFOUND https://b2vapi.bmwgroup.com/ https://b2vapi.bmwgroup.com/:443at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)errno: 'ENOTFOUND',code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: 'https://b2vapi.bmwgroup.com/',host: 'https://b2vapi.bmwgroup.com/',port: '443' }!
Ich habe in der Readme gelesen das man auch die Remote Services nutzen kann. Ich würde gerne die Standheizung steuern können. Dazu wäre eine Info toll mit welchen Befehlen das geht.
Hi - i did add a second vehicle to my bmw account. Since i am getting this error message...
bmw.1 | 2023-07-23 13:40:23.493 | error | {"statusCode":404,"message":"Resource not found"}
bmw.1 | 2023-07-23 13:40:23.493 | error | AxiosError: Request failed with status code 404
bmw.1 | 2023-07-23 13:40:23.492 | error | getvehicles v2 failed
with this error the first vehicle isn't updateded anymore and the second is not present.
In my bmw-app i can see both vehicles.
i tryed to reinstall the adapter and added a new instance, but it didn't help.
It would be great if someone can helpe me ;)
Please let me now if you need futher details...
THX Christoph
For Admin3 some changes are needed: see http://forum.iobroker.net/viewtopic.php?f=24&t=10268
We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.
Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512
On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.
Thank you for your support.
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:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/frankjoke/ioBroker.bmw
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
Hallo,
ist es nicht möglich auch Mini Fahrzeuge mit den Adapter auszulesen? Es kommt immer eine "requested" Fehlermeldung und er zeigt keine Daten und das Fahrzeug im iobroker an. Brauchst man dazu eine andere url in den Adapter Einstellungen?
I am an automatic service from ioBroker that searches adapters and makes suggestions.
I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.
Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.
Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.
Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.
On questions, the other developers will support in the forum or via GitHub issues too.
If no detection is possible, simply close this issue and I won't bother you again. ;-)
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
Version: stable=1.3.3 (847 days old) => latest=1.4.0 (334 days old)
Installs: stable=297 (61.88%), latest=172 (35.83%), total=480
Click to edit
In V1.3.3 I get warning at startup:
"(13782) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!"
Hallo,
bei allen bisherigen BMWs die Remote Services unterstützen, waren bei mir wie im Screenshot zu sehen, als Objekte direkte im root einer VIN die passenden Buttons.
Bei meinem neuen Auto erscheinen diese Buttons nicht mehr, obwohl das Auto über die BMW App genau diese unterstützt.
Ist dazu etwas bekannt? Andere Softwareversion im Auto etc.?
Hi,
can you please include a switch in the config to exclude data from ev's?
We use the adapter with an diesel powered BMW and so we get some error messages everytime the adapter is syncing...
thanks
Tom
Hi frankjoke,
since a few days after the BMW Update of the iOS App i receive error message in iobroker.
bmw.0 | 2022-05-28 11:36:52.010 | error | Error: Request failed with status code 403
bmw.0 | 2022-05-28 11:36:52.008 | error | getvehicles v2 failed
Could you please check this?
THX
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:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/frankjoke/ioBroker.bmw
I have also found warnings that may be fixed if possible.
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
Ich bekomme beim Adapterstart folgende Fehlermeldung?!
host.ioBrokerVM | 2019-05-21 12:05:38.564 | error | instance system.adapter.bmw.0 terminated with code 0 (OK)
-- | -- | -- | --
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Module.runMain (module.js:611:10)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Function.Module._load (module.js:445:3)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at tryModuleLoad (module.js:453:12)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Module.load (module.js:494:32)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Object.Module._extensions..js (module.js:586:10)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Module._compile (module.js:577:32)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.bmw/bmw.js:113:3)
Caught | 2019-05-21 12:05:38.563 | error | by controller[0]: at Function.init (/opt/iobroker/node_modules/iobroker.bmw/node_modules/@frankjoke/myadapter/myAdapter.js:322:23)
Caught | 2019-05-21 12:05:38.562 | error | by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.bmw/node_modules/@frankjoke/myadapter/myAdapter.js:33:15)
Caught | 2019-05-21 12:05:38.562 | error | by controller[0]: at Function.init2 (/opt/iobroker/node_modules/iobroker.bmw/node_modules/@frankjoke/myadapter/myAdapter.js:344:62)
Caught | 2019-05-21 12:05:38.562 | error | by controller[0]: TypeError: Cannot read property 'bind' of undefined
bmw.0 | 2019-05-21 12:05:38.523 | info | terminating
Dear FrankJoke
there is a bunch of people that are curious to know, weather you are still behind this project or if we shall simply delete the adapter as there are more and more errors and warnings with this adapter.
Me personal I would really be very happy, if you would still support it and other other hand it is beneficial for all to know if there is no future.
Anyway. Many thanks for the efforst you put into this! It was a very useful Adapter as long as it was working!
Thanks
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!
2020-05-25 16:36:22.543 - warn: bmw.0 (7719) Promise failed @ '_tickCallback in internal/process/next_tick.js @68:7' error: { Error: Not exists at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1588:72 at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2999:68) at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93403) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) at process._tickCallback (internal/process/next_tick.js:68:7) [stack]: 'Error: Not exists\n at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1588:72\n at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2999:68)\n at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93403)\n at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)\n at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)\n at process._tickCallback (internal/process/next_tick.js:68:7)', [message]: 'Not exists' }
Adapter funktioniert nicht mehr.
Genauer die Funktionen:
Klima, Auto auf/zu, lichthupe, etc.
siehe auch thread:
https://forum.iobroker.net/topic/22085/bmw-adapter-funktioniert-der-noch
im log vom iobroker steht
32254) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
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:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/frankjoke/ioBroker.bmw
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
Hi,
the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.
You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.
Please update your systems to js-controller 2.0 and check your adapter.
Please close this issue once you have checked your adapter or received successfull reports from users.
Thank you very much for your support. Please contact us in the other Threads or Forum on any question.
Since some days the efficiency is no more existing
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.