evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Tronity: Probleme mit 0.124.7

Open MMA150475 opened this issue 2 years ago • 23 comments

Describe the bug

Ich habe eben auf 0.124.7 upgedated, und jetzt hängt evcc. Nach dem downgrade zurück auf 0.124.6 gehts wieder. Im Anhang mein Log.

Gibts da irgend etwas was ich in der yaml wegmachen muss? Oder etwas mit der Datenbank anderst?

Steps to reproduce

1. 2. 3. ...

Configuration details

meters:
- type: template
  template: kostal-plenticore 
  id: 71  
  host: xxx 
  port: 1502  
  usage: pv  
  modbus: tcpip  
  name: pv1
- type: template
  template: kostal-ksem-inverter 
  id: 71  
  host:xxx
  port: 1502  
  usage: grid  
  modbus: tcpip  
  name: grid3

chargers:
- type: template
  template: go-e-v3 
  host: xxxx
  name: wallbox5

vehicles:
  - name: Mokka-e
    type: template
    template: tronity
    title: Papa's Flitzer Tronity
    clientid: xxxx
    clientsecret: xxxx
    capacity: 47.5 
#  - name: ev4
#    type: template
#    template: opel 
#    title: Papa's Flitzer  
#    user: xxxxxxxxxxx
#    password: xxxxxxxxxxx
#    capacity: 50  
#    icon: tractor


loadpoints:
- title: Schuppen
  vehicle: Mokka-e
  charger: wallbox5
  mode: pv
  phases: 0                 # 0 = Phasenautomatik
  enable:
    threshold: -300         # schaltet ein wenn 1 Minute lang stabil mind. 300W Export war
    delay: 1m
  disable:
    threshold: 1100          # schaltet aus wenn 10 Minuten lang mehr als 1100W aus dem Netz bezogen wurde
    delay: 10m
  guardduration: 15m        # wartet mindestens 15 Minuten zwischen zwei Ladevorgängen

site:
  title: Schloss Maier
  meters:
    grid: grid3
    pv:
    - pv1

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price with price zones)
    type: fixed
    price: 0.3397 # EUR/kWh in der Nacht 
    zones:
      - days: Mo-So
        hours: 0-6
        price: 0.3397 # EUR/kWh Tagespreis
      - days: Mo-So
        hours: 6-22
        price: 0.3576 # EUR/kWh Tagespreis
      - days: Mo-So
        hours: 22-0
        price: 0.3397 # EUR/kWh Tagespreis
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.1159 # [currency]/kWh

Log details

