Skip to content

smart #1 Auto-Detection, SoC, km-Stand u.a. funktionieren bei mir nicht #15772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cyberways opened this issue Aug 28, 2024 · 0 comments · Fixed by #15788
Closed

smart #1 Auto-Detection, SoC, km-Stand u.a. funktionieren bei mir nicht #15772

cyberways opened this issue Aug 28, 2024 · 0 comments · Fixed by #15788
Assignees
Labels
devices Specific device support

Comments

@cyberways
Copy link

cyberways commented Aug 28, 2024

Describe the bug

smart #1 Auto-Detection, SoC, km-Stand u.a. funktionieren bei mir nicht.

Steps to reproduce

Fahrzeug wird nicht erkannt, SoC, km-Stand etc. fehlt und

evcc vehicle --log trace smart endet mit Fehlern:

.Soc: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s()
Capacity: 62.0kWh
Range: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s()
Odometer: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s()
Climater: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s()
Position: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s()

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: ***

interval: 30s # control cycle interval

sponsortoken: ***

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: victron-energy 
  usage: grid  
  host: 192.168.24.11  
  port: 502  
  name: grid
  meterid: 276
- type: template
  template: victron-energy 
  usage: pv  
  host: 192.168.24.11  
  port: 502  
  name: pv
- type: template
  template: victron-energy 
  usage: battery  
  host: 192.168.24.11  
  port: 502  
  name: battery
  minsoc: 25
  capacity: 10

chargers:
- type: template
  template: webasto-next 
  host: 192.168.25.12  
  port: 502  
  name: wallbox

vehicles:
- type: template
  template: bmw 
  title: BMW i3s  
  user: ***  
  password: ***  
  vin: WBY***  
  capacity: 40  
  icon: car  
  cache: 6m  
  #targetSoc: 95  
  maxCurrent: 9  
  name: bmwi3s

- name: smart
  type: template
  template: smart-hello
  title: smart
  icon: car
  capacity: 62
  #maxCurrent: 10
  user: ***
  password: ***
  vin: HESX***

loadpoints:
- title: Webasto NEXT
  charger: wallbox
  mode: minpv

site:
  title: victron energy Multiplus 3~
  meters:
    grid: grid
    pv:
    - pv
    battery:
    - battery
  residualPower: 10

tariffs:
  currency: EUR
  grid:
    type: fixed
    price: 0.28
  feedin:
    type: fixed
    price: 0.082

eebus:
  certificate:
[...] Zertifikate weggelassen

Log details

Hinweis zu den Pfaden: Es gibt die evcc.yaml und evcc.db nur einmal und mit Symlinks, da evcc als daemon und "evcc vehicle --log trace" die Files offenbar an verschiedenen Stellen erwarten.
lrwxrwxrwx 1 root root 23 Aug 28 13:00 /etc/evcc.yaml -> /var/lib/evcc/evcc.yaml
lrwxrwxrwx 1 root root 21 Aug 28 13:02 /root/.evcc/evcc.db -> /var/lib/evcc/evcc.db


Auffälligkeiten im Startup Log:

Meldung beim Start, obwohl Status eigentlich den von Smart gelieferten Daten nach gehen sollte:
[site ] WARN 2024/08/28 13:07:03 vehicle 'smart' does not support automatic detection
[site ] INFO 2024/08/28 13:07:03 vehicle 2: range ✓ finish ✗ status ✗ climate ✓ wakeup ✗


Seit 0.130.3 alle 30s trotz gesetzter meterid und auf 4.31 frisch upgedatetem victron Cerbo GX Steuergerät
[site ] ERROR 2024/08/28 13:07:03 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'




Startup Log


