Salut @Mips
Je viens de voir que tu as fait un plugin myAudi ! Quel joie de voir ça sur le market ! Qui plus est, est gratuit
Je l’ai bien-sûr tout de suite installé !
Puis j’ai désenchantée toutes les valeurs sont à 0 .
Alors c’est peut être normal (Model de 2015) ?
Ou pas.
Je ne sais pas, j’ai fait mon curieux en regardant le code pour voir comment tu récupère les infos, et je suis tombé sur du python que je ne connais vraiment pas
Je pense que tu est le mieux placé pour me dire.
Voici le log en debug (il y a bien une erreur) :
[2020-03-23 22:35:43.077][INFO] : Start daemon
[2020-03-23 22:35:43.077][INFO] : Log level : debug
[2020-03-23 22:35:43.077][DEBUG] : Socket port : 55066
[2020-03-23 22:35:43.077][DEBUG] : PID file : /tmp/jeedom/myaudi/deamon.pid
[2020-03-23 22:35:43.077][DEBUG] : User : xxxxxxx
[2020-03-23 22:35:43.077][DEBUG] : Writing PID 25535 to /tmp/jeedom/myaudi/deamon.pid
[2020-03-23 22:35:43.081][DEBUG] : Init request module v2.21.0
[2020-03-23 22:35:43.081][DEBUG] : Get vehicles...
[2020-03-23 22:35:43.081][DEBUG] : try restore token...
[2020-03-23 22:35:43.084][DEBUG] : Starting new HTTPS connection (1): msg.audi.de:443
[2020-03-23 22:35:43.354][DEBUG] : https://msg.audi.de:443 "GET /fs-car/myaudi/carservice/v2/Audi/DE/vehicles HTTP/1.1" 200 173
[2020-03-23 22:35:43.357][DEBUG] : Starting new HTTPS connection (1): msg.audi.de:443
[2020-03-23 22:35:46.018][DEBUG] : https://msg.audi.de:443 "GET /fs-car/myaudi/carservice/v2/Audi/DE/vehicle/xxxxxx HTTP/1.1" 200 8099
[2020-03-23 22:35:46.021][DEBUG] : Send to jeedom : {'vehicle': 'WAUZZZ8K5Fxxxxxxx', 'csid': '051002c77cd14cfbafcf8179bb53cb75', 'registered': '2019-03-17T10:02:59.060+01:00', 'data': {'Vehicle': {'LifeData': {'MediaData': [{'MediaType': 'MYAAN6NB', 'URL': 'https://mediaservice.audi.com/media/fast/H4sIAAAAAAAAAFvzloG1tIhBPNonK7EsUS8zXy84tSgzMSezKjEpJ9V63QXONcHX33oyMTBUFDAwMDAC1TJFO635LP6DjSPkAVSYcTEq-{'EquipmentChoice': {'BASYS': {'Code': '7AL'}}}, {'EquipmentChoice': {'BASYS': {'Code': '7D5'}}}, {'EquipmentChoice': {'BASYS': {'Code': '7P1'}}}, {'EquipmentChoice': {'BASYS': {'Code': '7T6'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8BP'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8N6'}}}, {'EquipmentChoice': {'BASYS': {'Code': '7X1'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8Q3'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8SK'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8T1'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8X1'}}}, {'EquipmentChoice': {'BASYS': {'Code': '9AQ'}}}, {'EquipmentChoice': {'BASYS': {'Code': '8YQ'}}}, {'EquipmentChoice': {'BASYS': {'Code': '9Q8'}}}, {'EquipmentChoice': {'BASYS': {'Code': '9VD'}}}, {'EquipmentChoice': {'BASYS': {'Code': '9ZW'}}}]}}}}
[2020-03-23 22:35:46.023][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-03-23 22:35:46.041][DEBUG] : http://127.0.0.1:80 "POST /plugins/myaudi/core/php/jeeMyAudi.php?apikey=uDpWTl1xxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2020-03-23 22:35:47.022][DEBUG] : Get vehicle data...
[2020-03-23 22:35:47.023][DEBUG] : Starting new HTTPS connection (1): msg.audi.de:443
[2020-03-23 22:35:47.356][DEBUG] : https://msg.audi.de:443 "GET /fs-car/bs/vsr/v1/Audi/DE/vehicles/WAUZZZ8K5Fxxxxx/status HTTP/1.1" 502 135
[2020-03-23 22:35:47.357][ERROR] : error : API error: {'errorCode': 'VSR.security.9007', 'description': 'The service: statusreport_v1 for VIN: WAUZZZ8K5Fxxxxx could not be found.'}
[2020-03-23 22:35:47.357][DEBUG] : Start listening
[2020-03-23 22:35:47.358][DEBUG] : Socket interface started
[2020-03-23 22:35:47.358][DEBUG] : LoopNetServer Thread started
[2020-03-23 22:35:47.358][DEBUG] : Listening on: [localhost:55066]
PS: j’ai du supprimer la partie avec toutes les images car trop long…
Si tu as besoin de plus d’info, n’hésite pas.
Nicolas.