raspberrypi systemd[1]: Stopping evcc...
Mar  6 14:38:19 raspberrypi evcc[10613]: [lp-1  ] DEBUG 2024/03/06 14:38:19 charge total import: 1849.848kWh
Mar  6 14:38:19 raspberrypi systemd[1]: evcc.service: Succeeded.
Mar  6 14:38:19 raspberrypi systemd[1]: Stopped evcc.
Mar  6 14:38:29 raspberrypi systemd[1]: Reloading.
Mar  6 14:38:29 raspberrypi systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid → /run/xrdp/xrdp.pid; please update the unit file accordingly.
Mar  6 14:38:29 raspberrypi systemd[1]: /lib/systemd/system/xrdp-sesman.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp-sesman.pid → /run/xrdp/xrdp-sesman.pid; please update the unit file accordingly.
Mar  6 14:38:34 raspberrypi systemd[1]: Reloading.
Mar  6 14:38:34 raspberrypi systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid → /run/xrdp/xrdp.pid; please update the unit file accordingly.
Mar  6 14:38:34 raspberrypi systemd[1]: /lib/systemd/system/xrdp-sesman.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp-sesman.pid → /run/xrdp/xrdp-sesman.pid; please update the unit file accordingly.
Mar  6 14:38:36 raspberrypi systemd[1]: Started evcc.
Mar  6 14:38:37 raspberrypi evcc[10754]: [main  ] INFO 2024/03/06 14:38:37 evcc 0.124.6
Mar  6 14:38:37 raspberrypi evcc[10754]: [main  ] INFO 2024/03/06 14:38:37 using config file: /etc/evcc.yaml
Mar  6 14:38:37 raspberrypi evcc[10754]: [main  ] INFO 2024/03/06 14:38:37 starting ui and api at :7070
Mar  6 14:38:38 raspberrypi evcc[10754]: [db    ] INFO 2024/03/06 14:38:38 using sqlite database: /var/lib/evcc/evcc.db
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:46 charge total import: 1849.858kWh
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46 site config:
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46   meters:      grid ✓ pv ✓ battery ✗
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46     grid:      power ✓ energy ✗ currents ✗
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46     pv 1:      power ✓ energy ✗ currents ✗
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46   vehicles:
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] INFO 2024/03/06 14:38:46     vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✗
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46 loadpoint 1:
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46   mode:        pv
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46   meters:      charge ✓
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46     charge:    power ✓ energy ✓ currents ✓
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:46 phase timer inactive
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:46 pv timer inactive
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:46 vehicle updated: unknown -> Papa's Flitzer Tronity
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:46 max charge current: 6A
Mar  6 14:38:46 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:38:46 ----
Mar  6 14:38:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:46 charge power: 1325W
Mar  6 14:38:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:38:47 pv power: 761W
Mar  6 14:38:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:38:47 grid meter: 1068W
Mar  6 14:38:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:38:47 site power: 1068W
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 vehicle odometer: 9111km
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 charge currents: [5.97 0 0]A
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 charge total import: 1849.858kWh
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 charger status: C
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:47 car connected
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 pv timer elapse
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 pv timer inactive
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 charge total import: 1849.858kWh
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] INFO 2024/03/06 14:38:47 start charging ->
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 wake-up timer: stop
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 vehicle status: C
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 vehicle soc: 40%
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 vehicle range: 84km
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 available power 256W < 4140W min 3p threshold
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 start phase scale1p timer
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 phase scale1p in 10m0s
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 pv charge current: 4.45A = 6A + -1.55A (1068W @ 3p)
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 pv disable timer reset
Mar  6 14:38:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:38:47 pv timer inactive
Mar  6 14:38:47 raspberrypi evcc[10754]: [main  ] INFO 2024/03/06 14:38:47 new version available: 0.124.7
Mar  6 14:39:02 raspberrypi kernel: [31120.383557] Voltage normalised (0x00000000)
Mar  6 14:39:08 raspberrypi kernel: [31126.623678] Under-voltage detected! (0x00050005)
Mar  6 14:39:16 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:16 ----
Mar  6 14:39:16 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:16 charge power: 1323W
Mar  6 14:39:17 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:17 pv power: 776W
Mar  6 14:39:17 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:17 grid meter: 1051W
Mar  6 14:39:17 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:17 site power: 1051W
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 vehicle odometer: 9111km
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 charge currents: [5.97 0 0]A
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 detected active phases: 1p
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 charge total import: 1849.869kWh
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 charger status: C
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 soc estimated: 40.02% (vehicle: 40.00%)
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 vehicle soc: 40%
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 vehicle range: 84km
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 phase timer inactive
Mar  6 14:39:17 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:17 pv charge current: 1.43A = 6A + -4.57A (1051W @ 1p)
Mar  6 14:39:18 raspberrypi kernel: [31137.023706] Under-voltage detected! (0x00050005)
Mar  6 14:39:21 raspberrypi systemd[1]: Starting Clean php session files...
Mar  6 14:39:22 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Mar  6 14:39:22 raspberrypi systemd[1]: Started Clean php session files.
Mar  6 14:39:46 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:46 ----
Mar  6 14:39:46 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:46 charge power: 1320W
Mar  6 14:39:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:47 pv power: 789W
Mar  6 14:39:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:47 grid meter: 1037W
Mar  6 14:39:47 raspberrypi evcc[10754]: [site  ] DEBUG 2024/03/06 14:39:47 site power: 1037W
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 charge currents: [5.97 0 0]A
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 detected active phases: 1p
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 charge total import: 1849.880kWh
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 charger status: C
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 soc estimated: 40.04% (vehicle: 40.00%)
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 vehicle soc: 40%
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 vehicle range: 84km
Mar  6 14:39:47 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:39:47 pv charge current: 1.49A = 6A + -4.51A (1037W @ 1p)
Mar  6 14:39:53 raspberrypi dhcpcd[452]: wlan0: Router Advertisement from fe80::1eed:6fff:fe85:8ded
Mar  6 14:40:04 raspberrypi systemd[1]: Stopping evcc...
Mar  6 14:40:04 raspberrypi evcc[10754]: [lp-1  ] DEBUG 2024/03/06 14:40:04 charge total import: 1849.886kWh
Mar  6 14:40:04 raspberrypi systemd[1]: evcc.service: Succeeded.
Mar  6 14:40:04 raspberrypi systemd[1]: Stopped evcc.
Mar  6 14:40:06 raspberrypi dhcpcd[452]: wlan0: Router Advertisement from fe80::1eed:6fff:fe85:8ded
Mar  6 14:40:14 raspberrypi systemd[1]: Reloading.
Mar  6 14:40:15 raspberrypi systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid → /run/xrdp/xrdp.pid; please update the unit file accordingly.
Mar  6 14:40:15 raspberrypi systemd[1]: /lib/systemd/system/xrdp-sesman.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp-sesman.pid → /run/xrdp/xrdp-sesman.pid; please update the unit file accordingly.
Mar  6 14:40:21 raspberrypi systemd[1]: Reloading.
Mar  6 14:40:22 raspberrypi systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid → /run/xrdp/xrdp.pid; please update the unit file accordingly.
Mar  6 14:40:22 raspberrypi systemd[1]: /lib/systemd/system/xrdp-sesman.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp-sesman.pid → /run/xrdp/xrdp-sesman.pid; please update the unit file accordingly.
Mar  6 14:40:23 raspberrypi systemd[1]: Started evcc.
Mar  6 14:40:24 raspberrypi evcc[10993]: [main  ] INFO 2024/03/06 14:40:24 evcc 0.124.7
Mar  6 14:40:24 raspberrypi evcc[10993]: [main  ] INFO 2024/03/06 14:40:24 using config file: /etc/evcc.yaml
Mar  6 14:40:24 raspberrypi evcc[10993]: [main  ] INFO 2024/03/06 14:40:24 starting ui and api at :7070
Mar  6 14:40:25 raspberrypi evcc[10993]: [db    ] INFO 2024/03/06 14:40:25 using sqlite database: /var/lib/evcc/evcc.db

