Git Product home page Git Product logo

myrenaultzoedomoticz's People

Contributors

neutrino85 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myrenaultzoedomoticz's Issues

Error parsing json to LUA table

Hi I try to use your script with our car (twingo ZE) but I always get this error:

2022-01-17 15:00:09.309 Error: dzVents: Error: (3.1.8) Zoé_async 2.0: Error parsing json to LUA table: /home/pi/domoticz/dzVents/runtime/JSON.lua:1234: /home/pi/domoticz/dzVents/runtime/JSON.lua:808: expected comma or '}' at byte 434 of: { "battery" : {"data": {"type": "Car", "id": "VF1AH000*********", "attributes": {"timestamp": "2022-01-17T05:57:35Z", "batteryLevel": 53, "batteryTemperature": 20, "batteryAutonomy": 78, "batteryCapacity": 0, "batteryAvailableEnergy": 11, "plugStatus": 0, "chargingStatus": -1.1, "chargingRemainingTime": 70, "chargingInstantaneousPower": 7.2}}},"cockpit" : {"type": "FUNCTIONAL", "messages": [{"code": "err.func.403", "message": "{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}"}], "errors": [{"errorCode": "err.func.403", "errorMessage": "{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}"}], "error_reference": "FUNCTIONAL"},"chargemode" : {"data": {"type": "Car", "id": "VF1AH000*********", "attributes": {"dateTime": "2022-01-17T14:00:04.79637Z", "mode": "always", "schedules": [{"id": 1, "activated": false, "monday": {"startTime": "T05:00Z", "duration": 120}}, {"id": 2, "activated": false}, {"id": 3, "activated": false}, {"id": 4, "activated": false}, {"id": 5, "activated": false}]}}},"location" : {"data": {"type": "Car", "id": "VF1AH000*********", "attributes": {"gpsDirection": "None", "lastUpdateTime": "2022-01-17T05:56:19Z", "gpsLongitude": *.65522039, "gpsLatitude": **.04313648}}},"test" : " ``"}

#I edited the VIN and postion for privacy reasons.

Maybe can you help me to fix the problem?

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.