app icon indicating copy to clipboard operation
app copied to clipboard

App connection not possible

Open TheMr-S opened this issue 2 months ago • 3 comments

Description

I have problems with the App connection to my evcc. The instance works quite fine and there is no problem connecting via a browser on the same device entering the same url. Resetting the App didn't help.

Steps to Reproduce

Just try to connect via app.

Configuration (UI)

{
  "site": {
    "title": "JS - Solar & Liebe",
    "grid": "db:13",
    "pv": ["db:14"],
    "battery": null,
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":4,"name":"db:4","charger":"db:3","title":"Carport","defaultMode":"off","priority":1,"phasesConfigured":1,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":19800000000,"threshold":-1400},"disable":{"delay":45000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}},
    {"id":6,"name":"db:6","charger":"db:5","title":"Straße","defaultMode":"pv","priority":0,"phasesConfigured":0,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":-1400},"disable":{"delay":60000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}},
    {"id":8,"name":"db:8","charger":"db:7","vehicle":"db:11","title":"Garage","defaultMode":"off","priority":2,"phasesConfigured":1,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":6000000000,"threshold":-100},"disable":{"delay":6000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"host":"192.168.140.70","template":"go-e-v3"},"deviceProduct":"go-e Charger Gemini","id":5,"name":"db:5","type":"template"},
    {"config":{"host":"192.168.140.71","template":"go-e"},"deviceProduct":"go-e Charger HOMEfix","id":3,"name":"db:3","type":"template"},
    {"config":{"channel":"0","host":"192.168.140.72","icon":"scooter","password":"***","standbypower":"","template":"shelly"},"deviceProduct":"Shelly Plug S","id":7,"name":"db:7","type":"template"}
  ],
  "meter": [
    {"config":{"host":"192.168.140.41","password":"***","template":"shelly-3em","usage":"grid"},"deviceProduct":"Shelly 3EM (Gen.1)","id":13,"name":"db:13","type":"template"},
    {"config":{"baudrate":19200,"defaultmode":"0","host":"192.168.140.42","id":"1","maxacpower":15000,"modbus":"rs485tcpip","mppt3":"false","storageunit":"1","template":"solax","usage":"pv"},"deviceProduct":"Solax Hybrid X1/X3 G3/G4","deviceTitle":"Solax PV","id":14,"name":"db:14","type":"template"}
  ],
  "vehicle": [
    {"config":{"accessToken":"***","cache":"15m","capacity":45,"icon":"car","mode":"pv","phases":"","refreshToken":"***","template":"opel","title":"Feuerblitz","user":"***"},"deviceProduct":"Opel","id":9,"name":"db:9","type":"template"},
    {"config":{"icon":"meter","identifiers":["Silas","Jessi","Gerrit","Katja","Jörg","Nessi","Felix","Christian"],"mode":"now","template":"offline","title":"Chip-Freischaltung"},"deviceProduct":"Generisches Fahrzeug (ohne API)","id":10,"name":"db:10","type":"template"},
    {"config":{"capacity":0.23,"icon":"scooter","template":"offline","title":"Scooter"},"deviceProduct":"Generisches Fahrzeug (ohne API)","id":11,"name":"db:11","type":"template"},
    {"config":{"cache":3600000000000,"capacity":64,"icon":"car","language":"en","mode":"pv","password":"***","phases":"","template":"kia","title":"Berry","user":"****"},"deviceProduct":"Kia Bluelink","id":15,"name":"db:15","type":"template"}
  ],
  "messaging": "events:
    connect:
        title: Fahrzeug verbunden
        msg: Ladepunkt ${title} belegt.
    disconnect:
        title: Fahrzeug abgesteckt
        msg: Ladepunkt ${title} frei. Geladene Energiemenge ${chargedEnergy:%.1fk} kWh
services:
    - type: telegram
      chats:
        - -****
      token: ****",
  "tariffs": "currency: EUR
grid:
    type: fixed
    price: 0.237
feedin:
    type: fixed
    price: 0.065
co2:
    type: template
    template: green-grid-compass
    apiKey: ***
    zone: DE_LU
solar:
    type: template
    template: solcast
    site: 8633-348a-52fb-be7f
    token: ***
    from: 6
    to: 17
    interval: 3h"
}

Log

[httpd ] TRACE 2025/10/23 10:18:58 GET /api/system/log/areas
[httpd ] TRACE 2025/10/23 10:19:02 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:08 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:18 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:21 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:24 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:27 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:28 GET /
[httpd ] TRACE 2025/10/23 10:19:28 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:28 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:28 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:33 GET /
[httpd ] TRACE 2025/10/23 10:19:33 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:33 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:33 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:38 GET /
[httpd ] TRACE 2025/10/23 10:19:38 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:38 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:38 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:43 GET /
[httpd ] TRACE 2025/10/23 10:19:43 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:43 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:43 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:48 GET /
[httpd ] TRACE 2025/10/23 10:19:48 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:48 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:48 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:53 GET /
[httpd ] TRACE 2025/10/23 10:19:53 GET /assets/index-jzIzkg5e.js
[httpd ] TRACE 2025/10/23 10:19:53 GET /assets/index-BjmASpC6.css
[httpd ] TRACE 2025/10/23 10:19:53 GET /assets/polyfills-BvMkXz-i.js
[httpd ] TRACE 2025/10/23 10:19:54 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:19:54 GET /ws
[httpd ] TRACE 2025/10/23 10:19:57 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:20:00 GET /api/system/log
[httpd ] TRACE 2025/10/23 10:20:03 GET /api/system/log 

Version

v0.209.3

TheMr-S avatar Oct 23 '25 08:10 TheMr-S

@TheMr-S moving this to the app repository. Can you give more information about your setup (device, OS version) and describe the steps you're doing and messages you're seeing?

naltatis avatar Oct 23 '25 15:10 naltatis

I use EVCC on a Synology NAS via docker. My phone is a Pixel 8a with Android 16 (newest Version).

Unfortunately, the problem seems to be intermittant - at the moment the connection works.

I could try to deliver more info (e.g. logs of the App) when the error re-appears, if you tell me how to do it.

There are no real steps to tell you about since I didn't change anything and today everything works. The evcc log (httpd trace) I already provided.

TheMr-S avatar Oct 24 '25 18:10 TheMr-S

Just a wild guess: Is it possible that the App has a shorter timeout-period as a normal browser and that the connection therefore fails when the NAS-CPU is a little bit more loaded than usual?

When the error appears, there is no error message in the app. It is just stuck in the loading screen.

TheMr-S avatar Oct 24 '25 19:10 TheMr-S