[main ] INFO 2024/08/28 13:07:00 evcc 0.130.6
[main ] INFO 2024/08/28 13:07:00 using config file: /var/lib/evcc/evcc.yaml
[db ] INFO 2024/08/28 13:07:00 using sqlite database: /var/lib/evcc/evcc.db
[eebus ] INFO 2024/08/28 13:07:01 Local SKI: *****
[eebus ] DEBUG 2024/08/28 13:07:01 starting websocket server on :4712
[eebus ] DEBUG 2024/08/28 13:07:01 mdns: announce
[eebus ] DEBUG 2024/08/28 13:07:01 mdns: using zeroconf
[eebus ] DEBUG 2024/08/28 13:07:01 mdns: start search
[main ] INFO 2024/08/28 13:07:01 listening at :7070
[lp-1 ] DEBUG 2024/08/28 13:07:03 charge total import: 3441.572kWh
[site ] WARN 2024/08/28 13:07:03 vehicle 'smart' does not support automatic detection
[site ] INFO 2024/08/28 13:07:03 site config:
[site ] INFO 2024/08/28 13:07:03 meters: grid ✓ pv ✓ battery ✓
[site ] INFO 2024/08/28 13:07:03 grid: power ✓ energy ✗ currents ✓
[site ] INFO 2024/08/28 13:07:03 pv 1: power ✓ energy ✗ currents ✗
[site ] INFO 2024/08/28 13:07:03 battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site ] INFO 2024/08/28 13:07:03 vehicles:
[site ] INFO 2024/08/28 13:07:03 vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✓
[site ] INFO 2024/08/28 13:07:03 vehicle 2: range ✓ finish ✗ status ✗ climate ✓ wakeup ✗
[lp-1 ] INFO 2024/08/28 13:07:03 loadpoint 1:
[lp-1 ] INFO 2024/08/28 13:07:03 mode: minpv
[lp-1 ] INFO 2024/08/28 13:07:03 charger: power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1 ] INFO 2024/08/28 13:07:03 meters: charge ✓
[lp-1 ] INFO 2024/08/28 13:07:03 charge: power ✓ energy ✓ currents ✓
[site ] DEBUG 2024/08/28 13:07:03 set buffer soc: 90
[site ] DEBUG 2024/08/28 13:07:03 set priority soc: 90
[site ] DEBUG 2024/08/28 13:07:03 set battery discharge control: true
[lp-1 ] DEBUG 2024/08/28 13:07:03 phase timer inactive
[lp-1 ] DEBUG 2024/08/28 13:07:03 pv timer inactive
[site ] DEBUG 2024/08/28 13:07:03 ----
[lp-1 ] DEBUG 2024/08/28 13:07:03 charge power: 0W
[lp-1 ] DEBUG 2024/08/28 13:07:03 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/28 13:07:03 pv power: 6623W
[site ] DEBUG 2024/08/28 13:07:03 battery soc: 100%
[site ] DEBUG 2024/08/28 13:07:03 battery power: -26W
[site ] DEBUG 2024/08/28 13:07:03 grid meter: -5617W
[site ] ERROR 2024/08/28 13:07:03 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/28 13:07:03 site power: -5633W
[lp-1 ] DEBUG 2024/08/28 13:07:03 charge total import: 3441.572kWh
[lp-1 ] DEBUG 2024/08/28 13:07:03 charger status: A
[lp-1 ] INFO 2024/08/28 13:07:03 car disconnected
[lp-1 ] DEBUG 2024/08/28 13:07:03 set session soc limit: 0
[lp-1 ] DEBUG 2024/08/28 13:07:03 set session energy limit: 0
[site ] DEBUG 2024/08/28 13:07:33 ----
[lp-1 ] DEBUG 2024/08/28 13:07:33 charge power: 0W
[lp-1 ] DEBUG 2024/08/28 13:07:33 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/28 13:07:33 pv power: 6592W
[site ] DEBUG 2024/08/28 13:07:33 battery soc: 100%
[site ] DEBUG 2024/08/28 13:07:33 battery power: -21W
[site ] DEBUG 2024/08/28 13:07:33 grid meter: -5652W
[site ] ERROR 2024/08/28 13:07:33 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/28 13:07:33 site power: -5663W
[lp-1 ] DEBUG 2024/08/28 13:07:33 charge total import: 3441.572kWh
[lp-1 ] DEBUG 2024/08/28 13:07:33 charger status: A 