What type of operating system are you running?

Linux

Version

0.124.7

MMA150475 avatar Mar 06 '24 13:03 MMA150475

Kann ich bestätigen, neue Version läßt sich nicht aufrufen.

Semmy100 avatar Mar 06 '24 13:03 Semmy100

Fehlerbeschreibung fehlt.

andig avatar Mar 06 '24 13:03 andig

@andig

Fehlerbeschreibung:

Die Oberfläche lässt sich nicht mehr aufrufen. EVCC belibt genau dort stehen wo das Logfile endet.

MMA150475 avatar Mar 06 '24 14:03 MMA150475

Mhhm. Dann bitte mal mit log: trace starten und zusätzlich --profile analog https://github.com/evcc-io/evcc/discussions/12700#discussioncomment-8686351 starten.

andig avatar Mar 06 '24 14:03 andig

Wenn ichs richtig verstanden habe muss ich im Browser (auf meinem Arbeits-PC) einfach /debug/pprof dranhängen? Das sieht dann so aus: http://192.168.178.105:7070/#/debug/pprof

Aber da kommt dann trotzdem nix - oder muss ich das auf dem pi machen?

Hier das Log vom Start mit --profile

pi@raspberrypi:~ $ evcc --profile -c evcc.yaml [main ] INFO 2024/03/06 16:08:25 evcc 0.124.7 [main ] INFO 2024/03/06 16:08:25 using config file: evcc.yaml [main ] INFO 2024/03/06 16:08:25 starting ui and api at :7070 [db ] INFO 2024/03/06 16:08:26 using sqlite database: /home/pi/.evcc/evcc.db [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type='table' AND name="settings" -1 [db ] TRACE 2024/03/06 16:08:26 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 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM settings LIMIT 1 -1 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM settings 17 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type='table' AND name="devices" -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type='table' AND name="device_details" -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type='table' AND name="configs" -1 [db ] TRACE 2024/03/06 16:08:26 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 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM configs LIMIT 1 -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type='table' AND name="config_details" -1 [db ] TRACE 2024/03/06 16:08:26 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM config_details LIMIT 1 -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT fk_configs_details%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT fk_configs_details %") -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count() FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT fk_devices_details%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT fk_devices_details %") -1 [db ] TRACE 2024/03/06 16:08:26 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%device_id%" OR sql LIKE "%[device_id]%" OR sql LIKE "% device_id %") -1 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 01 00 00 00 06 47 03 9c 40 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 01 00 00 00 07 47 03 04 53 75 6e 53 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 02 00 00 00 06 47 03 9c 42 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 02 00 00 00 07 47 03 04 00 01 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 03 00 00 00 06 47 03 9c 86 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 03 00 00 00 07 47 03 04 00 67 00 32 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 04 00 00 00 06 47 03 9c ba 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 04 00 00 00 07 47 03 04 00 71 00 3c [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 05 00 00 00 06 47 03 9c f8 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 05 00 00 00 07 47 03 04 00 78 00 1a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 06 00 00 00 06 47 03 9d 14 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 06 00 00 00 07 47 03 04 00 7b 00 18 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 07 00 00 00 06 47 03 9d 2e 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 07 00 00 00 07 47 03 04 00 a0 00 44 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 08 00 00 00 06 47 03 9d 74 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 08 00 00 00 07 47 03 04 03 22 00 3e [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 09 00 00 00 06 47 03 9d b4 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 09 00 00 00 07 47 03 04 ff ff 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0a 00 00 00 06 47 03 9c 44 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0a 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0b 00 00 00 06 47 03 9d 30 00 08 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0b 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0c 00 00 00 06 47 03 9d 38 00 14 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0c 00 00 00 2b 47 03 28 00 01 44 43 5f 53 54 52 49 4e 47 5f 31 20 20 20 20 20 00 15 14 63 00 6f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0d 00 00 00 06 47 03 9c 40 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0d 00 00 00 07 47 03 04 53 75 6e 53 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0e 00 00 00 06 47 03 9c 42 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0e 00 00 00 07 47 03 04 00 01 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 0f 00 00 00 06 47 03 9c 86 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 0f 00 00 00 07 47 03 04 00 67 00 32 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 10 00 00 00 06 47 03 9c ba 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 10 00 00 00 07 47 03 04 00 71 00 3c [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 11 00 00 00 06 47 03 9c f8 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 11 00 00 00 07 47 03 04 00 78 00 1a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 12 00 00 00 06 47 03 9d 14 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 12 00 00 00 07 47 03 04 00 7b 00 18 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 13 00 00 00 06 47 03 9d 2e 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 13 00 00 00 07 47 03 04 00 a0 00 44 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 14 00 00 00 06 47 03 9d 74 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 14 00 00 00 07 47 03 04 03 22 00 3e [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 15 00 00 00 06 47 03 9d b4 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 15 00 00 00 07 47 03 04 ff ff 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 16 00 00 00 06 47 03 9c 44 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 16 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 17 00 00 00 06 47 03 9d 30 00 08 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 17 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 18 00 00 00 06 47 03 9d 4c 00 14 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 18 00 00 00 2b 47 03 28 00 02 44 43 5f 53 54 52 49 4e 47 5f 32 20 20 20 20 20 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 19 00 00 00 06 47 03 9c 40 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 19 00 00 00 07 47 03 04 53 75 6e 53 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1a 00 00 00 06 47 03 9c 42 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1a 00 00 00 07 47 03 04 00 01 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1b 00 00 00 06 47 03 9c 86 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1b 00 00 00 07 47 03 04 00 67 00 32 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1c 00 00 00 06 47 03 9c ba 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1c 00 00 00 07 47 03 04 00 71 00 3c [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1d 00 00 00 06 47 03 9c f8 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1d 00 00 00 07 47 03 04 00 78 00 1a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1e 00 00 00 06 47 03 9d 14 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1e 00 00 00 07 47 03 04 00 7b 00 18 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 1f 00 00 00 06 47 03 9d 2e 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 1f 00 00 00 07 47 03 04 00 a0 00 44 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 20 00 00 00 06 47 03 9d 74 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 20 00 00 00 07 47 03 04 03 22 00 3e [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 21 00 00 00 06 47 03 9d b4 00 02 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 21 00 00 00 07 47 03 04 ff ff 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 22 00 00 00 06 47 03 9c 44 00 42 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 22 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 23 00 00 00 06 47 03 9d 30 00 08 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 23 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 [sunspec] TRACE 2024/03/06 16:08:26 modbus: send 00 24 00 00 00 06 47 03 9d 60 00 14 [sunspec] TRACE 2024/03/06 16:08:26 modbus: recv 00 24 00 00 00 2b 47 03 28 00 03 44 43 5f 53 54 52 49 4e 47 5f 33 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM configs WHERE configs.class = 2 ORDER BY id 0 [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM configs WHERE configs.class = 1 ORDER BY id 0 [go-e ] TRACE 2024/03/06 16:08:26 GET http://192.168.178.116/api/status?filter=alw [go-e ] TRACE 2024/03/06 16:08:26 {"alw":true} [db ] TRACE 2024/03/06 16:08:26 SELECT * FROM configs WHERE configs.class = 3 ORDER BY id 0

