Code Monkey home page Code Monkey logo

iobroker.toyota's Introduction

Logo

ioBroker.toyota

NPM version Downloads Number of Installations Current version in stable repository Dependency Status

NPM

Tests: Test and Release

toyota adapter for ioBroker

Adapter for myT Toyota App

Loginablauf

Die myT Mail und Passwort eingeben.

Steuern

toyota.0.vin.remote auf true setzen steuert den jeweiligen Befehl

Diskussion und Fragen

https://forum.iobroker.net/topic/49034/test-adapter-toyota-v-0-0-x

Changelog

0.0.3

  • (TA2k) initial release

License

MIT License

Copyright (c) 2021 TA2k [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.toyota's People

Contributors

ta2k avatar

Stargazers

 avatar  avatar

Watchers

 avatar

iobroker.toyota's Issues

Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot

Dear adapter developer,

I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter toyota for common errors and appropiate suggestions to keep this adapter up to date.

Please see the result of the check below.

ioBroker.toyota

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E026] "{'engines': {'node'>='16'}}" is required at package.json, "{'engines':{'node'>='18'}}" is recommened
  • ❗ [E033] @iobroker/adapter-core 3.0.4 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
  • ❗ [E036] @iobroker/testing 4.1.0 specified. 4.1.3 is required as minimum, 4.1.3 is recommended. Please update devDependencies at package.json
  • ❗ [E162] js-controller 3.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
  • ❗ [E605] No actual year found in copyright. Please add "Copyright (c) 2024 TA2k [email protected]" at the end of README.md
  • ❗ [E606] Current adapter version 0.2.6 not found in README.md
  • ❗ [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 TA2k [email protected]" at the start of LICENSE

WARNINGS:

Please review issues reported and consider fixing them as soon as appropiate.

Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.

Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.

Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that an issue is incorrectly flagged.

And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.

your
ioBroker Check and Service Bot

@mcm1957 for evidence

trips month

die Zeitspanne des Monatstrips ist zu lang

toyota.0 2021-11-05 11:52:46.596 error {"timestamp":1636109566583,"status":404,"error":"Not Found","message":"Data Not found","errorCode":"CMA404"}
toyota.0 2021-11-05 11:52:46.596 error Error: Request failed with status code 404
toyota.0 2021-11-05 11:52:46.595 error https://myt-agg.toyota-europe.com/cma/api/v2/trips/541dbaba-06f2-490f-966a-2a6935e315ca
toyota.0 2021-11-05 11:52:46.574 error {"timestamp":1636109566559,"status":400,"error":"Bad Request","message":"Maximum difference between from '2020-01-01' & to '2021-11-05' can be 365 days","errorCode":"CMA400"}
toyota.0 2021-11-05 11:52:46.573 error Error: Request failed with status code 400
toyota.0 2021-11-05 11:52:46.572 error https://myt-agg.toyota-europe.com/cma/api/v2/trips/summarize?from=2020-01-01&to=2021-11-05&calendarInterval=month

Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot

Dear adapter developer,

I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter toyota for common errors and appropiate suggestions to keep this adapter up to date.

Please see the result of the check below.

ioBroker.toyota

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E026] "{'engines': {'node'>='16'}}" is required at package.json, "{'engines':{'node'>='18'}}" is recommened
  • ❗ [E033] @iobroker/adapter-core 3.0.4 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
  • ❗ [E036] @iobroker/testing 4.1.0 specified. 4.1.3 is required as minimum, 4.1.3 is recommended. Please update devDependencies at package.json
  • ❗ [E162] js-controller 3.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
  • ❗ [E605] No actual year found in copyright. Please add "Copyright (c) 2024 TA2k [email protected]" at the end of README.md
  • ❗ [E606] Current adapter version 0.2.6 not found in README.md
  • ❗ [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 TA2k [email protected]" at the start of LICENSE

WARNINGS:

SUGGESTIONS:

  • 📌 [S522] Please consider migrating to admin 5 UI (jsonConfig).

Please review issues reported and consider fixing them as soon as appropiate.

Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.

Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.

Suggestions reported by repository checker should be reviewed. Suggestions can be ignored due to a decision of the developer but they are reported as a hint to use a configuration which might get required in future or at least is used be most adapters. Suggestions are always optional to follow.

You may start a new check at any time by adding the following comment to this issue:

@iobroker-bot recheck

Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.

Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that an issue is incorrectly flagged.

And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.

your
ioBroker Check and Service Bot

Note: This issue replaces issue #16

@mcm1957 for evidence

Error: getaddrinfo ENOTFOUND undefined

Hallo

bekomme seit der Version 0.2.0 beim Start folgende Fehler:
`

toyota.0 2023-10-22 12:27:05.884 error Error: getaddrinfo ENOTFOUND undefined
toyota.0 2023-10-22 12:27:05.748 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.toyota, node: v18.17.1, js-controller: 5.0.14
toyota.0 2023-10-22 12:27:04.889 debug Plugin sentry Initialize Plugin (enabled=true)
`

ist bereits die Debug ausgabe... Adapter bleibt gelb.
Wenn ich auf "Lexus" umstelle kommt wenigstens, dass er keine Autos gefunden hat

`

toyota.0 2023-10-22 12:30:32.901 info Found 0 vehicles
toyota.0 2023-10-22 12:30:32.900 debug ""
toyota.0 2023-10-22 12:30:32.374 debug {"token":"XXXXXXXXXXXX}}
toyota.0 2023-10-22 12:30:31.902 info Login to Lexus
toyota.0 2023-10-22 12:30:31.871 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.toyota, node: v18.17.1, js-controller: 5.0.14
toyota.0 2023-10-22 12:30:30.871 debug Plugin sentry Initialize Plugin (enabled=true)
`

vielen dank

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!

Datenpunkte Befüllung

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

  • Adapter version:
  • JS-Controller version:
  • Node version:
  • Operating system:

Additional context
Add any other context about the problem here.

Remote data point is not working

Describe the bug
the data points under "toyota.0.JTMAXXXX.remote" do not trigger any action

Versions:

  • Adapter version: 0.2.6
  • JS-Controller version: 5.0.19
  • Node version: 18.17.1
  • Operating system: Debian 11

Additional context
Grüße
Andre

Vehicle Status feature is inactive for the vin

Bekomme verschiedene Fehler in Regelmäßigen abständen von Sachen die das Fahrzeug nicht hat... kann man das irgendwo abstellen?

<html>
<body>
<!--StartFragment-->
toyota.0 | 2024-01-19 09:07:29.644 | error | {"status":{"messages":[{"responseCode":"ONE-GLOBAL-RS-10064","description":"Feature vehicleStatus is inactive or not present for the vin.","detailedDescription":"Vehicle Status feature is inactive for the vin"}]}}
-- | -- | -- | --
toyota.0 | 2024-01-19 09:07:29.644 | error | AxiosError: Request failed with status code 500
toyota.0 | 2024-01-19 09:07:29.644 | error | https://ctpa-oneapi.tceu-ctp-prd.toyotaconnectedeurope.io/v1/global/remote/status
toyota.0 | 2024-01-19 08:07:58.562 | error | {"message":"Endpoint request timed out"}
toyota.0 | 2024-01-19 08:07:58.562 | error | AxiosError: Request failed with status code 504
toyota.0 | 2024-01-19 08:07:58.562 | error | https://ctpa-oneapi.tceu-ctp-prd.toyotaconnectedeurope.io/v1/global/remote/climate-status
toyota.0 | 2024-01-19 08:07:58.524 | error | {"message":"Endpoint request timed out"}
toyota.0 | 2024-01-19 08:07:58.524 | error | AxiosError: Request failed with status code 504
toyota.0 | 2024-01-19 08:07:58.524 | error | https://ctpa-oneapi.tceu-ctp-prd.toyotaconnectedeurope.io/v1/global/remote/status
toyota.0 | 2024-01-19 07:07:29.579 | error | {"status":{"messages":[{"responseCode":"ONE-GLOBAL-RS-10064","description":"Feature vehicleStatus is inactive or not present for the vin.","detailedDescription":"Vehicle Status feature is inactive for the vin"}]}}
toyota.0 | 2024-01-19 07:07:29.579 | error | AxiosError: Request failed with status code 500
toyota.0 | 2024-01-19 07:07:29.579 | error | https://ctpa-oneapi.tceu-ctp-prd.toyotaconnectedeurope.io/v1/global/remote/status

<!--EndFragment-->
</body>
</html>

Trip Data

Hallo

Bei mir werden bei fetch Trip data fast 25000 Objekte erstellt, was bei jeder Aktualisierung das System fast zum Absturz bringt. Gibt es da eine Minimal Version von? Also Sprich zb nur den Summary?
Mir geht's Speziell um die letzte Position und die Zusammenfassung der Score, Fahrzeit etc...

Vielen Dank

Update stable version in repo from 0.0.3 to 0.2.6

Think about update stable version to 0.2.6

Version: stable=0.0.3 (819 days old) => latest=0.2.6 (15 days old)
Installs: stable=62 (59.62%), latest=21 (20.19%), total=104

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

Update stable version in repo from 0.0.3 to 0.2.1

Think about update stable version to 0.2.1

Version: stable=0.0.3 (730 days old) => latest=0.2.1 (15 days old)
Installs: stable=73 (74.49%), latest=16 (16.33%), total=98

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!

Update stable version in repo from 0.0.3 to 0.2.1

Think about update stable version to 0.2.1

Version: stable=0.0.3 (792 days old) => latest=0.2.1 (77 days old)
Installs: stable=69 (65.71%), latest=31 (29.52%), total=105

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!

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.