# evcc vehicle --log trace smart
[main  ] INFO 2024/08/28 13:03:14 evcc 0.130.6
[main  ] INFO 2024/08/28 13:03:14 using config file: /etc/evcc.yaml
[db    ] INFO 2024/08/28 13:03:14 using sqlite database: /root/.evcc/evcc.db
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT * FROM `settings` 35 <nil>
[eebus ] INFO 2024/08/28 13:03:14 Local SKI:  ******
[eebus ] DEBUG 2024/08/28 13:03:14 starting websocket server on :4712
[eebus ] DEBUG 2024/08/28 13:03:14 mdns: announce
[eebus ] DEBUG 2024/08/28 13:03:14 mdns: using zeroconf
[eebus ] DEBUG 2024/08/28 13:03:14 mdns: start search
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/08/28 13:03:14 SELECT * FROM `configs` WHERE `configs`.`class` = 3 0 <nil>
[smart-hello] TRACE 2024/08/28 13:03:14 GET https://awsapi.future.smart.com/login-app/api/v1/authorize?uiLocales=de-DE&uiLocales=de-DE
[smart-hello] TRACE 2024/08/28 13:03:15 Found. Redirecting to https://auth.smart.com/oidc/op/v1.0/3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a/authorize?response_type=code&client_id=SeQMUFqDOSuEF0Iqi5bB2Dco&redirect_uri=https://awsapi.future.smart.com/login-app/api/v1/FinalPage&scope=openid%20EmailScope%20profile%20address%20phone%20CustScope%20MarketInformation&code_challenge_method=plain&code_challenge=welcometonewsmartloginimplementationoftherplo&nonce=1724842995024&ui_locales=de-DE
[smart-hello] TRACE 2024/08/28 13:03:15 GET https://auth.smart.com/oidc/op/v1.0/3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a/authorize?response_type=code&client_id=SeQMUFqDOSuEF0Iqi5bB2Dco&redirect_uri=https://awsapi.future.smart.com/login-app/api/v1/FinalPage&scope=openid%20EmailScope%20profile%20address%20phone%20CustScope%20MarketInformation&code_challenge_method=plain&code_challenge=welcometonewsmartloginimplementationoftherplo&nonce=1724842995024&ui_locales=de-DE
[smart-hello] TRACE 2024/08/28 13:03:15 GET https://app.id.smart.com/proxy?context=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJqRkJNakV6T1RGQ09EVkJSVE14UVRCQ05qYzBSa1E0T0VZM05EUTRSakJDT0RkRFJVTkZOdyJ9.eyJpc3MiOiJodHRwczovL2F1dGguc21hcnQuY29tL29pZGMvb3AvdjEuMC8zX0w5NGV5US13dkpoV203QWZwMW9CaGZUR1haQXJVZlNISFc5cDlQbmNnNTEzaFpFTFhzeENmTVdIckY4ZjVQNWEvIiwiY3R4X2RjIjoiZXUxIiwiaWF0IjoxNzI0ODQyOTk1LCJleHAiOjE3MjQ4NDM1OTUsImNsaWVudF9pZCI6IlNlUU1VRnFET1N1RUYwSXFpNWJCMkRjbyIsImN0eF9pZCI6IjQ2Y2QyNzQ3NTM2MDQzNzA5ZTBjY2M5MWM4MWY1ZGZhIiwicmVkaXJlY3RfdXJsIjoiaHR0cHM6Ly9hd3NhcGkuZnV0dXJlLnNtYXJ0LmNvbS9sb2dpbi1hcHAvYXBpL3YxL0ZpbmFsUGFnZSJ9.gZ_thnnKO5IRN9Gy0GbZ3m9BSmUMdUN2Fv8bS_rdLnXadI0PpaEI5EFKsjcqrAuTYLBPPvwag5gFKVVVX8v7PsReimmTmDWvKTN5tHduLsz_0P1x2YTfAG4dUTOqYel-9ywuIZO3AT0ixGH4CZxVe0uJGBtrB1BehyVL3Dfk1x0Gi3Zlk3Pzj2vNERqB9WuGOKAZdRLlsOk1RJR-z9s0_r6NAN4D9XsQNrqCZZ8SO36DOuUtxhafrerl31wmrF5nyhPd1IYQKJ2diwTPECl733CB_jNUD3dY4aVyzuFfYNIe-qFsL_8nbz5rD1MAV2UO8PhpfhyUfZH6n0D--yNOcw&client_id=SeQMUFqDOSuEF0Iqi5bB2Dco&mode=login&scope=openid+EmailScope+profile+MarketInformation&gig_ui_locales=de-DE&gig_skipConsent=true
[smart-hello] TRACE 2024/08/28 13:03:15 <!doctype html><html lang="en"><head><meta name="robots" content="noindex,nofollow"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>smart ID</title><link rel="icon" type="image/png" href="/__app__/id/prod/assets/favicon.svg" sizes="any"/><script src="https://cdns.gigya.com/JS/gigya.js?apiKey=3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a"></script><script src="https://cdns.gigya.com/JS/gigya.oidc.js?apiKey=3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a">{
        loginURL: "/login",
        consentURL: "/",
        errorURL: "/"
      }</script></head><body></body></html>