MMA150475 avatar Mar 06 '24 15:03 MMA150475

Sorry, da kam noch was:

Mar 6 16:25:13 raspberrypi systemd[1]: Started evcc. Mar 6 16:25:14 raspberrypi evcc[14431]: [main ] INFO 2024/03/06 16:25:14 evcc 0.124.7 Mar 6 16:25:14 raspberrypi evcc[14431]: [main ] INFO 2024/03/06 16:25:14 using config file: /etc/evcc.yaml Mar 6 16:25:14 raspberrypi evcc[14431]: [main ] INFO 2024/03/06 16:25:14 starting ui and api at :7070 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] INFO 2024/03/06 16:25:15 using sqlite database: /var/lib/evcc/evcc.db Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type='table' AND name="settings" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 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 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM settings LIMIT 1 -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM settings 25 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type='table' AND name="devices" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type='table' AND name="device_details" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type='table' AND name="configs" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 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 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM configs LIMIT 1 -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type='table' AND name="config_details" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM config_details LIMIT 1 -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT fk_configs_details%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT #011fk_configs_details#011%") -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count() FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT fk_devices_details%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT #011fk_devices_details#011%") -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%device_id%" OR sql LIKE "%[device_id]%" OR sql LIKE "%#011device_id#011%") -1 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 01 00 00 00 06 47 03 9c 40 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 01 00 00 00 07 47 03 04 53 75 6e 53 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 02 00 00 00 06 47 03 9c 42 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 02 00 00 00 07 47 03 04 00 01 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 03 00 00 00 06 47 03 9c 86 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 03 00 00 00 07 47 03 04 00 67 00 32 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 04 00 00 00 06 47 03 9c ba 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 04 00 00 00 07 47 03 04 00 71 00 3c Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 05 00 00 00 06 47 03 9c f8 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 05 00 00 00 07 47 03 04 00 78 00 1a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 06 00 00 00 06 47 03 9d 14 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 06 00 00 00 07 47 03 04 00 7b 00 18 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 07 00 00 00 06 47 03 9d 2e 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 07 00 00 00 07 47 03 04 00 a0 00 44 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 08 00 00 00 06 47 03 9d 74 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 08 00 00 00 07 47 03 04 03 22 00 3e Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 09 00 00 00 06 47 03 9d b4 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 09 00 00 00 07 47 03 04 ff ff 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0a 00 00 00 06 47 03 9c 44 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0a 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0b 00 00 00 06 47 03 9d 30 00 08 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0b 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0c 00 00 00 06 47 03 9d 38 00 14 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0c 00 00 00 2b 47 03 28 00 01 44 43 5f 53 54 52 49 4e 47 5f 31 20 20 20 20 20 00 02 16 e0 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0d 00 00 00 06 47 03 9c 40 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0d 00 00 00 07 47 03 04 53 75 6e 53 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0e 00 00 00 06 47 03 9c 42 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0e 00 00 00 07 47 03 04 00 01 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 0f 00 00 00 06 47 03 9c 86 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 0f 00 00 00 07 47 03 04 00 67 00 32 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 10 00 00 00 06 47 03 9c ba 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 10 00 00 00 07 47 03 04 00 71 00 3c Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 11 00 00 00 06 47 03 9c f8 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 11 00 00 00 07 47 03 04 00 78 00 1a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 12 00 00 00 06 47 03 9d 14 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 12 00 00 00 07 47 03 04 00 7b 00 18 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 13 00 00 00 06 47 03 9d 2e 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 13 00 00 00 07 47 03 04 00 a0 00 44 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 14 00 00 00 06 47 03 9d 74 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 14 00 00 00 07 47 03 04 03 22 00 3e Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 15 00 00 00 06 47 03 9d b4 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 15 00 00 00 07 47 03 04 ff ff 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 16 00 00 00 06 47 03 9c 44 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 16 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 17 00 00 00 06 47 03 9d 30 00 08 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 17 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 18 00 00 00 06 47 03 9d 4c 00 14 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 18 00 00 00 2b 47 03 28 00 02 44 43 5f 53 54 52 49 4e 47 5f 32 20 20 20 20 20 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 19 00 00 00 06 47 03 9c 40 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 19 00 00 00 07 47 03 04 53 75 6e 53 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1a 00 00 00 06 47 03 9c 42 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1a 00 00 00 07 47 03 04 00 01 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1b 00 00 00 06 47 03 9c 86 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1b 00 00 00 07 47 03 04 00 67 00 32 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1c 00 00 00 06 47 03 9c ba 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1c 00 00 00 07 47 03 04 00 71 00 3c Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1d 00 00 00 06 47 03 9c f8 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1d 00 00 00 07 47 03 04 00 78 00 1a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1e 00 00 00 06 47 03 9d 14 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1e 00 00 00 07 47 03 04 00 7b 00 18 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 1f 00 00 00 06 47 03 9d 2e 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 1f 00 00 00 07 47 03 04 00 a0 00 44 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 20 00 00 00 06 47 03 9d 74 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 20 00 00 00 07 47 03 04 03 22 00 3e Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 21 00 00 00 06 47 03 9d b4 00 02 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 21 00 00 00 07 47 03 04 ff ff 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 22 00 00 00 06 47 03 9c 44 00 42 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 22 00 00 00 87 47 03 84 4b 4f 53 54 41 4c 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 50 49 4b 4f 20 49 51 35 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 31 2e 32 37 2e 30 39 39 33 32 00 00 00 00 00 39 32 30 39 32 52 48 44 30 30 30 30 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 5a 5a Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 23 00 00 00 06 47 03 9d 30 00 08 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 23 00 00 00 13 47 03 10 ff fe ff ff 00 00 00 00 00 00 00 00 00 02 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: send 00 24 00 00 00 06 47 03 9d 60 00 14 Mar 6 16:25:15 raspberrypi evcc[14431]: [sunspec] TRACE 2024/03/06 16:25:15 modbus: recv 00 24 00 00 00 2b 47 03 28 00 03 44 43 5f 53 54 52 49 4e 47 5f 33 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM configs WHERE configs.class = 2 ORDER BY id 0 Mar 6 16:25:15 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:15 SELECT * FROM configs WHERE configs.class = 1 ORDER BY id 0 Mar 6 16:25:15 raspberrypi evcc[14431]: [go-e ] TRACE 2024/03/06 16:25:15 GET http://192.168.178.116/api/status?filter=alw Mar 6 16:25:16 raspberrypi evcc[14431]: [go-e ] TRACE 2024/03/06 16:25:16 {"alw":true} Mar 6 16:25:16 raspberrypi evcc[14431]: [db ] TRACE 2024/03/06 16:25:16 SELECT * FROM configs WHERE configs.class = 3 ORDER BY id 0 Mar 6 16:25:52 raspberrypi kernel: [37531.001167] rpi_firmware_get_throttled: 5 callbacks suppressed Mar 6 16:25:52 raspberrypi kernel: [37531.001177] Voltage normalised (0x00000000) Mar 6 16:25:54 raspberrypi kernel: [37533.081142] rpi_firmware_get_throttled: 5 callbacks suppressed Mar 6 16:25:54 raspberrypi kernel: [37533.081152] Under-voltage detected! (0x00050005) Mar 6 16:25:58 raspberrypi kernel: [37537.241202] Voltage normalised (0x00000000) Mar 6 16:26:05 raspberrypi kernel: [37543.481322] Under-voltage detected! (0x00050005) Mar 6 16:26:15 raspberrypi evcc[14431]: [modbus] TRACE 2024/03/06 16:26:15 modbus: closing connection due to idle timeout: 1m0.017713091s Mar 6 16:26:17 raspberrypi kernel: [37555.961383] Voltage normalised (0x00000000) Mar 6 16:26:23 raspberrypi kernel: [37562.201446] Under-voltage detected! (0x00050005)

MMA150475 avatar Mar 06 '24 15:03 MMA150475

Hier das gleiche Problem: der Webserver scheint nicht mehr zu laufen. Bei mir ist es ein LXC auf Proxmox auf einem NUC.

0.124.7

marco@evccCT:~$ evcc --profile --config /etc/evcc.yaml
[main  ] INFO 2024/03/06 16:34:56 evcc 0.124.7
[main  ] INFO 2024/03/06 16:34:56 using config file: /etc/evcc.yaml
[main  ] INFO 2024/03/06 16:34:56 starting ui and api at :7070
[db    ] INFO 2024/03/06 16:34:56 using sqlite database: /home/marco/.evcc/evcc.db
[db    ] TRACE 2024/03/06 16:34:56 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:56 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/03/06 16:34:56 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:34:56 SELECT * FROM `settings` 8 <nil>
[mqtt  ] INFO 2024/03/06 16:34:56 connecting evcc-519037875 at tcp://ioBrokerVM.f17a:1883
[db    ] TRACE 2024/03/06 16:34:56 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:56 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 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/03/06 16:34:57 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT 	fk_configs_details	%") -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT 	fk_devices_details	%") -1 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "device_id	%") -1 <nil>
[mqtt  ] DEBUG 2024/03/06 16:34:57 tcp://ioBrokerVM.f17a:1883 connected
[db    ] TRACE 2024/03/06 16:34:57 SELECT * FROM `configs` WHERE `configs`.`class` = 2 ORDER BY id 0 <nil>
[db    ] TRACE 2024/03/06 16:34:57 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[go-e  ] TRACE 2024/03/06 16:34:57 GET http://go-eCharger_112810.f17a/api/status?filter=alw
[go-e  ] TRACE 2024/03/06 16:34:57 {"alw":false}
[db    ] TRACE 2024/03/06 16:34:57 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[mqtt  ] TRACE 2024/03/06 16:34:57 recv meter/energy/gridPowerCombined: '-185'
[mqtt  ] TRACE 2024/03/06 16:34:57 recv meter/energy/gridPowerCombined: '-198'
[mqtt  ] TRACE 2024/03/06 16:35:09 recv meter/energy/gridPowerCombined: '-202'
[mqtt  ] TRACE 2024/03/06 16:35:21 recv meter/energy/gridPowerCombined: '-193'
[mqtt  ] TRACE 2024/03/06 16:35:33 recv meter/energy/gridPowerCombined: '-191'
[mqtt  ] TRACE 2024/03/06 16:35:45 recv meter/energy/gridPowerCombined: '-189'

Danach kommt im Log alle 10 bis 15 Sekunden ein neuer Wert, sonst nichts mehr.

Bin schon 3 Mal zwischen 0.124.6 und.7 hin- und her und es ist reproduzierbar.

In 0.124.6 sieht das Logs anfangs gleich aus, und dann geht es mit Tronity weiter:

marco@evccCT:~$ evcc --profile --config /etc/evcc.yaml
[main  ] INFO 2024/03/06 16:48:26 evcc 0.124.6
[main  ] INFO 2024/03/06 16:48:26 using config file: /etc/evcc.yaml
[main  ] INFO 2024/03/06 16:48:26 starting ui and api at :7070
[db    ] INFO 2024/03/06 16:48:27 using sqlite database: /home/marco/.evcc/evcc.db
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 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/03/06 16:48:27 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT * FROM `settings` 8 <nil>
[mqtt  ] INFO 2024/03/06 16:48:27 connecting evcc-1058233568 at tcp://ioBrokerVM.f17a:1883
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 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/03/06 16:48:27 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT 	fk_configs_details	%") -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT 	fk_devices_details	%") -1 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "device_id	%") -1 <nil>
[mqtt  ] DEBUG 2024/03/06 16:48:27 tcp://ioBrokerVM.f17a:1883 connected
[db    ] TRACE 2024/03/06 16:48:27 SELECT * FROM `configs` WHERE `configs`.`class` = 2 ORDER BY id 0 <nil>
[db    ] TRACE 2024/03/06 16:48:27 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[go-e  ] TRACE 2024/03/06 16:48:27 GET http://go-eCharger_112810.f17a/api/status?filter=alw
[go-e  ] TRACE 2024/03/06 16:48:27 {"alw":false}
[db    ] TRACE 2024/03/06 16:48:27 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[tronity] TRACE 2024/03/06 16:48:27 POST https://api.tronity.tech/authentication
[mqtt  ] TRACE 2024/03/06 16:48:27 recv meter/energy/gridPowerCombined: '-266'
[tronity] TRACE 2024/03/06 16:48:28 {"client_id":"***","client_secret":"***","grant_type":"app"}

http://evcc-ip:7070/#/debug/pprof kann ich leider nicht liefern weil der Webserver nichts liefert.

0.124.6

marco@evccCT:~$ sudo ss -tulpn | grep LISTEN
tcp   LISTEN 0      128          0.0.0.0:22        0.0.0.0:*    users:(("sshd",pid=132,fd=3))   
tcp   LISTEN 0      100        127.0.0.1:25        0.0.0.0:*    users:(("master",pid=282,fd=13))
tcp   LISTEN 0      128             [::]:22           [::]:*    users:(("sshd",pid=132,fd=4))   
tcp   LISTEN 0      100            [::1]:25           [::]:*    users:(("master",pid=282,fd=14))
tcp   LISTEN 0      128                *:7070            *:*    users:(("evcc",pid=24344,fd=14))
marco@evccCT:~$ sudo lsof -i:7070
COMMAND   PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
evcc    24344 evcc   14u  IPv6 36444086      0t0  TCP *:7070 (LISTEN)

0.124.7

marco@evccCT:~$ sudo ss -tulpn | grep LISTEN
tcp   LISTEN 0      128          0.0.0.0:22        0.0.0.0:*    users:(("sshd",pid=132,fd=3))   
tcp   LISTEN 0      100        127.0.0.1:25        0.0.0.0:*    users:(("master",pid=282,fd=13))
tcp   LISTEN 0      128             [::]:22           [::]:*    users:(("sshd",pid=132,fd=4))   
tcp   LISTEN 0      100            [::1]:25           [::]:*    users:(("master",pid=282,fd=14))
marco@evccCT:~$ sudo lsof -i:7070
marco@evccCT:~$ 

Gibt es eine Verbindung zu https://github.com/evcc-io/evcc/commit/357a298e6d8366bdac95e3de6e3fbf91b23b4fab?

stan23 avatar Mar 06 '24 15:03 stan23

@Semmy100 & @MMA150475: habt ihr beide Tronity in Benutzung?

stan23 avatar Mar 06 '24 15:03 stan23

Ja, ich benutze Tronity.

Semmy100 avatar Mar 06 '24 15:03 Semmy100

Ja, ich benutze Tronity seit Stelantis so rumzickt.

MMA150475 avatar Mar 06 '24 15:03 MMA150475

Gut, dann haben wir jetzt 3 Installationen bei denen die 0.124.7 mit Tronity nicht läuft.

stan23 avatar Mar 06 '24 16:03 stan23

Ja, wenn man Tronity ausklammert gehts auf einmal wieder. Dann erscheint das Fahrzeug wieder als Gastfahrzeug.

MMA150475 avatar Mar 06 '24 16:03 MMA150475

@MMA150475

Mar 6 16:25:54 raspberrypi kernel: [37533.081152] Under-voltage detected! (0x00050005)

Dein Raspi hat erstmal ein Problem mit der Stromversorgung. Da kann alles passieren, hier OT.

Tronity schaue ich mir an.

andig avatar Mar 06 '24 18:03 andig

Geht

evcc vehicle

bei Euch? Wann genau hängt sich das auf? Es braucht bitte ein --profile/ /debug/pprof, siehe Anfrage oben.

andig avatar Mar 06 '24 19:03 andig

@andig

OT - ja, ist mir bekannt - mir ist das Netzteil abgeraucht, und ich kam noch nicht dazu ein neues einzubauen. Läuft trotzdem erstaunlich stabil über die USB Versorgung, bisher keine Neustarts oder sonstige Effekte gesehen die darauf zurückzuführen wären. Wird demnächst sowieso durch einen neueren leistungsfähigeren Raspi ersetzt.

andig @.***> hat am 06.03.2024 19:13 CET geschrieben:

@MMA150475 https://github.com/MMA150475

Mar 6 16:25:54 raspberrypi kernel: [37533.081152] Under-voltage detected! (0x00050005)

Dein Raspi hat erstmal ein Problem mit der Stromversorgung. Da kann alles passieren, hier OT.

Tronity schaue ich mir an.

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/12713#issuecomment-1981507738, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCC37D4HZGNY25WGTRHDHITYW5MFLAVCNFSM6AAAAABEJDFTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGUYDONZTHA. You are receiving this because you were mentioned.Message ID: @.***>

MMA150475 avatar Mar 07 '24 07:03 MMA150475

Bei Tronity mussten wir etwas ändern, es ist allerdings nicht zu erkennen, wie/warum das einen negativen Effekt haben sollte. Mir fehlt die Möglichkeit, das zu reproduzieren. Der Ball liegt hei euch :/

andig avatar Mar 07 '24 08:03 andig

Wenn du mir genau sagst wie ich das mit dem /debug/pprof machen muss dann kann ich das heute abend mal machen. Gestern hab ichs nicht hinbekommen, trotz der Anleitung in dem anderen Thread. Ich bediene den Raspi normalerweise remote, und rufe die Oberfläche von meinem Arbeitsplatz-PC aus auf. Ich kann auch direkt drauf gehen wenn das erforderlich wäre.

andig @.***> hat am 07.03.2024 09:06 CET geschrieben:

Bei Tronity mussten wir etwas ändern, es ist allerdings nicht zu erkennen, wie/warum das einen negativen Effekt haben sollte. Mir fehlt die Möglichkeit, das zu reproduzieren. Der Ball liegt hei euch :/

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/12713#issuecomment-1982849662, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCC37DYCYPAYVGT4TR4UOVLYXANYDAVCNFSM6AAAAABEJDFTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSHA2DSNRWGI. You are receiving this because you were mentioned.Message ID: @.***>

MMA150475 avatar Mar 07 '24 08:03 MMA150475

Geht

evcc vehicle

bei Euch? Wann genau hängt sich das auf?

Nein geht nicht. Es hängt genau wie das log vor der ersten Zeile mit Tronity.

0.124.6

