Coder Social home page Coder Social logo

frankjoke / iobroker.bmw Goto Github PK

View Code? Open in Web Editor NEW
11.0 9.0 6.0 1.98 MB

ioBroker adapter to display BMW connected drive data

License: MIT License

JavaScript 88.07% HTML 11.65% CSS 0.28%
bmw-connecteddrive bmw iobroker-adapter remote-control iobroker

iobroker.bmw's People

Contributors

apollon77 avatar dependabot[bot] avatar frankjoke avatar germanbluefox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.bmw's Issues

Ladevorgang starten und stoppen

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.

Compatibility check to js-controller 3.3 and Admin5 React UI

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!

New Issue

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}]

inMotion is always 'false'

Object bmw.0.xyz.properties.inMotion is always false. I have 2 cars in my adapter and both never shows they're in motion :-(

missing efficiency information

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

Compatibility check to js-controller 4.0

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!

Error 17919 habe seit März 2020 keine Verbindung mehr zum Auto

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' }!

Standheizung steuern

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.

Added a new vehicle "getvehicles v2 failed"

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

Verify Compact mode for your adapter

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.

Think about to fix the issues found by adapter checker

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

Mini Connected?

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?

Please add your adapter to ioBroker.discovery

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

Update stable version in repo to 1.4.0

Think about update stable version to 1.4.0

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

getObjectList deprecated

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!"

Keine Buttons für Remote Services

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.

image

Ist dazu etwas bekannt? Andere Softwareversion im Auto etc.?

exclude EV Data....

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

getvehicles v2 failed

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

Think about to fix the issues found by adapter checker

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

  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: BMW ConnectedDrive data Adapter
  • [E114] No adapter are allowed in the repo without admin3 support
  • [E130] No news found in io-package.json
  • [E140] width and height of logo are not equal
  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.bmw"
  • [E802] No topics found in the repository. Please go to "https://github.com/frankjoke/ioBroker.bmw" and press "Manage topics"
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2014-2019 frankjoke [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2014-2019 frankjoke [email protected]" at the start of LICENSE

I have also found warnings that may be fixed if possible.

  • [W113] Adapter should support compact mode

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

TypeError: Cannot read property 'bind' of undefined

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

Please let us know if you are still working on this project

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

Compatibility check and testing for Node.js 14 and 16

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!

Warnings from adapter

020-05-25 16:36:21.878 - warn: bmw.0 (7719) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!

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' }

Think about to fix the issues found by adapter checker

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

  • [E402] Types of adapter in latest repository and in io-package.json are different "vehicle" !== "hardware"
  • [E422] Types of adapter in stable repository and in io-package.json are different "vehicle" !== "hardware"

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

Please check ioBroker.bmw with js-controller 2.0

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.