Closed martinez81 closed 3 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Im konkreten Fall war der Leaf nicht angesteckt. Das Model 3 wurde geladen. Da EVCC aber beim Leaf den Status B erkannt hat, war laut EVCC der Leaf angesteckt. Dies wurde auch auf der Webseite angezeigt.
Tja.
Wenn das Auto an die Wallbox angesteckt wird sollte das SOC und der Status ca. alle 5 Min neu vom Auto übertragen werden.
Das ist der Fall.
Die Konfiguration wäre interessant, ist im Ticket aber leider zerschossen. Ebenso Logfile. Vermutung: das Nissan API liefert kein Update, daher kann evcc auch nichts sehen.
Hier das yaml File.
Wo finde ich das Logfile?
./evcc --log trace
Wie startest Du‘s denn? Systemd? Docker? Ohne die notwendigen Informationen ist das ein Suchspiel...
Ich starte auf ein Raspberry per systemctl.
$ sudo systemctl start evcc.service
evcc.yaml
:[Unit] Description=evcc After=syslog.target [Service] ExecStart=/usr/local/bin/evcc --config /etc/evcc.yaml --log error Restart=always [Install] WantedBy=multi-user.target
Für den Trace starte ich jetzt einmal so: $ sudo evcc --config /etc/evcc.yaml --log trace (Da kommt extrem viel)
pi@Docker:~ $ sudo evcc --config /etc/evcc.yaml --log trace [main ] INFO 2020/11/28 09:15:54 evcc 0.33 (403e953) [main ] INFO 2020/11/28 09:15:54 using config file /etc/evcc.yaml [main ] INFO 2020/11/28 09:15:54 listening at 0.0.0.0:7070 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 01 00 00 00 06 7e 03 9c 40 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 01 00 00 00 07 7e 03 04 53 75 6e 53 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 02 00 00 00 06 7e 03 9c 42 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 02 00 00 00 07 7e 03 04 00 01 00 42 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 03 00 00 00 06 7e 03 9c 86 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 03 00 00 00 07 7e 03 04 00 0b 00 0d [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 04 00 00 00 06 7e 03 9c 95 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 04 00 00 00 07 7e 03 04 00 0c 00 62 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 05 00 00 00 06 7e 03 9c f9 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 05 00 00 00 07 7e 03 04 00 67 00 32 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 06 00 00 00 06 7e 03 9d 2d 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 06 00 00 00 07 7e 03 04 00 78 00 1a [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 07 00 00 00 06 7e 03 9d 49 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 07 00 00 00 07 7e 03 04 00 79 00 1e [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 08 00 00 00 06 7e 03 9d 69 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 08 00 00 00 07 7e 03 04 00 7a 00 2c [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 09 00 00 00 06 7e 03 9d 97 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 09 00 00 00 07 7e 03 04 00 7b 00 18 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0a 00 00 00 06 7e 03 9d b1 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0a 00 00 00 07 7e 03 04 00 7c 00 18 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0b 00 00 00 06 7e 03 9d cb 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0b 00 00 00 07 7e 03 04 00 7e 00 40 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0c 00 00 00 06 7e 03 9e 0d 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0c 00 00 00 07 7e 03 04 00 7f 00 0a [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0d 00 00 00 06 7e 03 9e 19 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0d 00 00 00 07 7e 03 04 00 80 00 0e [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0e 00 00 00 06 7e 03 9e 29 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0e 00 00 00 07 7e 03 04 00 83 00 40 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 0f 00 00 00 06 7e 03 9e 6b 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 0f 00 00 00 07 7e 03 04 00 84 00 40 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 10 00 00 00 06 7e 03 9e ad 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 10 00 00 00 07 7e 03 04 00 a0 00 80 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 11 00 00 00 06 7e 03 9f 2f 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 11 00 00 00 07 7e 03 04 00 81 00 3c [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 12 00 00 00 06 7e 03 9f 6d 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 12 00 00 00 07 7e 03 04 00 82 00 3c [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 13 00 00 00 06 7e 03 9f ab 00 02 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 13 00 00 00 07 7e 03 04 ff ff 00 00 [modbus] TRACE 2020/11/28 09:15:54 modbus: send 00 14 00 00 00 06 7e 03 9c 44 00 42 [modbus] TRACE 2020/11/28 09:15:54 modbus: recv 00 14 00 00 00 87 7e 03 84 53 4d 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 6f 6c 61 72 20 49 6e 76 65 72 74 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 33 34 37 00 00 00 00 00 00 00 00 00 00 00 00 33 2e 31 30 2e 31 31 2e 52 00 00 00 00 00 00 00 33 30 30 36 35 34 37 36 32 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff 80 00 [nissan] TRACE 2020/11/28 09:15:56 POST https://prod.eu.auth.kamereon.org/kauth/json/realms/root/realms/a-ncb-prod/authenticate 200 {"authId":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvdGsiOiJzN2VyOXQ0MGxiMDIyOTRrcmhtbjAydWZ1diIsInJlYWxtIjoibz1hLW5jYi1wcm9kLG91PXNlcnZpY2VzLGRjPWNvbmZpZyxkYz1rYW1lcmVvbixkYz1vcmciLCJzZXNzaW9uSWQiOiJBUUlDNXdNMkxZNFNmY3pLeUhaSFFhd1dLOWtNeTc0VFp4WlRoM183QUJvXzV3Zy4qQUFKVFNRQUNNRElBQWxOTEFCTXpNRE16TmpRMk16UXlOVEUxTmpFeU5qZ3lBQUpUTVFBQ01ERS4qIn0.0aOY6BZvw6-H_NrDbB505IXGWqjNqoXA64bwweHWBYk","template":"","stage":"LDAP1","header":"Sign in","callbacks":[{"type":"NameCallback","output":[{"name":"prompt","value":"User Name:"}],"input":[{"name":"IDToken1","value":""}]},{"type":"PasswordCallback","output":[{"name":"prompt","value":"Password:"}],"input":[{"name":"IDToken2","value":""}]}]} [nissan] TRACE 2020/11/28 09:15:56 POST https://prod.eu.auth.kamereon.org/kauth/json/realms/root/realms/a-ncb-prod/authenticate 200 {"tokenId":"AQIC5wM2LY4SfcwZ_E6hphBmobqfznOLgNFi-OGoZdTsD1E.*AAJTSQACMDIAAlNLABIyNDE3NDc3NDY4NjAyMDEyMzUAAlMxAAIwMQ..*","successUrl":"/kauth/console","realm":"/a-ncb-prod"} [nissan] TRACE 2020/11/28 09:15:56 GET https://prod.eu.auth.kamereon.org/kauth/oauth2/a-ncb-prod/authorize?client_id=a-ncb-prod-android&nonce=sdfdsfez&redirect_uri=org.kamereon.service.nci%3A%2Foauth2redirect&response_type=code&scope=openid+profile+vehicles 302 [nissan] TRACE 2020/11/28 09:15:56 POST https://prod.eu.auth.kamereon.org/kauth/oauth2/a-ncb-prod/access_token?client_id=a-ncb-prod-android&client_secret=3LBs0yOx2XO-3m4mMRW27rKeJzskhfWF0A8KUtnim8i%2FqYQPl8ZItp3IaqJXaYj_&code=e7b41c49-4009-4759-bb10-9d03ed0f1198&grant_type=authorization_code&redirect_uri=org.kamereon.service.nci%3A%2Foauth2redirect 200 {"access_token":"78f7497d-2483-444c-b6fe-5defc9d91773","refresh_token":"08ba011b-2394-4d4f-bbbb-0b4ad81a19c5","scope":"openid profile vehicles","id_token":"eyJ0eXAiOiJKV1QiLCJraWQiOiJTREtaMzBvZXRVWGl3YnArbXlJZ3phMkhmYnM9IiwiYWxnIjoiUlMyNTYifQ.eyJGSUQiOiJLQU1FUkVPTi0zNDg5MjMiLCJhdF9oYXNoIjoidGFpdHpJWXpMYU0yZWprSnN2YXo0USIsImNvdW50cnkiOiJERSIsInN1YiI6IktBTUVSRU9OLTM0ODkyMyIsImF1ZGl0VHJhY2tpbmdJZCI6IjQyZDVlNDIzLTcyMTktNDk1Ny04MDM4LWQ5MzQ2ODQ0NTBmNS0xNDg2NTMzMDgiLCJLSUQiOiIzNDg5MjMiLCJpc3MiOiJodHRwczovL3Byb2QuZXUuYXV0aC5rYW1lcmVvbi5vcmc6NDQzL2thdXRoL29hdXRoMi9hLW5jYi1wcm9kIiwidG9rZW5OYW1lIjoiaWRfdG9rZW4iLCJ2ZWhpY2xlcyI6eyJzZXJ2aWNlcyI6W10sInZlaGljbGVzIjpbeyJndyI6IkFWTiIsInJvbGUiOiJPV05FUiIsInNlcnZpY2VzIjpbXSwidmluIjoiNWM1NmZiMjktMjU1ZC00MGIzLWE0ZWUtMjAzMWJjOTYyNTRjIn1dfSwiZ2l2ZW5fbmFtZSI6IkthdGhhcmluYSIsIm5vbmNlIjoic2RmZHNmZXoiLCJhdWQiOiJhLW5jYi1wcm9kLWFuZHJvaWQiLCJjX2hhc2giOiJORExqeTM0d3AtZDFTdFZqT2lqRlNBIiwib3JnLmZvcmdlcm9jay5vcGVuaWRjb25uZWN0Lm9wcyI6IjA1ODhhOTBhLTE3ZTktNDMyOS1iYWJhLWUwNjM4MjJjYWU4MCIsImF6cCI6ImEtbmNiLXByb2QtYW5kcm9pZCIsImF1dGhfdGltZSI6MTYwNjU1MTM1NiwibmFtZSI6ImthdGhhLnZvZ2VsQGljbG91ZC5jb20iLCJyZWFsbSI6Ii9hLW5jYi1wcm9kIiwiZXhwIjoxNjA2NTU0OTU2LCJ0b2tlblR5cGUiOiJKV1RUb2tlbiIsImZhbWlseV9uYW1lIjoiVm9nZWwiLCJpYXQiOjE2MDY1NTEzNTZ9.oEtenBhHBVsKqS0_6zw532GiZlf6PVVyuPxat70e9yFpCxtSa_pGEuzUYXMAYDa05vko_HHS2aq5YBUc_lXOYAC71FWnu1ZuGMS_POC4ikiVsACC1y-SYQgzJ_hRxlUuVRvWF2K8AGDL7fItyFpkRnfSKzhYH8b9M_lGvXjWesfUKYXc1ev3p73KJcjNlfXF9HxoizPIeovhsrjet6Os0tL8BY4FAjOTlvNnq6TWabs_4Ifo5tsg6Y1VB6ZojwwmFRyLZFICtNQU2hHEw92i1CJXZ2babWZK7yYn-TmgR2Zqc0yBZe1isLgJ9kTf-If72TZIS7PksWo4lua6JSocIox4Th6hVIPM4D1GnHAq-BikVcFSvt6UOuMd3BBOlOIx1YxLGSEG7urXshjq2UCbuNdzL1Y7hl9UkatIYBD7cuU29mrhku9hbNfHKp2E0k8bbIJ-zfmW8Bt_PXS-yGV4dVzaoZIGRqqUYC2gsnI8iO8_lIeYVtDoIreoW1Vy_oqzyZeaR6eIPG7ySzuVIfyeWBWqMIahevsRZ3Ezk98CcYh4owKOD2T3Wrlr87TQuhl0ng5SfvDcoIYSVUxXEO2NP8-zO9JDKFqqxnS2X83vMUtiiWidoR6q4B8iCeTMCgrebsCUvgvT7CMjAOgCcxRojr8EJdLeOcX1ztuDcGpVbyU","token_type":"Bearer","expires_in":21599,"nonce":"sdfdsfez"} [nissan] TRACE 2020/11/28 09:15:57 GET https://alliance-platform-usersadapter-prod.apps.eu.kamereon.io/user-adapter/v1/users/current 200 OK {"userId":"348923"} [nissan] TRACE 2020/11/28 09:15:58 GET https://nci-bff-web-prod.apps.eu.kamereon.io/bff-web/v2/users/348923/cars 200 OK {"data":[{"vin":"SJNFAAZE1U0075472","color":null,"modelName":"Leaf","nickname":null,"energy":"electric","pictureURL":"https://nci-bff-web-prod.apps.eu.kamereon.io/bff-web/ZE1_nissan.png","registrationNumber":null,"firstRegistrationDate":null,"batteryCode":null,"engineType":"","syncStatus":null,"carGateway":"AVN","phase":2,"privacyMode":"off","services":[{"id":12,"activationState":"ACTIVATED","features":[{"id":12,"state":"ACTIVATED"}]},{"id":35,"activationState":"ACTIVATED","features":[{"id":35,"state":"ACTIVATED"}]},{"id":37,"activationState":"ACTIVATED","features":[{"id":37,"state":"ACTIVATED"}]},{"id":40,"activationState":"ACTIVATED","features":[{"id":40,"state":"ACTIVATED"}]},{"id":43,"activationState":"ACTIVATED","features":[{"id":43,"state":"ACTIVATED"}]},{"id":97,"activationState":"ACTIVATED","features":[{"id":97,"state":"ACTIVATED"}]},{"id":202,"activationState":"ACTIVATED","features":[{"id":202,"state":"ACTIVATED"}]},{"id":217,"activationState":"ACTIVATED","features":[{"id":217,"state":"ACTIVATED"}]},{"id":227,"activationState":"ACTIVATED","features":[{"id":227,"state":"ACTIVATED"}]},{"id":229,"activationState":"ACTIVATED","features":[{"id":229,"state":"ACTIVATED"}]},{"id":230,"activationState":"ACTIVATED","features":[{"id":230,"state":"ACTIVATED"}]},{"id":235,"activationState":"ACTIVATED","features":[{"id":235,"state":"ACTIVATED"}]},{"id":243,"activationState":"ACTIVATED","features":[{"id":243,"state":"ACTIVATED"}]},{"id":244,"activationState":"ACTIVATED","features":[{"id":244,"state":"ACTIVATED"}]},{"id":245,"activationState":"ACTIVATED","features":[{"id":245,"state":"ACTIVATED"}]},{"id":246,"activationState":"ACTIVATED","features":[{"id":246,"state":"ACTIVATED"}]},{"id":299,"activationState":"ACTIVATED","features":[{"id":299,"state":"ACTIVATED"}]},{"id":311,"activationState":"ACTIVATED","features":[{"id":311,"state":"ACTIVATED"}]},{"id":314,"activationState":"ACTIVATED","features":[{"id":314,"state":"ACTIVATED"}]},{"id":317,"activationState":"ACTIVATED","features":[{"id":317,"state":"ACTIVATED"}]},{"id [nissan] DEBUG 2020/11/28 09:15:58 found vehicle: SJNFAAZE1U0075472 [semp ] WARN 2020/11/28 09:15:58 SEMP_BASE_URL unspecified, using http://192.168.0.25:7070 instead [cache ] TRACE 2020/11/28 09:15:58 title: GO-eCharger [cache ] TRACE 2020/11/28 09:15:58 minCurrent: 6 [cache ] TRACE 2020/11/28 09:15:58 maxCurrent: 16 [cache ] TRACE 2020/11/28 09:15:58 phases: 3 [cache ] TRACE 2020/11/28 09:15:58 activePhases: 3 [cache ] TRACE 2020/11/28 09:15:58 soc: true [cache ] TRACE 2020/11/28 09:15:58 mode: now [cache ] TRACE 2020/11/28 09:15:58 targetSoC: 80 [cache ] TRACE 2020/11/28 09:15:58 minSoC: 0 [cache ] TRACE 2020/11/28 09:15:58 socLevels: [30 50 80 100] [cache ] TRACE 2020/11/28 09:15:58 socTitle: Leaf [cache ] TRACE 2020/11/28 09:15:58 socCapacity: 40 [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7932309","car":"4","amp":"16","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] INFO 2020/11/28 09:15:58 charger enabled [lp-1 ] DEBUG 2020/11/28 09:15:58 set charge current: 6A [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/mqtt?payload=amp=6 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7932438","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:15:58 chargeCurrent: 6 [cache ] TRACE 2020/11/28 09:15:58 chargeCurrent: 6 [cache ] TRACE 2020/11/28 09:15:58 title: Vogelhaus [site ] INFO 2020/11/28 09:15:58 site config: [site ] INFO 2020/11/28 09:15:58 meters: grid ✓ pv ✓ battery — [cache ] TRACE 2020/11/28 09:15:58 gridConfigured: true [site ] INFO 2020/11/28 09:15:58 grid: power ✓ energy — currents ✓ [site ] INFO 2020/11/28 09:15:58 pv: power ✓ energy — currents — [lp-1 ] INFO 2020/11/28 09:15:58 loadpoint 1: [lp-1 ] INFO 2020/11/28 09:15:58 mode: now [lp-1 ] INFO 2020/11/28 09:15:58 charger: power ✓ energy — currents ✓ timer — [lp-1 ] INFO 2020/11/28 09:15:58 meters: charge ✓ [lp-1 ] INFO 2020/11/28 09:15:58 charge: power ✓ energy — currents ✓ [lp-1 ] INFO 2020/11/28 09:15:58 vehicles: ✓ [lp-1 ] INFO 2020/11/28 09:15:58 car 0: estimate ✓ status ✓ climate — [lp-1 ] INFO 2020/11/28 09:15:58 car 1: estimate — status — climate — [cache ] TRACE 2020/11/28 09:15:58 pvConfigured: true [cache ] TRACE 2020/11/28 09:15:58 batteryConfigured: false [site ] DEBUG 2020/11/28 09:15:58 ---- [cache ] TRACE 2020/11/28 09:15:58 chargeConfigured: true [modbus] TRACE 2020/11/28 09:15:58 modbus: send 00 15 00 00 00 06 7e 03 9c fb 00 32 [modbus] TRACE 2020/11/28 09:15:58 modbus: recv 00 15 00 00 00 67 7e 03 64 00 08 00 03 00 03 00 03 ff ff 0f d3 0f db 0f d4 09 23 09 19 09 31 ff ff 00 11 00 01 13 88 ff fe 00 11 00 01 00 05 00 01 fc 3b ff fd 00 0b bd 80 00 01 ff ff 80 00 ff ff 80 00 80 00 00 01 00 28 80 00 80 00 80 00 00 00 00 05 ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [modbus] TRACE 2020/11/28 09:15:58 Power: 170.00W [site ] DEBUG 2020/11/28 09:15:58 pv power: 170W [site ] DEBUG 2020/11/28 09:15:58 grid power: 1781W [cache ] TRACE 2020/11/28 09:15:58 pvPower: 170 [cache ] TRACE 2020/11/28 09:15:58 gridPower: 1781.4 [site ] TRACE 2020/11/28 09:15:58 grid currents: [0.65 7.21 0.802]A [site ] DEBUG 2020/11/28 09:15:58 site power: 1781W [cache ] TRACE 2020/11/28 09:15:58 gridCurrents: [0.65 7.214 0.802] [cache ] TRACE 2020/11/28 09:15:58 mode: now [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7932548","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:15:58 charge power: 0W [cache ] TRACE 2020/11/28 09:15:58 chargePower: 0 [cache ] TRACE 2020/11/28 09:15:58 chargeCurrent: 6 [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7932582","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:15:58 chargedEnergy: 0 [cache ] TRACE 2020/11/28 09:15:58 chargeDuration: 0s [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7932615","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:15:58 charger status: B [cache ] TRACE 2020/11/28 09:15:58 chargeCurrent: 6 [cache ] TRACE 2020/11/28 09:15:58 connected: true [cache ] TRACE 2020/11/28 09:15:58 charging: false [nissan] TRACE 2020/11/28 09:15:58 GET https://alliance-platform-caradapter-prod.apps.eu.kamereon.io/car-adapter/v1/cars/SJNFAAZE1U0075472/battery-status 200 OK {"data":{"type":"Car","id":"SJNFAAZE1U0075472","attributes":{"chargeStatus":0,"timeRequiredToFullNormal":630,"rangeHvacOn":100,"batteryBarLevel":110,"plugStatus":0,"timeRequiredToFullSlow":1380,"batteryCapacity":40000,"batteryLevel":45,"timeRequiredToFullFast":420,"rangeHvacOff":111,"lastUpdateTime":"2020-11-27T19:03:45Z"}}} [lp-1 ] DEBUG 2020/11/28 09:15:58 vehicle status: A (Leaf) [lp-1 ] DEBUG 2020/11/28 09:15:58 vehicle soc: 45% [cache ] TRACE 2020/11/28 09:15:58 socCharge: 45 [cache ] TRACE 2020/11/28 09:15:58 chargeEstimate: -1ns [cache ] TRACE 2020/11/28 09:15:58 chargeRemainingEnergy: 15555.555555555555 [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7933134","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [go-e ] TRACE 2020/11/28 09:15:58 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7933168","car":"4","amp":"6","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:15:58 set charge current: 7A [cache ] TRACE 2020/11/28 09:15:58 chargeCurrents: [0 0 0] [go-e ] TRACE 2020/11/28 09:15:59 GET http://192.168.0.131/mqtt?payload=amp=7 200 OK {"version":"B","tme":"2811200915","rbc":"1017","rbt":"7933256","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,3.88,3.75,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[225,223,227,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:15:59 chargeCurrent: 7 [cache ] TRACE 2020/11/28 09:15:59 remoteDisabled: [modbus] TRACE 2020/11/28 09:16:03 modbus: closing connection due to idle timeout: 5.000166243s [site ] DEBUG 2020/11/28 09:16:08 ---- [modbus] TRACE 2020/11/28 09:16:08 modbus: send 00 16 00 00 00 06 7e 03 9c fb 00 32 [modbus] TRACE 2020/11/28 09:16:08 modbus: recv 00 16 00 00 00 67 7e 03 64 00 08 00 03 00 03 00 03 ff ff 0f d4 0f d7 0f d5 09 28 09 1a 09 2b ff ff 00 11 00 01 13 87 ff fe 00 11 00 01 00 04 00 01 fc 39 ff fd 00 0b bd 80 00 01 ff ff 80 00 ff ff 80 00 80 00 00 01 00 28 80 00 80 00 80 00 00 00 00 05 ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [modbus] TRACE 2020/11/28 09:16:08 Power: 170.00W [site ] DEBUG 2020/11/28 09:16:08 pv power: 170W [site ] DEBUG 2020/11/28 09:16:08 grid power: 1786W [site ] TRACE 2020/11/28 09:16:08 grid currents: [0.656 7.24 0.8]A [site ] DEBUG 2020/11/28 09:16:08 site power: 1786W [cache ] TRACE 2020/11/28 09:16:08 pvPower: 170 [cache ] TRACE 2020/11/28 09:16:08 gridPower: 1786 [cache ] TRACE 2020/11/28 09:16:08 gridCurrents: [0.656 7.242 0.8] [cache ] TRACE 2020/11/28 09:16:08 mode: now [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942535","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:08 charge power: 0W [cache ] TRACE 2020/11/28 09:16:08 chargePower: 0 [cache ] TRACE 2020/11/28 09:16:08 chargeCurrent: 7 [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942677","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:08 chargedEnergy: 0 [cache ] TRACE 2020/11/28 09:16:08 chargeDuration: 0s [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942741","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:08 charger status: B [cache ] TRACE 2020/11/28 09:16:08 connected: true [cache ] TRACE 2020/11/28 09:16:08 charging: false [lp-1 ] DEBUG 2020/11/28 09:16:08 vehicle status: A (Leaf) [lp-1 ] DEBUG 2020/11/28 09:16:08 vehicle soc: 45% [cache ] TRACE 2020/11/28 09:16:08 socCharge: 45 [cache ] TRACE 2020/11/28 09:16:08 chargeEstimate: -1ns [cache ] TRACE 2020/11/28 09:16:08 chargeRemainingEnergy: 15555.555555555555 [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942826","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942893","car":"4","amp":"7","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:08 set charge current: 8A [cache ] TRACE 2020/11/28 09:16:08 chargeCurrents: [0 0 0] [go-e ] TRACE 2020/11/28 09:16:08 GET http://192.168.0.131/mqtt?payload=amp=8 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7942991","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"7","tma":[4.25,4.00,3.88,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:08 chargeCurrent: 8 [cache ] TRACE 2020/11/28 09:16:08 remoteDisabled: [modbus] TRACE 2020/11/28 09:16:13 modbus: closing connection due to idle timeout: 5.000218875s [site ] DEBUG 2020/11/28 09:16:18 ---- [modbus] TRACE 2020/11/28 09:16:18 modbus: send 00 17 00 00 00 06 7e 03 9c fb 00 32 [modbus] TRACE 2020/11/28 09:16:18 modbus: recv 00 17 00 00 00 67 7e 03 64 00 09 00 03 00 03 00 03 ff ff 0f cf 0f d1 0f d1 09 25 09 16 09 28 ff ff 00 11 00 01 13 87 ff fe 00 12 00 01 00 05 00 01 fc 3a ff fd 00 0b bd 80 00 01 ff ff 80 00 ff ff 80 00 80 00 00 01 00 28 80 00 80 00 80 00 00 00 00 05 ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [modbus] TRACE 2020/11/28 09:16:18 Power: 170.00W [site ] DEBUG 2020/11/28 09:16:18 pv power: 170W [site ] DEBUG 2020/11/28 09:16:18 grid power: 1804W [cache ] TRACE 2020/11/28 09:16:18 pvPower: 170 [cache ] TRACE 2020/11/28 09:16:18 gridPower: 1803.7 [site ] TRACE 2020/11/28 09:16:18 grid currents: [0.656 7.32 0.796]A [site ] DEBUG 2020/11/28 09:16:18 site power: 1804W [cache ] TRACE 2020/11/28 09:16:18 gridCurrents: [0.656 7.322 0.796] [cache ] TRACE 2020/11/28 09:16:18 mode: now [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7952565","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:18 charge power: 0W [cache ] TRACE 2020/11/28 09:16:18 chargePower: 0 [cache ] TRACE 2020/11/28 09:16:18 chargeCurrent: 8 [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7952630","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:18 chargedEnergy: 0 [cache ] TRACE 2020/11/28 09:16:18 chargeDuration: 0s [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7952679","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:18 charger status: B [lp-1 ] DEBUG 2020/11/28 09:16:18 vehicle status: A (Leaf) [lp-1 ] DEBUG 2020/11/28 09:16:18 vehicle soc: 45% [cache ] TRACE 2020/11/28 09:16:18 connected: true [cache ] TRACE 2020/11/28 09:16:18 charging: false [cache ] TRACE 2020/11/28 09:16:18 socCharge: 45 [cache ] TRACE 2020/11/28 09:16:18 chargeEstimate: -1ns [cache ] TRACE 2020/11/28 09:16:18 chargeRemainingEnergy: 15555.555555555555 [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7952827","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7952911","car":"4","amp":"8","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:18 set charge current: 9A [cache ] TRACE 2020/11/28 09:16:18 chargeCurrents: [0 0 0] [go-e ] TRACE 2020/11/28 09:16:18 GET http://192.168.0.131/mqtt?payload=amp=9 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7953018","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.13,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:18 chargeCurrent: 9 [cache ] TRACE 2020/11/28 09:16:18 remoteDisabled: [modbus] TRACE 2020/11/28 09:16:23 modbus: closing connection due to idle timeout: 5.000173452s [site ] DEBUG 2020/11/28 09:16:28 ---- [modbus] TRACE 2020/11/28 09:16:28 modbus: send 00 18 00 00 00 06 7e 03 9c fb 00 32 [modbus] TRACE 2020/11/28 09:16:28 modbus: recv 00 18 00 00 00 67 7e 03 64 00 09 00 03 00 03 00 03 ff ff 0f d3 0f d7 0f d5 09 27 09 18 09 2d ff ff 00 11 00 01 13 86 ff fe 00 12 00 01 00 05 00 01 fc 3a ff fd 00 0b bd 80 00 01 ff ff 80 00 ff ff 80 00 80 00 00 01 00 28 80 00 80 00 80 00 00 00 00 05 ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [modbus] TRACE 2020/11/28 09:16:28 Power: 170.00W [site ] DEBUG 2020/11/28 09:16:28 pv power: 170W [site ] DEBUG 2020/11/28 09:16:28 grid power: 1799W [site ] TRACE 2020/11/28 09:16:28 grid currents: [0.657 7.32 0.786]A [site ] DEBUG 2020/11/28 09:16:28 site power: 1799W [cache ] TRACE 2020/11/28 09:16:28 pvPower: 170 [cache ] TRACE 2020/11/28 09:16:28 gridPower: 1799.4 [cache ] TRACE 2020/11/28 09:16:28 gridCurrents: [0.657 7.321 0.786] [cache ] TRACE 2020/11/28 09:16:28 mode: now [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962593","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:28 charge power: 0W [cache ] TRACE 2020/11/28 09:16:28 chargePower: 0 [cache ] TRACE 2020/11/28 09:16:28 chargeCurrent: 9 [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962643","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:28 chargedEnergy: 0 [cache ] TRACE 2020/11/28 09:16:28 chargeDuration: 0s [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962708","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:28 charger status: B [cache ] TRACE 2020/11/28 09:16:28 connected: true [cache ] TRACE 2020/11/28 09:16:28 charging: false [lp-1 ] DEBUG 2020/11/28 09:16:28 vehicle status: A (Leaf) [lp-1 ] DEBUG 2020/11/28 09:16:28 vehicle soc: 45% [cache ] TRACE 2020/11/28 09:16:28 socCharge: 45 [cache ] TRACE 2020/11/28 09:16:28 chargeEstimate: -1ns [cache ] TRACE 2020/11/28 09:16:28 chargeRemainingEnergy: 15555.555555555555 [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962750","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962875","car":"4","amp":"9","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:28 set charge current: 10A [cache ] TRACE 2020/11/28 09:16:28 chargeCurrents: [0 0 0] [go-e ] TRACE 2020/11/28 09:16:28 GET http://192.168.0.131/mqtt?payload=amp=10 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7962994","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.25],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,224,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:28 chargeCurrent: 10 [cache ] TRACE 2020/11/28 09:16:28 remoteDisabled: [modbus] TRACE 2020/11/28 09:16:33 modbus: closing connection due to idle timeout: 5.00020999s [semp ] TRACE 2020/11/28 09:16:38 send: {XMLName:{Space: Local:} Xmlns:urn:schemas-upnp-org:device-1-0 SpecVersion:{Major:1 Minor:0} Device:{DeviceType:urn:schemas-simple-energy-management-protocol:device:Gateway:1 FriendlyName:evcc Manufacturer:github.com/andig/evcc ModelName:EVCC SEMP Server 0.33 UDN:uuid:f198d770-3151-11eb-8b28-dca632c670e5 PresentationURL:http://192.168.0.25:7070 ServiceDefinition:{Xmlns:urn:schemas-simple-energy-management-protocol:service-1-0 Server:http://192.168.0.25:7070 BasePath:/semp Transport:HTTP/Pull ExchangeFormat:XML WsVersion:1.1.0} ServiceList:[]}} [semp ] TRACE 2020/11/28 09:16:38 send: {Xmlns:http://www.sma.de/communication/schema/SEMP/v1 DeviceInfo:[{Identification:{DeviceID:F-28081973-dca632c670e5-00 DeviceName:GO-eCharger DeviceType:EVCharger DeviceSerial:dca632c670e5-0 DeviceVendor:github.com/andig/evcc} Characteristics:{MinPowerConsumption:1380 MaxPowerConsumption:11040 MinOnTime:0 MinOffTime:0} Capabilities:{CurrentPowerMethod:Measurement AbsoluteTimestamps:false InterruptionsAllowed:true OptionalEnergy:true}}] DeviceStatus:[{DeviceID:F-28081973-dca632c670e5-00 EMSignalsAccepted:false Status:Off PowerInfo:{AveragePower:0 Timestamp:0 AveragingInterval:60}}] PlanningRequest:[{Timeframe:[{DeviceID:F-28081973-dca632c670e5-00 EarliestStart:0 LatestEnd:86400 MinRunningTime:MaxRunningTime: MinEnergy:0x2a2e0a4 MaxEnergy:0x2a2e0a0}]}]} [site ] DEBUG 2020/11/28 09:16:38 ---- [modbus] TRACE 2020/11/28 09:16:38 modbus: send 00 19 00 00 00 06 7e 03 9c fb 00 32 [modbus] TRACE 2020/11/28 09:16:38 modbus: recv 00 19 00 00 00 67 7e 03 64 00 09 00 03 00 03 00 03 ff ff 0f ce 0f d0 0f d0 09 24 09 14 09 2a ff ff 00 11 00 01 13 86 ff fe 00 12 00 01 00 05 00 01 fc 3a ff fd 00 0b bd 80 00 01 ff ff 80 00 ff ff 80 00 80 00 00 01 00 28 80 00 80 00 80 00 00 00 00 05 ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [modbus] TRACE 2020/11/28 09:16:38 Power: 170.00W [site ] DEBUG 2020/11/28 09:16:38 pv power: 170W [site ] DEBUG 2020/11/28 09:16:38 grid power: 1795W [site ] TRACE 2020/11/28 09:16:38 grid currents: [0.655 7.31 0.789]A [site ] DEBUG 2020/11/28 09:16:38 site power: 1795W [cache ] TRACE 2020/11/28 09:16:38 pvPower: 170 [cache ] TRACE 2020/11/28 09:16:38 gridPower: 1795.2 [cache ] TRACE 2020/11/28 09:16:38 gridCurrents: [0.655 7.308 0.789] [cache ] TRACE 2020/11/28 09:16:38 mode: now [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972527","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:38 charge power: 0W [cache ] TRACE 2020/11/28 09:16:38 chargePower: 0 [cache ] TRACE 2020/11/28 09:16:38 chargeCurrent: 10 [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972588","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:38 chargedEnergy: 0 [cache ] TRACE 2020/11/28 09:16:38 chargeDuration: 0s [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972663","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:38 charger status: B [lp-1 ] DEBUG 2020/11/28 09:16:38 vehicle status: A (Leaf) [cache ] TRACE 2020/11/28 09:16:38 connected: true [cache ] TRACE 2020/11/28 09:16:38 charging: false [lp-1 ] DEBUG 2020/11/28 09:16:38 vehicle soc: 45% [cache ] TRACE 2020/11/28 09:16:38 socCharge: 45 [cache ] TRACE 2020/11/28 09:16:38 chargeEstimate: -1ns [cache ] TRACE 2020/11/28 09:16:38 chargeRemainingEnergy: 15555.555555555555 [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972737","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/status 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972795","car":"4","amp":"10","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [lp-1 ] DEBUG 2020/11/28 09:16:38 set charge current: 11A [cache ] TRACE 2020/11/28 09:16:38 chargeCurrents: [0 0 0] [go-e ] TRACE 2020/11/28 09:16:38 GET http://192.168.0.131/mqtt?payload=amp=11 200 OK {"version":"B","tme":"2811200916","rbc":"1017","rbt":"7972932","car":"4","amp":"11","err":"0","ast":"0","alw":"1","stp":"0","cbl":"32","pha":"56","tmp":"6","tma":[4.25,4.00,3.63,4.13],"amt":"32","dws":"0","dwo":"0","adi":"0","uby":"0","eto":"20690","wst":"3","txi":"0","nrg":[226,223,226,1,0,0,0,0,0,0,0,0,0,0,0,0],"fwv":"040.0","sse":"011548","wss":"Runway","wke":"*********","wen":"1","cdi":"0","tof":"101","tds":"1","lbr":"107","aho":"3","afi":"7","azo":"0","ama":"32","al1":"6","al2":"10","al3":"15","al4":"24","al5":"32","cid":"255","cch":"16711751","cfi":"65280","lse":"1","ust":"0","wak":"071281.me","r1x":"2","dto":"0","nmo":"0","sch":"AAAAAAAAAAAAAAAA","sdp":"0","eca":"0","ecr":"0","ecd":"0","ec4":"0","ec5":"0","ec6":"0","ec7":"0","ec8":"0","ec9":"0","ec1":"0","rca":"E74AA55F","rcr":"","rcd":"","rc4":"","rc5":"","rc6":"","rc7":"","rc8":"","rc9":"","rc1":"","rna":"","rnm":"","rne":"","rn4":"","rn5":"","rn6":"","rn7":"","rn8":"","rn9":"","rn1":"","loe":0,"lot":0,"lom":0,"lop":0,"log":"","lon":0,"lof":0,"loa":0,"lch":0,"mce":0,"mcs":"test.mosquitto.org","mcp":1883,"mcu":"","mck":"","mcc":0} [cache ] TRACE 2020/11/28 09:16:38 chargeCurrent: 11 [cache ] TRACE 2020/11/28 09:16:38 remoteDisabled:
Hier nochmal als File: trace.txt.zip
@martinez81 der Hinweis mit dem Logfile hat etwas in die Irre geführt. Was wir bräuchten wäre ein Logfile das zu dem Vorgang oben passt (genau der Zeitpunkt). Wenn Du systemd nutzt solltest Du an das Log mit journalctl
kommen. Könntest Du nochmal schauen ob Du ein dazu passendes findest? Ohne wird's schwer.
Also über journalctl kommt meiner Meinung nach nichts sinnvolles. Tut mir leid.
Reproduzieren kann man das immer. Der Status vom Leaf wird ohne das man über die (Smartphone) App die Daten aktualisiert nicht geändert. Und egal was der Leaf macht, wird nie das 2. Auto (Model 3) in EVCC angezeigt. Gibt es Leute die 2 Autos an einer Wallbox betreiben?
@martinez81 wenn ich dich richtig verstehe, geht es hier nicht darum, dass es ein Problem mit mehreren Fahrzeugen gibt, sondern dass das Nissan api nicht aktualisiert?
Trifft das auf dartnissanconnect dann auch zu? Dann hab ich leider keine Idee 😫
@andig, @martinez81: Ich selbst hole mir die Daten zum SOC mit evcc via script aus meiner postgres DB und verwende zum Befüllen dieser Datenbank meinen eigenen fork von https://github.com/jdhorne/pycarwings2. Ich kann bestätigen, dass bei mir die SOC Daten in der Datenbank zum Teil auch nicht ankommen, wenn die Nissan Server, ich nenne es Mal "spezielle" Probleme haben. Wenn ich die SOC Informationen in der Situation dann z.B. über die Android App "My Leaf" aktualisiere, kommen danach die Daten wieder an. Die Nissan Server sind furchtbar buggy und die API verhält sich immer wieder mal anders. Ich kann bestätigen, dass es vor allem gestern und heute wieder ziemliche Probleme mit der Nissan API gab. Die postgres DB verwende ich um genau dieses Verhalten zu dokumentieren, da ich schon etliche Male Probleme mit den Nissan Servern hatte (deshalb auch mein Fork von pycarwings2) Als Notiz am Rande...
Dass sich Vehicle-API komisch verhalten und unzuverlässig funktionieren gehört offensichtlich zum guten Ton bei den Fahrzeugherstellern. 🙄
Ich selbst hole mir die Daten zum SOC mit evcc via script aus meiner postgres DB und verwende zum Befüllen dieser Datenbank meinen eigenen fork von https://github.com/jdhorne/pycarwings2.
Soweit ich das erkenne ziel das auf das Carwings API ab. Hier gehts um das "neue" Kamereon API das wir aus https://github.com/Tobiaswk/dartnissanconnect portiert haben. Die mögen durchaus unterschiedlich funktionieren. Allerdings gut möglich, dass sie sich eine gemeinsame Infrastruktur teilen die dann auch gerne mal ausfallen darf...
OT @Alex-ander-s magst Dich mal bei Slack melden? Dein Feedback war interessant ;)
@martinez81 wenn ich dich richtig verstehe, geht es hier nicht darum, dass es ein Problem mit mehreren Fahrzeugen gibt, sondern dass das Nissan api nicht aktualisiert?
Trifft das auf dartnissanconnect dann auch zu? Dann hab ich leider keine Idee 😫
Ja, die Nissan API funktioniert nicht wie erwartet.
Ja, die Nissan API funktioniert nicht wie erwartet.
Ok, in dem Fall kann ich nichts tun :(. Du könntest nur beobachten, ob das ein temporäres Problem ist (gut) oder ein prinzipielles (schlecht). In letzterem Falle bliebe wieder nur rauszufinden wie die Nissan App dieses Problem eigentlich umgeht... (decompile, unpin certificates, trace...)
@martinez81 wenn ich dich richtig verstehe, geht es hier nicht darum, dass es ein Problem mit mehreren Fahrzeugen gibt, sondern dass das Nissan api nicht aktualisiert? Trifft das auf dartnissanconnect dann auch zu? Dann hab ich leider keine Idee 😫
Hallo,
habe auch einen Leaf vom Ende 2019, also schon mit der neuen Abfragemethode. Ich kann das Problem aus dem ersten Beitrag bestätigen. Ich habe allerdings EVCC auf einem Raspi nur zu Testzwecken installiert, den Leaf als einziges vehicle konfiguriert und die Fahrzeugdaten mit ./evcc vehicle
abgefragt.
Capacity: 40kWh
State: 67%
Vehicle range: 167km
Charge status: B
Finish time: not available
Das Ergebnis (state) ist in der Tat das, was nach der letzten, vorhergehenden Abfrage mit der Hersteller-App oder alternativ MyLeaf vom Fahrzeug abgerufen wurde. Offenbar wird das in der Nissan-Cloud gecached und das Neueinlesen vom Fahrzeug muss gesondert getriggert werden. Dafür spricht auch der Zeitablauf:
Das Ergebnis von ./evcc vehicle
wird nach ca. 6 Sekunden ausgegeben.
Starte ich MyLeaf, wird nach ca. 5 Sekunden ebenfalls ein alter Wert ausgegeben, ein rotierendes Symbol zeigt jedoch, dass im Hintergrund noch eine Abfrage läuft. Erst nach über einer Minute (letzter Test: 63 Sekunden) wird der SoC auf den richtigen Wert aktualisiert und das rotierende Symbol bleibt stehen.
Gelegentlich nutze ich auch "Leaf Steuerung und Überwachung" (https://android.chk.digital/de/lcc/). Auch hier klappt das Abfragen des tatsächlichen SoC zuverlässig, dauert aber auch ca. 30 Sekunden pro Abfrage. Ich hatte mal mit dem Entwickler Kontakt, auch er setzt auf den bekannten Libs auf.
In der Nissan Connect App wird ebenfalls zunächst der alte Wert gezeigt (ggf. auch der, den MyLeaf einige Minuten vorher aus dem Fahrzeug geholt hat), hier muss man allerdings mehrfach mit einer Wischgeste die Daten aktualisieren, bis ein neuer Wert, der dann auch frisch vom Fahrzeug geholt wurde, angezeigt wird.
Das ganze ist langwierig, aber ich habe bisher nicht bewusst erlebt, dass von den Nissan-Servern keine Daten kamen. Ich vermute, dass das Auslesen aktueller Daten aus dem Fahrzeug gesondert getriggert und das Ergebnis geduldig abgewartet werden muss. MyLeaf bekommt das zuverlässig hin, und die Sourcen sind zugänglich: https://gitlab.com/tobiaswkjeldsen/carwingsflutter. Soweit ich das verstehe wird für ältere Fahrzeuge die dartcarwings-Lib, für Nordamerika die dartnissanconnectna -lib und für Fahrzeuge ab Mai 2019 die dartnissanconnect-lib verwendet... Leider enden da meine Kenntnisse, bin kein Entwickler. Ich denke, man sollte die Sourcen nochmal durchsehen, wie in MyLeaf die Abfrage des Fahrzeugs angestoßen wird.
Soweit erstmal,
Gunnar
Danke @junibart das hilft! Bei https://gitlab.com/tobiaswkjeldsen/carwingsflutter findet sich:
Future<bool> requestBatteryStatusRefresh() async {
var response = await session.requestWithRetry(
endpoint:
'${session.settings['EU']['car_adapter_base_url']}v1/cars/$vin/actions/refresh-battery-status',
additionalHeaders: <String, String>{
'Content-Type': 'application/vnd.api+json'
},
params: {
'data': {'type': 'RefreshBatteryStatus'}
});
return response.statusCode == 200;
}
Future<NissanConnectBattery> requestBatteryStatus() async {
var response = await session.requestWithRetry(
endpoint:
'${session.settings['EU']['car_adapter_base_url']}v1/cars/$vin/battery-status',
method: 'GET');
return NissanConnectBattery(response.body);
}
Damit ist auch klar, wie die Aktualisierung anzustossen ist. Da der Vorgang arg lange dauert würde ich das mal so einbauen, dass wir das Update im Hintergrund anstossen und später (d.h. nach Ablauf des Caches) den neuen Wert bekommen. Geht sicher auch eleganter, wäre aber erstmal einfach zu machen. Damit hängen wir immer 5min hinterher.
Jetzt die spannende Frage: wie oft darf man das aufrufen, ohne dass Nissan das als Abuse betrachtet? Wirklich alle 5min?!
Könnt ihr den PR mal probieren? Wenn die Cachezeit (5min) abgelaufen ist, wird ein Update vom Server angefordert und im Anschluss der Cache gelöscht. In meinen Tests kommt die Updateanforderung allerdings immer sehr schnell zurück- ich bin nicht sicher ob da auch schon der richtige Wert im API zur Verfügung steht?
Bzgl. der Abfrage: abgefragt wird aber nur wenn ein Fahrzeug am Ladepunkte lädt. Nicht das wirklich alle 5 min das Fahrzeug abgefragt wird. Das Fahrzeug sollte „schlafen“ können, wenn nicht geladen wird.
Nicht das wirklich alle 5 min das Fahrzeug abgefragt wird. Das Fahrzeug sollte „schlafen“ können, wenn nicht geladen wird.
Das Verhalten ist immer identisch. Abgefragt wird wenn das Fahrzeug verbunden ist. Woher soll evcc wissen, dass der Zustand nur während des Ladens abgefragt werden soll? Wie finden wir dann raus ob überhaupt geladen werden sollte (minSoC etc)?
Du kannst aber jederzeit der cache Wert erhöhen. Die Frage ist also: was ist sinnvoll/ gewünscht und funktioniert für alle Fahrzeuge?
Nicht das wirklich alle 5 min das Fahrzeug abgefragt wird. Das Fahrzeug sollte „schlafen“ können, wenn nicht geladen wird.
Das Verhalten ist immer identisch. Abgefragt wird wenn das Fahrzeug verbunden ist. Woher soll evcc wissen, dass der Zustand nur während des Ladens abgefragt werden soll? Wie finden wir dann raus ob überhaupt geladen werden sollte (minSoC etc)?
Du kannst aber jederzeit der cache Wert erhöhen. Die Frage ist also: was ist sinnvoll/ gewünscht und funktioniert für alle Fahrzeuge?
Vorschlagen würde ich folgende Logik: EVCC prüft ob ein Ladekabel am Ladepunkt und Auto angeschlossen ist und ob ein Ladestrom ≥ 6A vorhanden ist. Nur dann wird der SOC vom Fahrzeug abgefragt. So könnte das Fahrzeug auch bei angeschlossen Ladekabel, aber bei 0A Ladestrom (z.B. weil keine Sonne, oder soll SOC erreicht) wieder schlafen. Der Abgefragte SOC verbleibt dann im Speicher des EVCC.
Ich kann vom Model 3 sprechen. Wenn da die ganze Nacht das Ladekabel angeschlossen ist, und alle 5 oder 15 min der SOC abgefragt wird, obwohl nicht geladen wird, verliert das Model 3 2-5% SOC/Nacht. Nur wenn das Model 3 schläft ist der Computer aus. Wenn das Model 3 durch SOC Abfragen im Standby gehalten wird, verbraucht das System ca. 300 Watt. Das ist über 12 Stunden ne Menge Holz.
Meine Erfahrung entnehme ich aus Teslamate. Damit logge ich das Model 3.
Ob z.B. der Leaf oder andere E-Autos ähnlich reagieren weiß ich nicht.
VG Martin
Damit würden wir leider nie erfahren ob z.b. der minSoc unterschritten ist und wir einschalten müssten. Es fehlt also noch eine weitere Regel, wie oft im Status B abgefragt werden sollte.
Damit würden wir leider nie erfahren ob z.b. der minSoc unterschritten ist und wir einschalten müssten. Es fehlt also noch eine weitere Regel, wie oft im Status B abgefragt werden sollte.
Meinst du damit: wenn das Auto ein paar Wochen am Lader hängt und dann irgendwann unter den minSOC fällt? Dieser Zustand sollte ja eigentlich extrem selten auftreten. Ggf. Könnte man 1x pro Woche den SOC abfragen und dann entsprechen nachladen.
Oder verstehe ich den minSOC falsch?
Nachtrag: Wenn man das Ladekabel anschließt, sollte natürlich immer einmal der SOC abgefragt werden.
Könnt ihr den PR mal probieren? Wenn die Cachezeit (5min) abgelaufen ist, wird ein Update vom Server angefordert und im Anschluss der Cache gelöscht. In meinen Tests kommt die Updateanforderung allerdings immer sehr schnell zurück- ich bin nicht sicher ob da auch schon der richtige Wert im API zur Verfügung steht?
Hallo, hab den PR installiert und getestet.
Zum Test habe ich meine Testkonfiguration genutzt: nur das Fahrzeug konfiguriert und ./evcc vehicle
aufgerufen.
Die Ausgabe des Kommandos kommt wie bisher nach ca. 6 Sekunden. Die erste Ausgabe zeigt den SoC, der irgendwann vorher vom Fahrzeug abgerufen wurde.
Wird ./evcc vehicle
nach etwa einer Minute erneut aufgerufen, wird ebenfalls nach 6 Sekunden ein aktueller SoC ausgegeben, ohne dass zwischenzeitlich mit einer App extern "nachgeholfen" werden musste. Das Anstoßen des Abrufs vom Fahrzeug im Hintergrund funktioniert offenbar.
Der PR funktioniert also grundsätzlich.
Zur derzeit diskutierten Thematik "Häufigkeit SoC-Abruf" wäre mein Standpunkt: Beim Anstecken des Fahrzeugs einmalig, und während des Ladens nur alle 15 Minuten. Wenn nicht geladen wird, gar nicht.
Hier muss man jetzt nur noch gucken wie man insbesondere das initiale Delay so handhabt, dass auch wirklich "aktiv" bzw. mit schnellem Polling auf das Eintreffen des aktuellen Status nach dem Verbinden gewartet wird und diese Meldung nicht dann erst nach 15 Minuten eintrudelt. Denn z. B. bei der ZOE dauert es auch etwas bis das Fahrzeug sein Statusupdate an das Backend übermittelt hat und dieser dann wiederum vom Client (hier EVCC) abgerufen werden kann. Hier ist der aber der Unterschied zum Leaf, dass das Fahrzeug bei bestimmten Events automatisch ein Update ans Backend absetzt und beim Leaf hier offenbar zunächst aktiv ein Update angefordert werden muss, welches dann irgendwann asynchron eintrifft. Es fehlen offensichtlich beim Leaf die fahrzeugseitigen Trigger. Daher muss man diese von dem Ladepunkt ableiten und explizit versenden. Das Problem ist dort also nicht die API-Abfrage an sich, dann diese wird ja in diesem Fall doppelt gecached (im Backend und in EVCC), sondern das Kommando an das Fahrzeug die aktuellen Daten an das Backend zu senden. Ich hab bei mir daher das Abfrageintervall während das Fahrzeug angeschlossen ist derzeit auf 1 Minute stehen um die Latenz durch den EVCC-internen Cache zu minimieren. Hier gibt es daher bestimmt noch Optimierungspotenzial. Mir scheint es aber sinnvoll bei bestimmten Events (z. B. Kabel angeschlossen/getrennt, Ladevorgang gestartet/beendet) seitens EVCC in jedem Fall neue Daten anzufordern und vielleicht für dann jeweils 5 Minuten im Minutentakt die API verkürzt nach neuen Daten zu polllen. Sonst nur im konfigurierten Intervall.
Zur derzeit diskutierten Thematik "Häufigkeit SoC-Abruf" wäre mein Standpunkt: Beim Anstecken des Fahrzeugs einmalig, und während des Ladens nur alle 15 Minuten. Wenn nicht geladen wird, gar nicht.
Finde ich gut.
Mir scheint es aber sinnvoll bei bestimmten Events (z. B. Kabel angeschlossen/getrennt, Ladevorgang gestartet/beendet) seitens EVCC in jedem Fall neue Daten anzufordern und vielleicht für dann jeweils 5 Minuten im Minutentakt die API nach neuen Daten zu polllen.
Ja, genau in diesen Zuständen ist das Auto sowieso wach, hier kann und sollte der SOC abgefragt werden.
Die Ausgabe des Kommandos kommt wie bisher nach ca. 6 Sekunden. Die erste Ausgabe zeigt den SoC, der irgendwann vorher vom Fahrzeug abgerufen wurde. Wird ./evcc vehicle nach etwa einer Minute erneut aufgerufen, wird ebenfalls nach 6 Sekunden ein aktueller SoC ausgegeben, ohne dass zwischenzeitlich mit einer App extern "nachgeholfen" werden musste. Das Anstoßen des Abrufs vom Fahrzeug im Hintergrund funktioniert offenbar.
Mit der neuen Logik aus #505 werde ich das so umbauen, dass die Aktualisierung dann "inline" erfolgt, das wird sich also nochmal ändern.
Zur derzeit diskutierten Thematik "Häufigkeit SoC-Abruf" wäre mein Standpunkt: Beim Anstecken des Fahrzeugs einmalig, und während des Ladens nur alle 15 Minuten. Wenn nicht geladen wird, gar nicht.
@junibart So stehts in #505, ist darüber hinaus aber noch konfigurierbar.
Mit der neuen Logik aus #505 werde ich das so umbauen, dass die Aktualisierung dann "inline" erfolgt, das wird sich also nochmal ändern.
Ich gehe davon aus, dass es nicht ausreicht direkt nach dem lokalen Event die API abzufragen da das Fahrzeug im schlimmsten Fall auch erstmal aufwachen und dann seinen aktualisierten Zustand übermitteln muss. Diese Zeitspanne ist wohl nicht vorhersehbar. Nicht nur beim Leaf. Daher der Vorschlag mit dem zeitbegrenzten Polling im Minutentakt nach einem lokalen Event.
Das Problem können wir immer noch lösen wenn es eintritt. Bis dahin gilt KISS.
Naja, es tritt heute schon ein. Daher musste ich das Intervall ja bislang generell auf Minimum reduzieren. Hier wäre eine adaptive Lösung die dies nur für eine kurze Zeit nach Events tut daher besser.
PR ist so aktualisiert, dass die Aktualisierung jetzt "inline" erfolgt. In Anbetracht von #505 würde ich dennoch erst mergen wenn die Gefahr der API/Batterieüberlastung gebannt ist.
Wer es sich zutraut könnte jetzt #504 zusammen mit #505 testen.
Ich hab jetzt mal alles gemerged. Wenn es nicht funktioniert bitte hier melden, dann mach ich wieder auf.
Hallo, habe auch ein Problem beim Abrufen von SOC,
ERROR 2022/11/18 22:15:17 vehicle soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'carwings': login failed: Post "https://gdcportalgw.its-mo.com/api_v200413_NE/gdc/InitialApp_v2.php": dial tcp: lookup gdcportalgw.its-mo.com on 1.1.0.1:53: read udp 10.0.0.91:47365->1.1.0.1:53: i/o timeout
Bei der Konfiguration waren die Login Daten bei der Prüfung ok und es gab keine Fehlermeldung. Das ganze läuft auf einer Qnap NAS als Container. Liegt eventuell da das Problem....
Du verwendest Docker und hast vmtl. /etc gemounted; damit ist DNS kaputt. Hat nichts mit Nissan zu tun.
Describe the bug Der SOC und der Status vom Auto aktualisiert sich nicht von selbst. Erst wenn man die App (vom Smartphone) vom Auto öffnet und diese aktualisiert, wird auch der SOC und der Status in EVCC aktualisiert.
Im konkreten Fall war der Leaf nicht angesteckt. Das Model 3 wurde geladen. Da EVCC aber beim Leaf den Status B erkannt hat, war laut EVCC der Leaf angesteckt. Dies wurde auch auf der Webseite angezeigt.
Expected behavior Wenn das Auto an die Wallbox angesteckt wird sollte das SOC und der Status ca. alle 5 Min neu vom Auto übertragen werden.
EVCC details: Show output of
evcc -v
:Show evcc configuration file
evcc.yaml
:Kann ich noch irgend welche Daten liefern?
Gruß Martin