marco@evccCT:~$ evcc vehicle
[main  ] INFO 2024/03/07 11:44:03 evcc 0.124.6
[main  ] INFO 2024/03/07 11:44:03 using config file: /etc/evcc.yaml
[db    ] INFO 2024/03/07 11:44:03 using sqlite database: /home/marco/.evcc/evcc.db
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 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/03/07 11:44:03 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT * FROM `settings` 8 <nil>
[mqtt  ] INFO 2024/03/07 11:44:03 connecting evcc-1626445299 at tcp://ioBrokerVM.f17a:1883
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 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/03/07 11:44:03 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT 	fk_configs_details	%") -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT 	fk_devices_details	%") -1 <nil>
[db    ] TRACE 2024/03/07 11:44:03 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "device_id	%") -1 <nil>
[tronity] TRACE 2024/03/07 11:44:03 POST https://api.tronity.tech/authentication
[mqtt  ] DEBUG 2024/03/07 11:44:03 tcp://ioBrokerVM.f17a:1883 connected
[db    ] TRACE 2024/03/07 11:44:03 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[tronity] TRACE 2024/03/07 11:44:03 {"client_id":"***","client_secret":"***","grant_type":"app"}
--
{"id":"7716e61d-d343-4d69-a7b6-32cfdaac7be4","access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI3NzE2ZTYxZC1kMzQzLTRkNjktYTdiNi0zMmNmZGFhYzdiZTQiLCJhcHBJZCI6IjQ1MWY5ODViLTBiYmUtNDc5Yi04MjA3LWMyYTI5MzA0YTM3NCIsInZlaGljbGVJZCI6bnVsbCwic2NvcGVzIjpbXSwicm9sZSI6InVzZXIiLCJpYXQiOjE3MDk4MDgyNDMsImV4cCI6MTcwOTg5NDY0MywiYXVkIjoiaHR0cHM6Ly9wbGF0Zm9ybS50cm9uaXR5LmlvIiwiaXNzIjoicGxhdGZvcm0udHJvbml0eS5pbyJ9.Qbz7PLs9iwv8HK-7UpXAQwCSqD4a7dIZjy6d7C7D6Eg","expires_in":3600,"token_type":"bearer"}
[tronity] TRACE 2024/03/07 11:44:03 GET https://api.tronity.tech/tronity/vehicles
[tronity] TRACE 2024/03/07 11:44:03 {"data":[{"id":"63aecd4ccf3be20019b02a7c","scopes":["read_charge","read_battery","read_vin","read_vehicle_info","tronity_charges","tronity_charging","tronity_control_charging","tronity_factsheet","tronity_location","tronity_odometer","tronity_range","tronity_soc","tronity_vehicle_data"],"createdAt":"2022-12-30T11:36:44.402Z","updatedAt":"2022-12-30T11:36:44.402Z","vin":"VR3UHZKXZNT109814","displayName":"e-208","manufacture":"Peugeot","model":"e-208","year":2022,"kWh":45,"liter":null,"offline":false,"valid":true}],"count":1,"total":1,"page":1,"pageCount":1}
[tronity] TRACE 2024/03/07 11:44:03 GET https://api.tronity.tech/tronity/vehicles/63aecd4ccf3be20019b02a7c/last_record
[tronity] TRACE 2024/03/07 11:44:03 {"odometer":24506,"range":172,"level":63,"charging":"Charging","plugged":true,"chargerPower":11,"chargeRemainingTime":7800,"latitude":49.02885,"longitude":11.47115,"status":null,"timestamp":1709805885000,"lastUpdate":1709805885000}
Soc:           63%
Capacity:      50.0kWh
Charge status: C
Range:         172km
Odometer:      24506km
Features:      []
marco@evccCT:~$ 

0.124.7

marco@evccCT:~$ evcc vehicle
[main  ] INFO 2024/03/07 11:45:50 evcc 0.124.7
[main  ] INFO 2024/03/07 11:45:50 using config file: /etc/evcc.yaml
[db    ] INFO 2024/03/07 11:45:50 using sqlite database: /home/marco/.evcc/evcc.db
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 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/03/07 11:45:50 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT * FROM `settings` 8 <nil>
[mqtt  ] INFO 2024/03/07 11:45:50 connecting evcc-1280843646 at tcp://ioBrokerVM.f17a:1883
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 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/03/07 11:45:50 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT 	fk_configs_details	%") -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT 	fk_devices_details	%") -1 <nil>
[db    ] TRACE 2024/03/07 11:45:50 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "device_id	%") -1 <nil>
[mqtt  ] DEBUG 2024/03/07 11:45:50 tcp://ioBrokerVM.f17a:1883 connected
[db    ] TRACE 2024/03/07 11:45:50 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>

und da bleibt die Ausgabe stehen.

Es braucht bitte ein --profile/ /debug/pprof, siehe Anfrage oben.

Wie kann ich das aufzeichnen wenn der Webserver nicht läuft?

Würden dir meine Tronity-Zugangsdaten helfen?

stan23 avatar Mar 07 '24 13:03 stan23

Würden dir meine Tronity-Zugangsdaten helfen?

Schick gerne deine Config an [email protected]

andig avatar Mar 07 '24 13:03 andig

Bin kein Entwickler, aber könnte es eventuell an einer "2" zuviel an dieser Stelle liegen - einmal "oauth.Token" und einmal "oauth2.Token"? 2024-03-07 16_46_21-Window

spofastic avatar Mar 07 '24 15:03 spofastic