Git Product home page Git Product logo

iobroker.zoe2's Introduction

Logo

iobroker.zoe2

=================

Tests: Build Status Known Vulnerabilities

Downloads Downloads Number of Installations

License: License

Features: Feature Requests

Simple ioBroker-Adapter to get some basic values from Renault ZOE and use it in ioBroker.

IMPORTANT!!! IF YOU UPDATE FROM A VERSION BEFORE 0.2.2, YOU HAVE TO REENTER YOUR PASSWORD BECAUSE STARTING WITH 0.2.2 PASSWORD IS SAVED ENCRYPTED!!!

API KEY!!! IF ADAPTER STOPS WORKING PLEASE ALWAYS LOOK AT https://github.com/fungus75/ioBroker.zoe2/wiki BECAUSE RENAULT OFTEN CHANGES THEIR API KEY!!!

PLEASE NOTE: THIS ADAPTER USES THE SAME API AS THE MY RENAULT APP. BUT YOU MUST HAVE TO SET UP MY RENAULT APP TO WORK BEFORE USING THIS ADAPTER. i.e. on Android: https://play.google.com/store/apps/developer?id=RENAULT+SAS - if you want to use the old api, please use https://github.com/fungus75/ioBroker.zoe instead.

PLEASE NOTE: THIS IS A VERY EARLY STATE OF DEVELOPMENT, USE OF YOUR OWN RISK

PLEASE NOTE: AFTER ANY UPDATE OF THE ADAPTER GO TO SETUP-SCREEN, CHANGE SOMETHING SO THAT SAVE IS ENABLED, CHANGE IT BACK AND HIT SAVE!

If this adapter is not available on the ioBroker-Admin-View, please use the following command to install it (from command-line on your ioBroker-Server):

npm install https://github.com/fungus75/ioBroker.zoe2/tarball/master/

Or you can use the GitHub-Button (labeled: install from own URL) in the Adapter-View and enter this URL on the "other"-Tab. This can also be used to update to the current adapter-version:

https://github.com/fungus75/ioBroker.zoe2/tarball/master/ (if this url does not work, use https://github.com/fungus75/ioBroker.zoe2.git instead)

You can use the method to update the adapter to the most recent version.

After that the adapter should show up in the ioBroker-Admin-View.

Configuration

  • You have to set username, password and VIN as you have done in my renault app
  • This locales ("Laenderversionen") currently do work: de_DE
  • Maybe you need a My-Z.E.Connect or similar services from Renault to use this
  • After saving it took around 15 minutes to create the objects (zoe.0 and so on)

Features

  • Read this parameters from Zoe:
    • charge_level in percent
    • charging as boolean
    • plugged on as boolean
    • remaining range in kilometer
    • remaining time of charging
    • calculated endPoint of charing (charging_finished_at)
    • battery temperature
    • external temperature (not that accurate)
    • chargingPower
    • batteryCapacity
    • batteryAvailableEnergy
    • gpsLatitude and gpsLongitude, works only on newer ZOEs
  • Write this parameters:
    • preconNow: starts precon/hvac (write true to that node, or press the button)
    • chargeCancel: stops charging
    • chargeEnable: enables charging

Control Charging:

With the two buttons chargeCancel and chargeEnable charging functionality can be controlled. If chargeCancel is pressed (or true is written to this parameter), the charging function is disabled. ZOE should not charge if the power cord is connected. On my 1st Gen ZOE this has no effect, so maybe it works on newer ZOEs?

As soon as chargeEnable is pressed (or true is written to this parameter), the charging function should work again.

How is this done: chargeEnable creates a charging-schedule that starts at the given hour you defined in the setup screen every day and lasts for 15 minutes. That looks as it is the shortest amount to be set. Turning charging off complete is not possible with the current API (or that parts of the current API that are known).

Some parameters only work on newer ZOEs.

Testet with the folowing ZOEs:

  • Zoe Phase 2 (Thanks Jack-RK-24)
  • Zoe R210 (1st Generation, tested by fungus75)
  • Zoe R90 (Thanks arturwolf)

Please Note!!

Communication with ZOE or Renault-Services is done only during the interval-times with is 10 Minutes. So if you press preconNow or chargeNow, it will take up to the next interval to send it to ZOE and it will take up to the very next interval to get the status back.

The new ZOE API from Renault seems to be very lacy. That means that it only shows new values when there is something important. As far as I found out, the most important thing is battery-level. That means i.E. the external temperature is not updated, if the car stands at home. Only if i.E. the ZOE charges, the external temperature will be updated. If charging is finished, still no new update. When driving, the battery level gets lower and lower and therefore it should update very regulary.

Thanks

https://michael-heck.net/index.php/elektromobilitaet/renault-zoe-ins-smarthome-integrieren, https://michael-heck.net/index.php/elektromobilitaet/renault-zoe-im-smarthome-neue-api-2020, https://muscatoxblog.blogspot.com/2019/07/delving-into-renaults-new-api.html, https://github.com/edent/Renault-Zoe-API, https://github.com/jamesremuscat/pyze and https://github.com/hacf-fr/renault-api for your great documentation and work.

Changelog

0.2.8 (2024-04-27)

  • BugFix Cockpit und Batterie (thanks to @MCP-KC, @gik007)

0.2.7 (2024-04-08)

  • BugFix gps Location (thanks to @MCP-KC)

0.2.6 (2022-07-22)

  • API Timeout configurable via config-screen
  • Improved stability

0.2.5 (2022-03-30)

  • Better error messages if kameronapikey changed
  • Link to github-wiki added to admin-screen
  • updated dependencies

0.2.4 (2022-02-16)

  • Replaced obsolete Request-Library by axios
  • Code-Adjustments

0.2.3 (2021-07-29)

  • Code Adjustments, Error-Handling

0.2.2 (2021-07-26)

  • Store Password Encrypted (You have to reset it, if updating from older version)

0.2.1 (2021-07-23)

  • Code optimisation

0.2.0 (2021-02-12)

  • Adapter supports compact mode (required if adapter should be listed in official repo)

0.1.5 (2021-02-09)

  • bugfix gigya parameter changed #17

0.1.4 (2021-02-05)

  • added: kamereonapikey as setup parameter because it changed by Feb. 1st
  • added: stopChargeWorkaroundHour: Because the API has no feature to stop charging, the stop-charging button starts scheduled charging to a very uncommon time. Configure the hour with that parameter
  • bugfix #15
  • bugfix #16
  • bugfix #14

0.1.3 (2020-11-17)

  • added: setup-value useHVACApi, see #10

0.1.2 (2020-07-28)

  • changed: call charge-start API when "pressed" chargeEnable. Hopefully it helps on older ZOEs

0.1.1 (2020-07-18)

  • added chargeCancel and chargeEnable. See "controll charging"

0.1.0 (2020-07-03)

0.0.9 (2020-06-25)

  • added: getLocation can be turned on/off in config (useful for older ZOEs which do not allow getLocation)

0.0.8 (2020-06-18)

  • bugfix: #2
  • bugfix: #3

0.0.7 (2020-06-18)

  • bugfix: #2
  • added: gpsLatitude
  • added: gpsLongitude

0.0.6 (2020-04-30)

  • added: chargingPower
  • added: batteryCapacity
  • added: batteryAvailableEnergy
  • changed: Using battery-status v2 API (supplies better values for newer ZOEs, thanks Jack-RK-24 for testing)

0.0.5 (2020-04-29)

  • added: config-paramter ignore API error (when set, the Adapter tries to ignore some API-Errors)

0.0.4 (2020-04-21)

  • added: preconNow => starts precon (hvac)

0.0.3 (2020-04-16)

  • added: totalMileage

0.0.2 (2020-04-15)

  • first working version for github
  • reads out some values (as shown in the Features list)

0.0.1 (2020-04-06)

  • nonworking version, just to create initial repo on github
  • code taken 1:1 from iobroker.zoe
  • small adjustments, first access to the new renault api

License

The MIT License (MIT)

Copyright (c) 2021 RenePilz [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.zoe2's People

Contributors

apollon77 avatar damack avatar fungus75 avatar schlauer-hax avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.zoe2's Issues

Sometime error 1 sometime getHVACstatus error

Halo,

Wenn ich die API Errors ignorieren anschalte bekomme ich:

zoe2.0 2020-06-19 07:40:09.077 info (5627) response:{"statusCode":502,"body":"{"type":"TECHNICAL","messages":[{"code":"err.tech.502","message":"{\"errors\":[{\"status\":\"502\",\"code\":\"gateway.processin
zoe2.0 2020-06-19 07:40:09.077 info (5627) error:null
zoe2.0 2020-06-19 07:40:09.076 error (5627) No valid response from getHVACStatus service

und manchmal bekomme ich ega ob API Errors ignorieren an oder aus ist bekomme ich zwischendrin immer mal wieder:

host.IOBroker 2020-06-19 08:03:01.248 error instance system.adapter.zoe2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

ohne vorherige Warnung und ohne das vorher Daten abgerufen werden. Also einfach mittendrin.

Ich habe das gestern mit der Version 0.0.6 und heute mit der 0.0.8 gesehen.

Danke und viele Grüße
Marcel Jaud

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!

During connection always throws ERRORS

Hi,
unfortunately the app throws errors while having successful connections to the server:

zoe2.0 2023-01-01 10:45:04.386 error Cannot read property 'status' of undefined
zoe2.0 2023-01-01 10:45:04.386 error TypeError: Cannot read property 'status' of undefined at /opt/iobroker/node_modules/iobroker.zoe2/main.js:363:29 at processTicksAndRejections (internal/process/task_queues.js:95:5)
zoe2.0 2023-01-01 10:45:04.385 error unhandled promise rejection: Cannot read property 'status' of undefined
zoe2.0 2023-01-01 10:45:04.385 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
zoe2.0 2023-01-01 10:45:04.385 error Error in step 5, errorCode: 2
zoe2.0 2023-01-01 10:45:04.384 error Error: timeout of 3000ms exceeded
zoe2.0 2023-01-01 10:45:04.384 error Maybe Kamereon-API Key has changed, please check https://github.com/fungus75/ioBroker.zoe2/wiki
zoe2.0 2023-01-01 10:45:04.383 error No valid response1 from getKamereonAccount service

The necessary values are being transferred correct, though.
What can we do to avoid these errors?
LG
Michael

no new data´s available ?

Hey did some else have the Probleme that the adapter seems not to work anymore ?
since some days the data´s are not updated.

image

Adapter Error

Hello, adapter terminates without reason?
no Objects are shown.
Bildschirmfoto 2021-02-18 um 15 05 37
Bildschirmfoto 2021-02-18 um 15 39 59
Bildschirmfoto 2021-02-18 um 15 39 55

Neuer API Schlüssel

Renault hat einen neuen Schlüssel ausgegeben? Weiß nicht wie man das besser umschreibt.
Bitte um Update des Adapter.
BG

Please catch 403 Error - Privacy mode currently ON

Hi!
When I change the User in the Car via the Touch-Screen, it seam that the new selected user has not activated the provision of data. The MyRenault-App leads to a tutorial to enable the data transmission for the current user.

In the log of the adapter a complex error message is shown on every request:

response:{"statusCode":403,"body":"{\"type\":\"FUNCTIONAL\",\"messages\":[{\"code\":\"err.func.403\",\"message\":\"{\\\"errors\\\":[{\\\"status\\\":\\\"Forbidden\\\",\\\"code\\\":\\\"403009\\\",\\\"title\\\":\\\"Forbidden action\\\",\\\"detail\\\":\\\"Privacy mode currently ON\\\"}]}\"}],\"errors\":[{\"errorCode\":\"err.func.403\",\"errorMessage\":\"{\\\"errors\\\":[{\\\"status\\\":\\\"Forbidden\\\",\\\"code\\\":\\\"403009\\\",\\\"title\\\":\\\"Forbidden action\\\",\\\"detail\\\":\\\"Privacy mode currently ON\\\"}]}\"}],\

I think the major Info is here the 403 Status and the "Privacy mode currently ON" message.

For better understanding it might be a good idea to catch this explicite error and do not flood the error-log.

Regards,
Kai

Terminated: without reason

Hi,
gerade neu den Zoe2 Adapter installiert, bei der 1. Abfrage zeigt er sehr viele Warning.
Bei der 2. Abfrage holt er bereits Daten ab, aber dann läuft es in einen Fehler?
Bitte um Korrektur, vielen Dank!

host.ioBrokerPV 2021-02-18 17:50:18.987 info instance system.adapter.zoe2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
zoe2.0 2021-02-18 17:50:18.461 info (30750) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
zoe2.0 2021-02-18 17:50:08.446 debug (30750) in: checkPreconAndCharge v0.01

Fehlermeldung

Hi,

seit heute 16:40 bekomme ich folgende Fehlermeldung;

`

host.ioBroker 2022-05-17 19:30:11.538 error instance system.adapter.zoe2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
zoe2.0 2022-05-17 19:30:11.016 error Cannot read property 'status' of undefined
zoe2.0 2022-05-17 19:30:11.015 error TypeError: Cannot read property 'status' of undefined at /opt/iobroker/node_modules/iobroker.zoe2/main.js:101:29 at processTicksAndRejections (internal/process/task_queues.js:95:5)
zoe2.0 2022-05-17 19:30:11.014 error unhandled promise rejection: Cannot read property 'status' of undefined
zoe2.0 2022-05-17 19:30:11.013 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
zoe2.0 2022-05-17 19:30:11.011 warn Terminated (JS_CONTROLLER_STOPPED): Without reason
zoe2.0 2022-05-17 19:30:11.010 error Error in step 0, errorCode: 2
zoe2.0 2022-05-17 19:30:11.009 error Error: Request failed with status code 403
zoe2.0 2022-05-17 19:30:11.008 error No valid response1 from Renault server
`

Hast du eine Idee woran es liegen könnte?

Error getHVACStatus

bei mir kommt die Fehlermeldung:
`

Quelle zeit debug Meldung
host.iobroker 2021-01-06 13:13:00.846 error instance system.adapter.zoe2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
zoe2.0 2021-01-06 13:13:00.839 error (31022) Termination forced due to timeout !
zoe2.0 2021-01-06 13:10:09.681 error (31022) No valid response from getHVACStatus service
`

Version 0.2.4 crashed

Nach dem Update von 0.2.3 auf 0.2.4 kann ich keine Daten mehr auslesen.
Die Version crashed:
2022-02-22 11:10:04.074 error instance system.adapter.zoe2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
zoe2.0
2022-02-22 11:10:03.501 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
zoe2.0
2022-02-22 11:10:03.490 error Cannot read property 'cookieValue' of undefined
zoe2.0
2022-02-22 11:10:03.489 error TypeError: Cannot read property 'cookieValue' of undefined at /opt/iobroker/node_modules/iobroker.zoe2/main.js:245:40 at processTicksAndRejections (internal/process/task_queues.js:97:5)
zoe2.0
2022-02-22 11:10:03.487 error unhandled promise rejection: Cannot read property 'cookieValue' of undefined
zoe2.0
2022-02-22 11:10:03.486 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

PLATTFORM: LINUX
BETRIEBSSYSTEM: LINUX
ARCHITEKTUR: ARM
CPUS: 4
MODELL: ARMV7 PROCESSOR REV 4 (V7L)
RAM: 926 MB
NODE.JS: V12.18.0
NPM: 6.14.13

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/fungus75/ioBroker.zoe2

  • [E104] No common.titleLang found in io-package.json

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

Compatibility check and testing for Node.js 14 and 16

Dear Adapter develop,

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!

Cronjob ändern ?

Hallo, Feathub fkt. leider nicht. Möchte fragen ob es möglich wäre den Adapter auch ohne fixen Cronjob zu machen?
BG

Crontab

Hallo,
wäre es möglich den Adapter auch ohne Crontab (10min) zu bekommen?
Ich möchte das Updateintervall während der Ladung erhöhen und sonst reduzieren (per Script).
Leider kann ich den Crontab der Instanz nicht löschen? ist dieser Cronjob fest hinterlegt?
Danke!

Optionally disable HVAC status

It seems my car (ZOE Phase 2) has no HVAC available. The API calls always result in error 403 just for this api endpoint. Instead of enabling the ignore api errors setting I'd like to simply disable this specific API call, but without disabling checkPreconAndCharge (which is the case when I don't ignore the api error).

Error-Log

Hi, ich muss schon wieder nerven :D

Seit 12 Uhr und 1 Sek geht mein Adapter nicht mehr :(

`zoe2.0 2021-02-08 21:10:06.937 error at processTicksAndRejections (internal/process/task_queues.js:84:21)
zoe2.0 2021-02-08 21:10:06.937 error at endReadableNT (_stream_readable.js:1241:12)
zoe2.0 2021-02-08 21:10:06.937 error at IncomingMessage.emit (events.js:326:22)
zoe2.0 2021-02-08 21:10:06.937 error at Object.onceWrapper (events.js:420:28)
zoe2.0 2021-02-08 21:10:06.937 error at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
zoe2.0 2021-02-08 21:10:06.937 error at Request.emit (events.js:314:20)
zoe2.0 2021-02-08 21:10:06.937 error at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
zoe2.0 2021-02-08 21:10:06.937 error at Request.emit (events.js:314:20)
zoe2.0 2021-02-08 21:10:06.937 error at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
zoe2.0 2021-02-08 21:10:06.937 error at Request._callback (/opt/iobroker/node_modules/iobroker.zoe2/main.js:253:44)
zoe2.0 2021-02-08 21:10:06.937 error (25264) TypeError: Cannot read property 'personId' of undefined
zoe2.0 2021-02-08 21:10:06.935 error (25264) uncaught exception: Cannot read property 'personId' of undefined`

Als ich zur Arbeit gefahren bin früh ging er noch, also hab nichts verstellt damit sagen will ;)

Zengaja

No valid response from getKamereonAccount service

Seit einigen Tagen habe ich nur noch diesen Fehler:
`

zoe2.0 2022-03-24 20:37:53.416 warn Terminated (JS_CONTROLLER_STOPPED): Without reason
zoe2.0 2022-03-24 20:37:53.416 error Error in step 5, errorCode: 2
zoe2.0 2022-03-24 20:37:53.416 debug in: processingFailed, curStep: 5
zoe2.0 2022-03-24 20:37:53.415 error No valid response from getKamereonAccount service
`

issue starting the adapter

I get the message

  | error | startInstance system.adapter.zoe2.0: required adapter "adapter-core" not found!

when starting the adapter.

Any suggestions to that?

Error

Hallo,
die Info der Position ist falsch, Batteriestatus hat er inzwischen mal bekommen.
Grüße
(Rückmeldung auf feathub?)

GPS Koordinaten nun auch ohne Fehler eingelesen, die Postion ist falsch, liegt verm. an Renault?

`

2021-02-21 12:00:06.230 - info: zoe2.0 (7548) getBatteryStatus-url:https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/battery-status?country=DE

2021-02-21 12:00:07.015 - error: zoe2.0 (7548) No valid response from getBatteryStatus service
2021-02-21 12:00:07.015 - info: zoe2.0 (7548) error:null
2021-02-21 12:00:07.016 - info: zoe2.0 (7548) response:{"statusCode":500,"body":"{"type":"TECHNICAL","messages":[{"code":"err.tech.wired.unknown-error","message":"An unknown error happened"}],"errors":[{"errorCode":"err.tech.wired.unknown-error","errorMessage":"An unknown error happened"}],"error_reference":"TECHNICAL"}","headers":{"date":"Sun, 21 Feb 2021 11:00:06 GMT","content-type":"application/json","transfer-encoding":"chunked","connection":"close","access-control-allow-origin":"","x-amzn-trace-id":"Self=1-60323d36-3307f62b62dc63ae415b9618;Root=1-60323d36-3eefb3305971ddee5faf0b24","x-content-type-options":"nosniff","x-xss-protection":"1; mode=block","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","expires":"0","vary":"accept-encoding","x-response-time":"223"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"api-wired-prod-1-euw1.wrd-aws.com","port":443,"hostname":"api-wired-prod-1-euw1.wrd-aws.com","hash":null,"search":"?country=DE","query":"country=DE","pathname":"/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/battery-status","path":"/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/battery-status?country=DE","href":"https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/battery-status?country=DE"},"method":"get","headers":{"x-gigya-id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJFUTBNVVE1TjBOQ1JUSkVNemszTTBVMVJrTkRRMFUwUTBNMVJFRkJSamhETWpkRU5VRkJRZyIsImtleWlkIjoiUkVRME1VUTVOME5DUlRKRU16azNNMFUxUmtORFEwVTBRME0xUkVGQlJqaERNamRFTlVGQlFnIn0.eyJpc3MiOiJodHRwczovL2ZpZG0uZ2lneWEuY29tL2p3dC8zXzdQTGtzT3lCUmtIdjEyNng1V2hIYi01cHFDMXFGUjhwUWp4U2VMQjZuaEFuUEVSVFVsd25Zb3puSFN4d1g2NjgvIiwiYXBpS2V5IjoiM183UExrc095QlJrSHYxMjZ4NVdoSGItNXBxQzFxRlI4cFFqeFNlTEI2bmhBblBFUlRVbHduWW96bkhTeHdYNjY4IiwiaWF0IjoxNjEzOTA1MjAzLCJleHAiOjE2MTM5MDYxMDMsInN1YiI6ImFjNjViMzg3ZTI3YTQ2N2E4YzQ4NzhlMGVhM2I1MWU0IiwiZGF0YS5wZXJzb25JZCI6IjU5NmY2ODA1LTU5NjQtNDk4OC1hNjI3LTFhMDA2ZjAzYWViZSIsImRhdGEuZ2lneWFEYXRhQ2VudGVyIjoiZXUxLmdpZ3lhLmNvbSJ9.LnFxt-VV9MPrZM1BlXUfKvmHK1yOHIqDKRKrbcy5NFu2NmhMi_izqATHva1Rl0HOOYjKAMlY_0O6MymOxYODfE0g1kv3OewW3X43Y336K3SjasFExnDqVIUs3D_4PbFXFcPD1x2CIS6UbuVy68BEqoAAHWqymj9P9P_HAfrZ-rqnubLX_l2LKkxSAPupTjvcO1lH8hksucVsJatM9saJlLntrgw3PXDWXEOs7YU5Dkj_5S82JduIGcR-2CQjpSOsktEWHqIwVViSaPfY-OSB7gzYhIMw3xfWcsGuHlphpP412r8gXPCio7PI_G6XOlm-Bs6EJwRn2TT1LF2BjBgejA","apikey":"Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2","Content-Type":"application/vnd.api+json","content-length":0}}}
2021-02-21 12:00:07.017 - info: zoe2.0 (7548) getCockpit-url:https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/cockpit?country=DE
2021-02-21 12:00:14.376 - error: zoe2.0 (7548) No valid response from getCockpit service
2021-02-21 12:00:14.377 - info: zoe2.0 (7548) error:null
2021-02-21 12:00:14.378 - info: zoe2.0 (7548) response:{"statusCode":500,"body":"{"type":"TECHNICAL","messages":[{"code":"err.tech.wired.unknown-error","message":"An unknown error happened"}],"errors":[{"errorCode":"err.tech.wired.unknown-error","errorMessage":"An unknown error happened"}],"error_reference":"TECHNICAL"}","headers":{"date":"Sun, 21 Feb 2021 11:00:13 GMT","content-type":"application/json","transfer-encoding":"chunked","connection":"close","access-control-allow-origin":"
","x-amzn-trace-id":"Self=1-60323d37-08aed7a03948e6ef37a249aa;Root=1-60323d37-06c2f4a6611ec96b268cc027","x-content-type-options":"nosniff","x-xss-protection":"1; mode=block","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","expires":"0","vary":"accept-encoding","x-response-time":"6640"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"api-wired-prod-1-euw1.wrd-aws.com","port":443,"hostname":"api-wired-prod-1-euw1.wrd-aws.com","hash":null,"search":"?country=DE","query":"country=DE","pathname":"/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/cockpit","path":"/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/cockpit?country=DE","href":"https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v2/cars/VF1AG000966808321/cockpit?country=DE"},"method":"get","headers":{"x-gigya-id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJFUTBNVVE1TjBOQ1JUSkVNemszTTBVMVJrTkRRMFUwUTBNMVJFRkJSamhETWpkRU5VRkJRZyIsImtleWlkIjoiUkVRME1VUTVOME5DUlRKRU16azNNMFUxUmtORFEwVTBRME0xUkVGQlJqaERNamRFTlVGQlFnIn0.eyJpc3MiOiJodHRwczovL2ZpZG0uZ2lneWEuY29tL2p3dC8zXzdQTGtzT3lCUmtIdjEyNng1V2hIYi01cHFDMXFGUjhwUWp4U2VMQjZuaEFuUEVSVFVsd25Zb3puSFN4d1g2NjgvIiwiYXBpS2V5IjoiM183UExrc095QlJrSHYxMjZ4NVdoSGItNXBxQzFxRlI4cFFqeFNlTEI2bmhBblBFUlRVbHduWW96bkhTeHdYNjY4IiwiaWF0IjoxNjEzOTA1MjAzLCJleHAiOjE2MTM5MDYxMDMsInN1YiI6ImFjNjViMzg3ZTI3YTQ2N2E4YzQ4NzhlMGVhM2I1MWU0IiwiZGF0YS5wZXJzb25JZCI6IjU5NmY2ODA1LTU5NjQtNDk4OC1hNjI3LTFhMDA2ZjAzYWViZSIsImRhdGEuZ2lneWFEYXRhQ2VudGVyIjoiZXUxLmdpZ3lhLmNvbSJ9.LnFxt-VV9MPrZM1BlXUfKvmHK1yOHIqDKRKrbcy5NFu2NmhMi_izqATHva1Rl0HOOYjKAMlY_0O6MymOxYODfE0g1kv3OewW3X43Y336K3SjasFExnDqVIUs3D_4PbFXFcPD1x2CIS6UbuVy68BEqoAAHWqymj9P9P_HAfrZ-rqnubLX_l2LKkxSAPupTjvcO1lH8hksucVsJatM9saJlLntrgw3PXDWXEOs7YU5Dkj_5S82JduIGcR-2CQjpSOsktEWHqIwVViSaPfY-OSB7gzYhIMw3xfWcsGuHlphpP412r8gXPCio7PI_G6XOlm-Bs6EJwRn2TT1LF2BjBgejA","apikey":"Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2","Content-Type":"application/vnd.api+json","content-length":0}}}
2021-02-21 12:00:14.380 - info: zoe2.0 (7548) getLocation-url:https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/45bacb45-017d-42f7-8bee-96edb6ceec2d/kamereon/kca/car-adapter/v1/cars/VF1AG000966808321/location?country=DE
2021-02-21 12:00:17.084 - error: zoe2.0 (7548) No valid response from getLocation service
2021-02-21 12:00:17.084 - info: zoe2.0 (7548) error:null

`

Data update broken

Since 07/03 I get an error when starting the adapter.

zoe2.0 | 2020-07-04 08:53:13.574 | error | (6015) Termination forced due to timeout !

There also is a new app on android phone i have to install.

best regards Alfred

Not working anymore

The Adapter is not working anymore:

`

TypeError: Cannot read property 'cookieValue' of undefined at Request._callback (/opt/iobroker/node_modules/iobroker.zoe2/main.js:225:40) at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) at Request.emit (events.js:375:28) at Request. (/opt/iobroker/node_modules/request/request.js:1154:10) at Request.emit (events.js:375:28) at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:481:28) at IncomingMessage.emit (events.js:387:35) at endReadableNT (internal/streams/readable.js:1317:12) at processTicksAndRejections (internal/process/task_queues.js:82:21)

`

Keine Installation möglich

ich habe das Problem dass ich die Version 0.1.3 nicht auf dem Raspi installieren kann. Vorgängerversion ging auf meinem alten System ohne Probleme.
Die Versionen von npm und node bzw. node-js sind alle auf dem aktuellsten Stand.

ich bekomme lediglich folgendes angezeigt:

pi@raspberrypi:/ $ iobroker url https://github.com/fungus75/ioBroker.zoe2/tarball/master/
install https://github.com/fungus75/ioBroker.zoe2/tarball/master/tarball/aca3d74f7fc709c9d7e98e1a2339610bfd6ef42b
NPM version: 6.14.8
npm install https://github.com/fungus75/ioBroker.zoe2/tarball/master/tarball/aca3d74f7fc709c9d7e98e1a2339610bfd6ef42b --loglevel error --prefix "/opt/iobroker" (System call)
upload [1] zoe2.admin /opt/iobroker/node_modules/iobroker.zoe2/admin/zoe.png zoe.png image/png
upload [0] zoe2.admin /opt/iobroker/node_modules/iobroker.zoe2/admin/index_m.html index_m.html text/html
pi@raspberrypi:/ $

vielleicht kann ja jemand helfen ;)

Charge history

Renault seems to have added a charge history to the API.
Maybe you can support that, too.
Thanks.

Entry at "charging_finished_at"

At Objects "charging_finished_at" it is shown as Invalid Date, in Vis the same tag is shown in Zulu time, i,e, 2021-09-16T17:25:30.000Z.
Could it be converted to local time?

No valid response1 from xyz service

Hallo,

seit einiger Zeit crashed der Adapter bei mir immer mal wieder bei der Ausführung.
In einigen Fällen läuft er sauber durch, aber in vielen Fällen kommt es zum Abbruch.

Als ich im Mai mit dem Adapter anfing, lief es sauber. Dann kamen immer mal wieder die Fehler. Habe es erst auf die zickige Renault-Api geschoben, aber da dieser Zustand nun seit weit über einem Monat bei mir so ist - (Adapter ist so für mich unbenutzbar) - wollte ich mal nachfragen, wo es harken könnte.

Hier beispielhaft ein Auszug aus dem Log wo es mal geklappt hat und mal fehlgeschlagen ist.
Zu Stolpern scheint er häufig bei getBatteryStatus service, allerdings auch bei getCockpit:

2022-07-19 09:10:00.159 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18291
2022-07-19 09:10:15.847 - error: zoe2.0 (18291) No valid response1 from getBatteryStatus service
2022-07-19 09:10:15.857 - error: zoe2.0 (18291) Error: timeout of 3000ms exceeded
2022-07-19 09:10:15.892 - error: zoe2.0 (18291) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2022-07-19 09:10:15.895 - error: zoe2.0 (18291) unhandled promise rejection: Cannot read property 'status' of undefined
2022-07-19 09:10:15.899 - error: zoe2.0 (18291) TypeError: Cannot read property 'status' of undefined
at /opt/iobroker/node_modules/iobroker.zoe2/main.js:444:29
2022-07-19 09:10:15.902 - error: zoe2.0 (18291) Cannot read property 'status' of undefined
2022-07-19 09:10:16.529 - error: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2022-07-19 09:20:00.164 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18349
2022-07-19 09:20:17.847 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-07-19 09:30:00.317 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18375
2022-07-19 09:30:13.365 - error: zoe2.0 (18375) No valid response1 from getBatteryStatus service
2022-07-19 09:30:13.393 - error: zoe2.0 (18375) Error: timeout of 3000ms exceeded
2022-07-19 09:30:13.428 - error: zoe2.0 (18375) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2022-07-19 09:30:13.431 - error: zoe2.0 (18375) unhandled promise rejection: Cannot read property 'status' of undefined
2022-07-19 09:30:13.438 - error: zoe2.0 (18375) TypeError: Cannot read property 'status' of undefined
at /opt/iobroker/node_modules/iobroker.zoe2/main.js:444:29
2022-07-19 09:30:13.441 - error: zoe2.0 (18375) Cannot read property 'status' of undefined
2022-07-19 09:30:14.064 - error: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2022-07-19 09:40:00.145 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18474
2022-07-19 09:40:21.176 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-07-19 09:50:00.225 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18518
2022-07-19 09:50:18.294 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-07-19 10:00:00.244 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18541
2022-07-19 10:00:19.844 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-07-19 10:10:00.137 - info: host.ioBroker-Pi instance system.adapter.zoe2.0 started with pid 18641
2022-07-19 10:10:14.643 - error: zoe2.0 (18641) No valid response1 from getBatteryStatus service
2022-07-19 10:10:14.650 - error: zoe2.0 (18641) Error: timeout of 3000ms exceeded
2022-07-19 10:10:14.677 - error: zoe2.0 (18641) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2022-07-19 10:10:14.692 - error: zoe2.0 (18641) unhandled promise rejection: Cannot read property 'status' of undefined
2022-07-19 10:10:14.700 - error: zoe2.0 (18641) TypeError: Cannot read property 'status' of undefined
at /opt/iobroker/node_modules/iobroker.zoe2/main.js:444:29
2022-07-19 10:10:14.703 - error: zoe2.0 (18641) Cannot read property 'status' of undefined
2022-07-19 10:10:15.336 - error: host.ioBroker-Pi instance system.adapter.zoe2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

Installation Problems

Hi,
I tried to install your adapter as described in my PI4B with raspbian, ioBroker, piVCCU3, influxdb and Grafana but it won't work.
First I tried to install it via ioBroker (Install from own source..) but it wouldn't work, then I tried to install via ssh and received the following message:

ZOE Adapter

The Adapter doesn`t show on the Adapter list in ioBroker.

Stoppen der Ladung

Hi,

erstmal vielen Dank das du diese tolle APP gemacht hast. :)

Soweit funktioniert die auch, ich habe nur festgestellt das wenn ich über ioBroker die Ladung bei 80% automatisch stoppen lasse, das dann nach dem stoppen der Lademodus geändert wird von sofortigem Laden auf zeitversetztes Laden und mit als Ladeprogramm 1 00:00 bis 00:15 laden eingesetzt und aktiviert wird.

Ein löschen der Ladeprogramme bringt nichts, nach dem nächsten stoppen der Ladung über die App steht es wieder drin.
Hast du eine Idee woran das liegen könnte?

Zengaja

App throws errors: Log

2022-05-18 09:00:04.734 error Cannot read property 'status' of undefined
zoe2.0 2022-05-18 09:00:04.733 error
zoe2.0 2022-05-18 09:00:04.733 error
zoe2.0 2022-05-18 09:00:04.733 error
zoe2.0 2022-05-18 09:00:04.733 warn
zoe2.0 2022-05-18 09:00:04.732 error
zoe2.0 2022-05-18 09:00:04.732 error
zoe2.0 2022-05-18 09:00:04.731 error

image

What can I do?

Best
M

Zoe wieder nicht mehr erreichbar

Es ist anscheinend wieder soweit. Mein Zoe ist nicht mehr erreichbar und es werden keine Daten vom Server seit ungefähr 2 Wochen übermittelt. Wurde vil wieder die Renault API verändert?

Grüße Max Franiel

GetBatteryStatus is not working

Dear fungus75,

The JSON data format has been changed for battery-status (like in GetLocation).
it is now on a ZOE R135 Z.E.50 (2020)
non charging:
{"data":{"id":"VF1AG000365xxxxxx","attributes":{"timestamp":"2024-04-26T19:34:00Z","batteryLevel":87,"batteryAutonomy":275,"plugStatus":0,"chargingStatus":0,"chargingRemainingTime":2555}}}
charging:
getBatteryStatus:{"data":{"id":"VF1AG000365xxxxxx","attributes":{"timestamp":"2024-04-27T07:24:05Z","batteryLevel":87,"batteryAutonomy":274,"plugStatus":1,"chargingStatus":1,"chargingRemainingTime":135}}}

Therefore, these rows have to be adjusted to:
var charge_level =attributes.data.attributes.batteryLevel;
var plugged =attributes.data.attributes.plugStatus==1;
var charging =attributes.data.attributes.chargingStatus==1;
var remaining_range=attributes.data.attributes.batteryAutonomy;
var remaining_time =attributes.data.attributes.chargingRemainingTime;

I don't get values for battery temperature, charging power, battery capacity and battery available energy.

I have changed and tested it on my iobroker, but this info is for the benefit of the community.

Thanks!

Raw dump of sent request

What is actually sent to server by this code?

data: {
				'type': 'HvacStart',
                		'attributes': {
					'action': 'start',
					'targetTemperature': temperature
				}
			}

How can I simulate it in www.reqbin.com ? I know about the header, the kamereon key, the JWT token, but I miss how to send a payload.

Adapter tut nix mehr

Vorgestern Abend hatte der Adapter das letzte Mal Daten abgerufen, dann nicht mehr. Gestern Abend hatte ich dann mal den js Controller aktualisiert, danach hat er wieder Daten abgerufen. Seit heute früh wieder keine Funktion, keinerlei Meldungen im iobroker Log. Ist das nur bei mir so ?

Adapter throws errors in the log

ZOE2-Adapter throws errors:

2022-03-16 12:00:06.572 error instance system.adapter.zoe2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
zoe2.0 2022-03-16 12:00:06.061 error
zoe2.0 2022-03-16 12:00:06.061 error
zoe2.0 2022-03-16 12:00:06.061 error
zoe2.0 2022-03-16 12:00:06.061 error
zoe2.0 2022-03-16 12:00:06.060 warn
zoe2.0 2022-03-16 12:00:06.060 error
zoe2.0 2022-03-16 12:00:06.060 error
zoe2.0 2022-03-16 12:00:06.059 error

What are we expected to do with this?

Best regards
Michael

image

Adapter no longer sends data since this morning

I have the problem that the adapter has not sent any new data from the ZOE to the iobroker since this morning. Error code in the log file:

host.raspberrypi | 2021-02-01 18:59:02.338 | error | instance system.adapter.zoe2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
zoe2.0 | 2021-02-01 18:59:02.304 | error | (5002) Termination forced due to timeout !
host.raspberrypi | 2021-02-01 18:58:00.024 | warn | instance system.adapter.zoe2.0 already running with pid 5002

Falls deutsch möglich ist, wäre mir das lieber:

Also ich habe das Problem das mein Adapter sich seit heute früh nicht mehr aktualisiert. Die Renault App funktioniert. Hab den Neusten Zoe Baujahr 10/2020.

Mit freundlichen Grüßen
Max Franiel

getLocation

The getLocation function gets back the following JSON structure:

{"data":{"id":"VF1AG0003657xxxxx","attributes":{"lastUpdateTime":"2024-04-06T18:44:27Z","gpsLatitude":49.3456138888889,"gpsLongitude":17.254573333333334}}}

(remark: car-ID, gps coordinates altered in this text)

Therefore, I think that
var gpsLatitude=data.gpsLatitude; (leading to gpsLatitude:undefined)
in main.js does not catch the data element.

I have tested
var gpsLatitude=data.data.attributes.gpsLatitude;
and it works.

The same holds true for gpsLongitude.

Obviously, Renault has changed the data structure on March 5th 2024.

Thanks!

No valid response from getHVACStatus service

Thanks for creating this Adapter for our beloved Zoe (using on a Zoe Phase 2) utilizing the new API. Having installed the Adapter it reads only a limited number of values
Zoe2_Adapter_Stats
(charge_level, charging, plugged and totalMileage), other Objects are created (batteryTemperature, charging_finished_at, remaining_range and remaining_time) are created but no Values are shown and the script simply get's stuck with logging "No valid response from getHVACStatus service".
Zoe2_Adapter_error
I assume the Error maybe thrown because of Issues on Renault side with preCondition not working correctly etc.. (as usual), but I wonder if it is not possible to show the missing Information like I get from the MyRenault App or by using the pyze Scripts (https://github.com/jamesremuscat/pyze)
When I'm using those pyze Scripts I get all Stats shown correctly
pyze_stats
without an error message (Battery level, Available Energy, Range estimate, Plug state, Charging state, Time remaining, Charge Mode, Battery temperature, Total Mileage as well as Cars last GPS Location).

Adapter läuft nicht ZOE 2

Hallo
habe eine(n) ZOE Phase 2 ZE50 (135PS)
seit geraumer zeit, kommt nur die unten angegebene Fehlermeldung, wenn ich den Adapter starte

hier DEBUG log:

host.iobroker | 2021-09-02 12:42:01.644 | error | instance system.adapter.zoe2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
-- | -- | -- | --
zoe2.0 | 2021-09-02 12:42:01.132 | warn | Terminated (UNCAUGHT_EXCEPTION): Without reason
zoe2.0 | 2021-09-02 12:42:01.132 | info | terminating
zoe2.0 | 2021-09-02 12:42:01.132 | debug | cleaned everything up...
zoe2.0 | 2021-09-02 12:42:01.130 | error | Cannot read property 'cookieValue' of undefined
zoe2.0 | 2021-09-02 12:42:01.130 | error | TypeError: Cannot read property 'cookieValue' of undefined at Request._callback (/opt/iobroker/node_modules/iobroker.zoe2/main.js:225:40) at Request.self.callback (/opt/iobroker/node_modules/iobroker.zoe2/node_modules/request/request.js:185:22) at Request.emit (events.js:314:20) at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.zoe2/node_modules/request/request.js:1154:10) at Request.emit (events.js:314:20) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.zoe2/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:420:28) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) at processTicksAndRejections (internal/process/task_queues.js:84:21)
zoe2.0 | 2021-09-02 12:42:01.129 | error | uncaught exception: Cannot read property 'cookieValue' of undefined
zoe2.0 | 2021-09-02 12:42:01.129 | info | sessionInfo:undefined
zoe2.0 | 2021-09-02 12:42:01.129 | info | FullBody:{"callId":"1c41a992c1364daea89439be6e8aa3e2","errorCode":403120,"errorDetails":"Account temporarily locked out","errorMessage":"Account Temporarily Locked Out","apiVersion":2,"statusCode":403,"statusReason":"Forbidden","time":"2021-09-02T10:42:01.106Z"}
zoe2.0 | 2021-09-02 12:42:01.129 | debug | Data received from gigyarooturl server
zoe2.0 | 2021-09-02 12:42:00.938 | debug | in: loginToGigya v0.01
zoe2.0 | 2021-09-02 12:42:00.937 | debug | in: processNextStep, curStep: 1
zoe2.0 | 2021-09-02 12:42:00.937 | info | kamereonapikey:AeeFDeugEZQAem3Sxek7uJn6QeCGEe2
zoe2.0 | 2021-09-02 12:42:00.937 | info | kamereonrooturl:https://api-wired-prod-1-euw1.wrd-aws.com
zoe2.0 | 2021-09-02 12:42:00.937 | info | gigyaapikey:3_7PEksOeBRkRv126x5WhHb-5pqC1qFR8pQjxSeLB6nhAnPERTUlwnYoznHSxwX668
zoe2.0 | 2021-09-02 12:42:00.936 | info | gigyarooturl:https://accounts.eu1.gigya.com
zoe2.0 | 2021-09-02 12:42:00.936 | debug | Data received from Renault server
zoe2.0 | 2021-09-02 12:42:00.682 | debug | out: main
zoe2.0 | 2021-09-02 12:42:00.679 | info | URL: https://renault-wrd-prod-1-euw1-myrapp-one.s3-eu-west-1.amazonaws.com/configuration/android/config_de_DE.json
zoe2.0 | 2021-09-02 12:42:00.679 | info | ignoreApiError:true
zoe2.0 | 2021-09-02 12:42:00.679 | info | Country:DE
zoe2.0 | 2021-09-02 12:42:00.679 | info | VIN:VF1000Xxxyyyyyzzz
zoe2.0 | 2021-09-02 12:42:00.679 | info | Locale:de_DE
zoe2.0 | 2021-09-02 12:42:00.679 | info | Username:[email protected]
zoe2.0 | 2021-09-02 12:42:00.678 | debug | in: main v0.01
zoe2.0 | 2021-09-02 12:42:00.678 | debug | in: processNextStep, curStep: 0
zoe2.0 | 2021-09-02 12:42:00.664 | info | starting. Version 0.2.3 in /opt/iobroker/node_modules/iobroker.zoe2, node: v12.22.1, js-controller: 3.3.15

mein System

iobroker:
Plattform: linux
Betriebssystem: linux
Architektur: x64
CPUs: 4
Geschwindigkeit: 2800 MHz
Modell: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
RAM: 5.86 GB
System-Betriebszeit: 282 T. 19:40:10
Node.js: v12.22.1 (Es gibt eine neuere Version: v12.22.6)
NPM: 6.14.12
Datenträgergröße: 23.5 GB
freier Festplattenspeicher: 15.64 GB
Anzahl der Adapter: 358
Betriebszeit: 23 T. 19:55:27
Aktive Instanzen: 35
location: /opt/iobroker/
Hostname: iobroker

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!

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.