Closed manu3b1 closed 3 years ago
The vehicle is supported, but hvac-status
is not available on all vehicles (see: https://renault-api.readthedocs.io/en/latest/endpoints.html#hvac-status)
In fact, 3 services report errors:
cockpit: Failed to forward request to remote service.
location: Failed to forward request to remote service.
hvac-status: Failed to forward request to remote service.
And in Home Assistant, the 4 sensors are Unavailable:
sensor.fuel_autonomy
sensor.fuel_quantity
sensor.mileage
sensor.outside_temperature
Do you have data available inside the official Renault application? If the official Renault application doesn't show any data, then there isn't much we can do inside this API.
Also, I suggest that you look at these two issues:
The samples will help us work out which cars work and which don't.
Yes, it's works fine with MyRenault App. Do you want me to push a json file beautified from this log:
{
"vin": "VF1AAAA",
"registrationDate": "2018-11-26",
"firstRegistrationDate": "2018-11-26",
"engineType": "M5M",
"engineRatio": "450",
"modelSCR": "MB4",
"deliveryCountry": {
"code": "FR",
"label": "FRANCE"
},
"family": {
"code": "XFB",
"label": "XFB FAMILY",
"group": "007"
},
"tcu": {
"code": "TCU0G2",
"label": "TCU VER 0 GEN 2",
"group": "E70"
},
"navigationAssistanceLevel": {
"code": "",
"label": "",
"group": ""
},
"battery": {
"code": "SANBAT",
"label": "",
"group": "968"
},
"radioType": {
"code": "RAD68A",
"label": "RADIO 68A",
"group": "425"
},
"registrationCountry": {
"code": "FR"
},
"brand": {
"label": "RENAULT"
},
"model": {
"code": "XFB1BI",
"label": "MEGANE IV",
"group": "971"
},
"gearbox": {
"code": "BVA7",
"label": "7-SPEED AUTOMATIC GEARBOX",
"group": "427"
},
"version": {
"code": "GT MVA6R"
},
"energy": {
"code": "ESS",
"label": "PETROL",
"group": "019"
},
"registrationNumber": "REG-",
"vcd": "STANDA/XFB/BFB/EAG/MV/ESS/DG/TEMP/TR4X2/AFURGE/RVDIST/ABS/SBARTO/CA03/TOPAN/PBNCH/LAC/VSTLAR/CPE/RET04/SPROJA/RALU18/CEAVRH/AIRBA2/SERIE/CUI/CUIR04/HARM01/ATAV03/ATAR03/SGAV03/SGAR02/TERQH/BANAL/KM/DPRPN/AVREPL/SSDECA/SFIRBA/ABLAVI/LEDH3/ESPHSA/FPASS/ALEVA/PRGCOF/SOP03C/STHPLG/KITGRV/VLCUI3/RETRCR/TRSEV1/LVAVIP/LVARAP/SASURV/RSGALT/SGACHA/FRA01/APL03/SELAER/SLAVPH/FSTPO/ALOUC5/CMAR3P/RAD68A/BVA7/SCDCOF/4ROUDI/PRIAC2/RDIF13/PNSTRD/ISOFIX/EQPEUR/HRGM01/SANFLT/CSRGAC/SANACF/PREALA/TLRP00/SAN613/SBONOI/SSFAP/AIRBDE/CHC03/PSMREC/AUDCN2/SPFAIR/E06R/SANAD/SSPTLP/CHSPT1/SANCML/SEXTIN/PE2016/PHAS1/SAN913/STHABT/SSTYAD/HYB01/SSCABA/SANBAT/VEC137/XFB1BI/SSNBT/LAVNCH/M5M/DLIGM1/SKTSEC/SRANCF/CDVIT1/KITPOU/KITPGR/SDPSEC/PREM02/FDIU2/MAPSUP/SSCALL/TBANU2/SDANGM/SSRCAR/TCU0G2/AVGSI/ITPK6/MLEXP1/VOLNCH/SPRDEN/PRHMD1/SREACT/AVOSP1/DWGE01/1234Y/SPGTLE/SPGTLI/SPGTLS/AEBS01/PRAHL/SPMIR",
"assets": [
{
"assetType": "PICTURE",
"renditions": [
{
"resolutionType": "ONE_MYRENAULT_LARGE",
"url": "https://3dv.renault.com/ImageFromBookmark?configuration=XFB%2FBFB%2FEAG%2FESS%2FDG%2FRVDIST%2FCA03%2FTOPAN%2FVSTLAR%2FRET04%2FSPROJA%2FRALU18%2FCUI%2FCUIR04%2FSGAR02%2FTERQH%2FKM%2FSSDECA%2FABLAVI%2FLEDH3%2FFPASS%2FALEVA%2FSOP03C%2FVLCUI3%2FRETRCR%2FTRSEV1%2FLVAVIP%2FLVARAP%2FSGACHA%2FSLAVPH%2FRAD68A%2FBVA7%2F4ROUDI%2FPRIAC2%2FRDIF13%2FCSRGAC%2FE06R%2FPE2016%2FSAN913%2FM5M%2FDLIGM1%2FCDVIT1%2FFDIU2%2FTBANU2%2FSDANGM%2FTCU0G2%2FITPK6%2FMLEXP1%2FVOLNCH%2FPRHMD1%2FDWGE01%2FSPGTLE%2FSPGTLI%2FAEBS01&databaseId=bc92a270-432a-4e5f-aa51-fadc63346f50&bookmarkSet=RSITE&bookmark=EXT_34_DESSUS&profile=HELIOS_OWNERSERVICES_LARGE"
},
{
"resolutionType": "ONE_MYRENAULT_SMALL",
"url": "https://3dv.renault.com/ImageFromBookmark?configuration=XFB%2FBFB%2FEAG%2FESS%2FDG%2FRVDIST%2FCA03%2FTOPAN%2FVSTLAR%2FRET04%2FSPROJA%2FRALU18%2FCUI%2FCUIR04%2FSGAR02%2FTERQH%2FKM%2FSSDECA%2FABLAVI%2FLEDH3%2FFPASS%2FALEVA%2FSOP03C%2FVLCUI3%2FRETRCR%2FTRSEV1%2FLVAVIP%2FLVARAP%2FSGACHA%2FSLAVPH%2FRAD68A%2FBVA7%2F4ROUDI%2FPRIAC2%2FRDIF13%2FCSRGAC%2FE06R%2FPE2016%2FSAN913%2FM5M%2FDLIGM1%2FCDVIT1%2FFDIU2%2FTBANU2%2FSDANGM%2FTCU0G2%2FITPK6%2FMLEXP1%2FVOLNCH%2FPRHMD1%2FDWGE01%2FSPGTLE%2FSPGTLI%2FAEBS01&databaseId=bc92a270-432a-4e5f-aa51-fadc63346f50&bookmarkSet=RSITE&bookmark=EXT_34_DESSUS&profile=HELIOS_OWNERSERVICES_SMALL_V2"
}
]
}
],
"yearsOfMaintenance": 12,
"deliveryDate": "2018-11-13",
"retrievedFromDhs": false,
"radioCode": ""
}
Yes please create PR. Please also create PR for car gateway.
Your choice one PR for each or single PR for both.
I've replicated & cloned the repo, created a commit, pushed it and created a PR on my side: https://github.com/manu3b1/renault-api/pull/1
Not sure how to generate a PR on your side.
1 - clone the repo 2 - create a commit 3 - come to "renault-api" before you create the PR
After double check: looks like this json corresponds to my previous Megane (a GT one), not the new E-Tech one. This was due to an old account usage. Everything works fine with new account and new Megane ;-) Sorry. Thx.
I'm glad you solved it...
My Megan IV E-Tech seems to not be supported by this API:
Is there any plan to do so?
Thx.