[smart-hello] TRACE 2024/08/28 13:03:15 POST https://auth.smart.com/accounts.login
[smart-hello] TRACE 2024/08/28 13:03:15 APIKey=3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a&authMode=cookie&format=json&include=profile%2Cdata%2Cemails%2Csubscriptions%2Cpreferences&includeUserInfo=true&lang=de&loginID=***&loginMode=standard&pageURL=https%3A%2F%2Fapp.id.smart.com%2Flogin%3Fgig_ui_locales%3Dde-DE&password=***&sdk=js_latest&sdkBuild=15482&sessionExpiration=2592000&source=showScreenSet&targetEnv=jssdk
--
{
  "callId": "5d5d658c09f94a6785e05d45b602930b",
  "errorCode": 0,
  "apiVersion": 2,
  "statusCode": 200,
  "statusReason": "OK",
  "time": "2024-08-28T11:03:15.485Z",
  "registeredTimestamp": 1719321428,
  "UID": "9df50a77635e4c1aabc793912a782785",
  "UIDSignature": "jUEo94qBdG4GVEFKYobp2UPKw5Y=",
  "signatureTimestamp": "1724842995",
  "created": "2024-06-25T13:17:07.904Z",
  "createdTimestamp": 1719321427,
  "data": {
    "browserLanguage": "de",
    "market_Information": "CH",
    "sanctionFlag": false,
    "salutation": "N/A"
  },
  "subscriptions": {},
  "preferences": {
    "terms.smart_termsOfService_EU": {
      "isConsentGranted": true,
      "docVersion": 1.0,
      "lang": "de",
      "lastConsentModified": "2024-06-25T13:17:07.980Z",
      "actionTimestamp": "2024-06-25T13:17:07.980Z",
      "tags": [
        "DefaultLocale(en)"
      ],
      "customData": [
        {
          "key": "Name",
          "value": "smart_termsOfService_EU"
        }
      ],
      "entitlements": [],
      "locales": {
        "de": {
          "docVersion": 1.0,
          "defaultLang": "en"
        }
      }
    },
    "smart_ecosystem_EU": {
      "isConsentGranted": true,
      "docVersion": 1.0,
      "lang": "de",
      "lastConsentModified": "2024-06-25T13:17:07.980Z",
      "actionTimestamp": "2024-06-25T13:17:07.980Z",
      "tags": [
        "DefaultLocale(en)"
      ],
      "customData": [
        {
          "key": "Name",
          "value": "smart_ecosystem_EU"
        }
      ],
      "entitlements": [],
      "locales": {
        "de": {
          "docVersion": 1.0,
          "defaultLang": "en"
        }
      }
    },
    "smart_consentConnectivity_EU": {
      "isConsentGranted": true,
      "docVersion": 1.0,
      "lang": "de",
      "lastConsentModified": "2024-06-25T13:21:08.090Z",
      "actionTimestamp": "2024-06-25T13:21:08.090Z",
      "tags": [
        "DefaultLocale(en)"
      ],
      "customData": [
        {
          "key": "Name",
          "value": "smart_consentConnectivity_EU"
        }
      ],
      "entitlements": [],
      "locales": {
        "de": {
          "docVersion": 1.0,
          "defaultLang": "en"
        }
      }
    },
    "privacy.smart_privacyPolicy_EU": {
      "isConsentGranted": true,
      "docVersion": 1.0,
      "lang": "de",
      "lastConsentModified": "2024-06-25T13:17:07.980Z",
      "actionTimestamp": "2024-06-25T13:17:07.980Z",
      "tags": [
        "DefaultLocale(en)"
      ],
      "customData": [
        {
          "key": "Name",
          "value": "smart_privacyPolicy_EU"
        }
      ],
      "entitlements": [],
      "locales": {
        "de": {
          "docVersion": 1.0,
          "defaultLang": "en"
        }
      }
    }
  },
  "emails": {
    "verified": [
      "***"
    ],
    "unverified": []
  },
  "isActive": true,
  "isRegistered": true,
  "isVerified": true,
  "lastLogin": "2024-08-28T11:03:15.431Z",
  "lastLoginTimestamp": 1724842995,
  "lastUpdated": "2024-06-25T13:24:31.165Z",
  "lastUpdatedTimestamp": 1719321871165,
  "loginProvider": "site",
  "oldestDataUpdated": "2024-06-25T13:17:07.904Z",
  "oldestDataUpdatedTimestamp": 1719321427904,
  "profile": {
    "firstName": "PV",
    "lastName": "Anlage",
    "email": "***"
  },
  "registered": "2024-06-25T13:17:08.656Z",
  "socialProviders": "site",
  "verified": "2024-06-25T13:17:21.817Z",
  "verifiedTimestamp": 1719321441817,
  "userInfo": {
    "UID": "9df50a77635e4c1aabc793912a782785",
    "UIDSig": "GVegW4VeB3fn29ei1OZgomCvoVQ=",
    "UIDSignature": "jUEo94qBdG4GVEFKYobp2UPKw5Y=",
    "signatureTimestamp": "1724842995",
    "isSiteUser": true,
    "isConnected": true,
    "isTempUser": false,
    "isLoggedIn": true,
    "loginProvider": "site",
    "loginProviderUID": "9df50a77635e4c1aabc793912a782785",
    "isSiteUID": true,
    "identities": [
      {
        "provider": "site",
        "providerUID": "9df50a77635e4c1aabc793912a782785",
        "allowsLogin": true,
        "isLoginIdentity": true,
        "isExpiredSession": false,
        "lastUpdated": "2024-08-28T11:03:15.4316293Z",
        "lastUpdatedTimestamp": 1724842995431,
        "oldestDataUpdated": "2024-06-25T13:17:07.904Z",
        "oldestDataUpdatedTimestamp": 1719321427904,
        "firstName": "PV",
        "lastName": "Anlage",
        "nickname": "PV Anlage",
        "email": "***"
      }
    ],
    "nickname": "PV Anlage",
    "firstName": "PV",
    "lastName": "Anlage",
    "email": "***",
    "capabilities": "None",
    "providers": "site",
    "oldestDataUpdatedTimestamp": 1719321427,
    "oldestDataAge": 5521568,
    "statusReason": "OK",
    "statusCode": 200,
    "timestamp": "2024-08-28 11:03:15",
    "time": "2024-08-28T11:03:15.475Z",
    "errorCode": 0
  },
  "newUser": false,
  "sessionInfo": {
    "login_token": "st2.s.AtLt1Y3s9A.mtOZ7ui4O7qPfDepsIsKtLdf_wj550s1MCtpu2cWblY37AYY5R5PdGwg3FOeirPKy-_sijCkYBzPMAgh0gUVKoEzz5VIil9S5rHoFuJl9MaHz_Z7SFiL8Xa791NOZlTO.nOGAGe7gcD_wfLOByTY-sTLM7Bd06i98HHY9Yy2JNIc5VSOeSSD59V0MrocMyKoUE8AF-5Xi_TqPobwMnplA1w.sc3",
    "expires_in": "2592000"
  }
}
[smart-hello] TRACE 2024/08/28 13:03:15 GET https://auth.smart.com/oidc/op/v1.0/3_L94eyQ-wvJhWm7Afp1oBhfTGXZArUfSHHW9p9Pncg513hZELXsxCfMWHrF8f5P5a/authorize/continue?context=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJqRkJNakV6T1RGQ09EVkJSVE14UVRCQ05qYzBSa1E0T0VZM05EUTRSakJDT0RkRFJVTkZOdyJ9.eyJpc3MiOiJodHRwczovL2F1dGguc21hcnQuY29tL29pZGMvb3AvdjEuMC8zX0w5NGV5US13dkpoV203QWZwMW9CaGZUR1haQXJVZlNISFc5cDlQbmNnNTEzaFpFTFhz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4rFNy3Q3RoWgYkuYQPhq-3aLhMQC68vqqX36DHl3ckxA0bJas9ncIhva83lIIstGLX-ftNsz-Qu-80cWD3uxRYrSrzGIDKTGC7-EnaFf_JdqjuIuEesyLXq1ejx7KISDt8aP9Ni4L6ewsRfjkg49_C9BQiIQickN9lirt5564cIQSXJmQ6nAliX99YvGz4q7LMZOWEuCpJ2tBK5RaWhq-2jmVTntwjLM1MGDXiOIGxHlmMr7PMFhdleeIPl8bRUPc9xaWeN2XZFPHASA2k7DA6Gw&refresh_token=st2.s.AtLtWVfRdQ.jgmxECmqJIltnfl5ideNJZ-9evhKetHog_dhqqQzkMmUxGJxtSMMY7TPJqowg1vutMbLQUI2KtKMgTSxiDaPGq198RcHXhOzz1JKllxLNnaV7pyg403RcH_-Q97U1T07.0DBw0tzBL-SaI2_mYysaEDGn2BhdGPLfcEYAGmURQ1WT0pMuY2WqOeiuqmXoy7yzDEj6uIceJdujtjscL-5Acg.sc3
[smart-hello] TRACE 2024/08/28 13:03:15 POST https://api.ecloudeu.com/auth/account/session/secure?identity_type=smart
[smart-hello] TRACE 2024/08/28 13:03:16 {"accessToken":"st2.s.AtLtDATMPw.S7XD9HgSgKdZMIIHqVo908VKsBPinjVOsaMuvCfNZd9iPYgq7W7NK-nT_DlzBb1AUOnEhARtTmJeSnaQNOHyQYPxeC7G6AGH5GN0WWA16JQEvnBcZuSfVnqvzTWuZ0Nj.w-f5qfpHuCDXTPoDHtmXt3nretjYO7QiEZdhE1zB5Z1U5V28ryoTk6vqm67uqavtqH0_iyO9Y33TjjynspW1Mw.sc3"}
--
{"code":1000,"data":{"expiresIn":4579200,"deviceType":"browser","clientId":null,"idToken":"","resultCode":"0","alias":"","accessToken":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyMTkwMDM4NSIsImNsaWVudElkIjoiYnJvd3NlciIsIm1vZHVsZVR5cGUiOiJicm93c2VyIiwiYXBwSWQiOiJTbWFydEFQUEVVIiwiYnVzaW5lc3NJZCI6IiIsImV4cCI6MTczMjYxODk5NiwiZW52IjoicHJvZHVjdGlvbiJ9.Fpe7xtdHZLYb1N9c58VMtOPLRDBHmIgSsmfP-FjZu1Q","tcToken":"","resultMessage":"Success","userId":"21900385","refreshToken":"MTAzQjU2MzFGNzI2NTM0MjNBMTQzMjAxRjEwNUMzNzA="},"success":true,"hint":null,"sessionId":"173d71fa94f-dce4-4904-a2b9-7d1dc4723a66","message":"Successful."}
[smart-hello] TRACE 2024/08/28 13:03:16 GET https://api.ecloudeu.com/device-platform/user/vehicle/secure?needSharedCar=1&userId=21900385
[smart-hello] TRACE 2024/08/28 13:03:16 {"code":"1000","message":null,"hint":null,"httpStatus":"OK","data":{"list":[{"factoryCode":"6105","colorName":"D18 IRIDIUM SILVER","isIHUConfirm":false,"temId":"V89882390000523310391039","ihuPlatform":"tsp","ihuId":"9997226608067002P3200075","carProveStatus":"N","fuelTankCapacity":"0","seriesCodeVs":"HX11","iccid":"89882390000523310392","current":false,"modelCode":"HX11_EUL_BRABUS+_AWD_000","vehicleOwnerLastTime":1724842909000,"vin":"***","fccode":"6105","id":1197117,"msisdn":"882390077222422","vehicleType":0,"engineNo":"P33K3B02L,P27J1707F","temType":"","plateNo":"","tboxPlatform":"tsp","seriesName":"HX11","updateTime":1724820679000,"vehiclePhotoSmall":"","modelName":"HX11_EUL_BRABUS+_AWD_000","proprietaryPlatform":0,"recordTime":1678207230000,"createTime":1678207230000,"simActivited":-1,"vehiclePhotoBig":"","loginInfo":{"isLogined":0,"loginUid":""},"colorCode":"085","defaultVehicle":true,"matCode":"HX1ETD3A61EU010424","shareStatus":"Y"}]},"sessionId":"9f782ec4cecc5b89f5c8316b752a600f","success":true}
[smart-hello] TRACE 2024/08/28 13:03:16 POST https://api.ecloudeu.com/device-platform/user/session/update?identity_type=smart
[smart-hello] TRACE 2024/08/28 13:03:16 {"language":"","sessionToken":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyMTkwMDM4NSIsImNsaWVudElkIjoiYnJvd3NlciIsIm1vZHVsZVR5cGUiOiJicm93c2VyIiwiYXBwSWQiOiJTbWFydEFQUEVVIiwiYnVzaW5lc3NJZCI6IiIsImV4cCI6MTczMjYxODk5NiwiZW52IjoicHJvZHVjdGlvbiJ9.Fpe7xtdHZLYb1N9c58VMtOPLRDBHmIgSsmfP-FjZu1Q","vin":"***"}
--
{"code":"1000","data":{"result":1},"success":true,"hint":"success","httpStatus":"OK","sessionId":"5259666a5cf40d49d9c901b8e8170751","message":"Successful."}
[smart-hello] TRACE 2024/08/28 13:03:16 GET https://api.ecloudeu.com/remote-control/vehicle/status/***?latest=true&target=&userId=21900385
[smart-hello] TRACE 2024/08/28 13:03:16 {"code":"1000","data":{"result":{"serviceResult":{"error":null,"operationResult":1},"sessionId":"PS048570000000024299655705210541"},"vehicleStatus":{"basicVehicleStatus":{"usageMode":"0","engineStatus":"engine_off","position":{"altitude":"","posCanBeTrusted":"","latitude":"","carLocatorStatUploadEn":"false","marsCoordinates":"","longitude":""},"carMode":"0","speed":"0.0","speedValidity":"false","direction":"336"},"notification":{"notifForEmgyCallStatus":"0"},"eg":{"enableRunning":"false","blocked":{"status":"0"},"panicStatus":"false"},"parkTime":{"status":"1724663066216"},"theftNotification":{"time":"1716550899","activated":"2"},"configuration":{"propulsionType":"4","fuelType":"4","vin":"***"},"updateTime":"1724836528000","additionalVehicleStatus":{"maintenanceStatus":{"tyreTempWarningPassengerRear":"0","daysToService":"183","engineHrsToService":"500","odometer":"5028.000","brakeFluidLevelStatus":"3","tyreTempDriverRear":"20.000","tyreTempWarningPassenger":"0","tyreTempWarningDriverRear":"0","mainBatteryStatus":{"stateOfCharge":"1","chargeLevel":"89.5","energyLevel":"0","stateOfHealth":"0","powerLevel":"0","voltage":"12.700"},"tyreTempDriver":"21.000","tyreTempPassengerRear":"20.000","tyrePreWarningDriver":"0","distanceToService":"24972","tyrePreWarningPassengerRear":"0","tyreTempWarningDriver":"0","tyreStatusPassengerRear":"243.021","tyreStatusPassenger":"240.275","tyreStatusDriverRear":"240.275","serviceWarningStatus":"0","tyreStatusDriver":"247.140","tyreTempPassenger":"21.000","tyrePreWarningDriverRear":"0","tyrePreWarningPassenger":"0","washerFluidLevelStatus":"1"},"electricVehicleStatus":{"disChargeUAct":"0.0","disChargeSts":"0","wptFineAlignt":"0","chargeLidAcStatus":"2","distanceToEmptyOnBatteryOnly":"126","distanceToEmptyOnBattery100Soc":"374","chargeSts":"0","averPowerConsumption":"-86.3","chargerState":"0","timeToTargetDisCharged":"2047","distanceToEmptyOnBattery20Soc":"75","disChargeConnectStatus":"0","chargeLidDcAcStatus":"2","dcChargeSts":"0","ptReady":"0","chargeLevel":"33","statusOfChargerConnection":"0","dcDcActvd":"0","indPowerConsumption":"0.0","dcDcConnectStatus":"0","disChargeIAct":"0.0","dcChargeIAct":"0.0","chargeUAct":"0.0","bookChargeSts":"0","chargeIAct":"0.000","timeToFullyCharged":"2047"},"chargeHvSts":"1","drivingBehaviourStatus":{"gearAutoStatus":"0","gearManualStatus":"0","engineSpeed":"0.000"},"runningStatus":{"ahbc":"0","goodbye":"0","homeSafe":"0","cornrgLi":"0","frntFog":"0","stopLi":"0","tripMeter1":"4174.4","approach":"0","tripMeter2":"55.5","indFuelConsumption":"0","hiBeam":"0","engineCoolantLevelStatus":"3","fuelEnLevel":"0","loBeam":"0","posLiRe":"0","ltgShow":"0","welcome":"0","drl":"0","fuelLevelPct":"0","ahl":"0","fuelEnCns":"0","trunIndrLe":"0","trunIndrRi":"0","afs":"0","dbl":"0","avgSpeed":"25","posLiFrnt":"0","reverseLi":"0","hwl":"0","reFog":"0","flash":"0","allwl":"0","fuelEnCnsFild":"0"},"trailerStatus":{"trailerTurningLampSts":"0","trailerFogLampSts":"0","trailerBreakLampSts":"0","trailerReversingLampSts":"0","trailerPosLampSts":"0"},"climateStatus":{"drvHeatSts":"0","winPosDriver":"0","rrVentDetail":"0","rlVentSts":"0","passVentSts":"0","interiorTemp":"22.500","passVentDetail":"0","sunroofPos":"101","cdsClimateActive":"false","sunroofOpenStatus":"1","rrHeatingDetail":"0","winStatusPassenger":"2","fragActive":false,"winStatusDriver":"2","drvVentSts":"0","winStatusPassengerRear":"2","sunCurtainRearOpenStatus":"1","preClimateActive":false,"rlHeatingDetail":"0","winPosPassengerRear":"0","curtainPos":"0","rlVentDetail":"0","curtainOpenStatus":"1","climateOverHeatProActive":"true","rrVentSts":"0","rrHeatingSts":"0","winPosPassenger":"0","steerWhlHeatingSts":"2","drvVentDetail":"0","winPosDriverRear":"0","exteriorTemp":"19.500","rlHeatingSts":"0","winStatusDriverRear":"2","defrost":"false","drvHeatDetail":"2","passHeatingDetail":"2","airBlowerActive":"false","sunCurtainRearPos":"101","passHeatingSts":"0"},"drivingSafetyStatus":{"doorLockStatusDriverRear":"1","srsCrashStatus":"0","doorOpenStatusPassengerRear":"0","doorPosPassengerRear":"0","doorOpenStatusDriver":"0","seatBeltStatusPassenger":"false","doorPosDriver":"0","seatBeltStatusThPassengerRear":"false","electricParkBrakeStatus":"1","doorLockStatusDriver":"1","seatBeltStatusThDriverRear":"false","tankFlapStatus":"2","seatBeltStatusPassengerRear":"false","doorOpenStatusPassenger":"0","doorPosPassenger":"0","vehicleAlarm":{"alrmSt":"1","alrmTrgSrc":"7"},"doorPosDriverRear":"0","centralLockingStatus":"2","seatBeltStatusDriver":"false","doorLockStatusPassenger":"1","seatBeltStatusMidRear":"false","trunkLockStatus":"1","seatBeltStatusDriverRear":"false","engineHoodOpenStatus":"0","doorOpenStatusDriverRear":"0","doorLockStatusPassengerRear":"1","trunkOpenStatus":"0"},"pollutionStatus":{"interiorPM25":"2","interiorSecondPM25Level":"0","interiorPM25Level":"0","relHumSts":"80","exteriorPM25Level":"0"}},"temStatus":{"swVersion":null,"serialNumber":null,"powerSource":null,"networkAccessStatus":{"mobileNetwork":null,"simInfo":{"iccId":null,"imsi":null,"msisdn":null}},"mcuVersion":null,"mpuVersion":null,"backupBattery":{"stateOfCharge":null,"stateOfHealth":null,"voltage":null},"hwVersion":null,"powerMode":null,"healthStatus":null,"sleepCycleNextWakeupTime":null,"rvsEnable":"true","imei":null,"state":null,"connectivityStatus":null}}},"success":true,"hint":null,"httpStatus":"OK","sessionId":"ed425833980e68fd1c5d054e7954116a","message":"operation succeed"}
.Soc:     json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s(<nil>)
Capacity: 62.0kWh
Range:    json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s(<nil>)
Odometer: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s(<nil>)
Climater: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s(<nil>)
Position: json: invalid use of ,string struct tag, trying to unmarshal "" into int: %!s(<nil>)
[eebus ] DEBUG 2024/08/28 13:03:19 mdns: stop announcement
[eebus ] ERROR 2024/08/28 13:03:19 websocket server error: http: Server closed

What type of operating system are you running?

Linux

Version

0.130.6

@andig andig self-assigned this Aug 28, 2024
@andig andig added the devices Specific device support label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants