evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Innogy: Fehler "charger ...: dial tcp ...: connect: connection refused" nach Upgrade auf 0.126.2

Open niniob opened this issue 2 years ago • 3 comments

Describe the bug

Seit dem Upgrade von 0.125.0 zu 0.126.2 bekomme ich ständig Fehler (rotes Warndreieck im UI) angezeigt. Die Fehlermeldungen sind immer die gleichen und wiederholen sich ständig:

Garage: charger status: dial tcp 192.168.107.220:5555: connect: connection refused Garage: charge total import: dial tcp 192.168.107.220:5555: connect: connection refused Garage: charge currents: dial tcp 192.168.107.220:5555: connect: connection refused Garage: charge power: dial tcp 192.168.107.220:5555: connect: connection refused Garage: charger status: dial tcp 192.168.107.220:5555: connect: connection refused Garage: charge total import: EOF

Nach einem Downgrade zurück zu 0.125.0 ist wieder alles okay. Ich vermute es hängt mit folgender Änderung zusammen: https://github.com/evcc-io/evcc/commit/da4af01d736503b77901648d8a03f45516a99591 Das dort eingeführte Register 307 (igyRegEnergy) gibt es laut Modbus Doku (https://www.eon.de/content/dam/eon/eon-de-zwei/documents/Privatkunden/emobility/ModbusTCP_eBox_manual_v1.pdf) für meine Wallbox (Innogy / e.on / Compleo eBox Professional) nicht.

Steps to reproduce

  1. Upgrade von 0.125.0 zu 0.126.2

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

# database configuration for persisting charge sessions and settings
database:
  type: sqlite
  dsn: /var/lib/evcc/evcc.db

# unique installation id
plant: 1b9b8f3f9d85af13394be13964816b05ec8f08f52b4d2674f5853bda089d6caf

interval: 15s # 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: solax 
  id: 2  
  host: 192.168.107.176  
  port: 502  
  usage: grid  
  modbus: tcpip  
  name: grid1
- type: template
  template: solax 
  id: 2  
  host: 192.168.107.176  
  port: 502  
  usage: pv  
  modbus: tcpip  
  name: pv2
- type: template
  template: solax 
  id: 2  
  host: 192.168.107.176  
  port: 502  
  usage: battery  
  modbus: tcpip  
  name: battery3

chargers:
- type: template
  template: innogy-ebox 
  id: 1  
  host: 192.168.107.220  
  port: 5555  
  modbus: tcpip  
  name: wallbox4

loadpoints:
- title: Garage
  charger: wallbox4
  mode: pv

site:
  title: evcc
  meters:
    grid: grid1
    pv:
    - pv2
    battery:
    - battery3
  residualPower: 100

vehicles:
  - name: EQV
    title: EQV 300
    type: mercedes
    account: ... # Mercedes Me Nutzer-Id (email)
    region: EMEA # MB me Region (EMEA, APAC, NORAM)
    vin: ... # Erforderlich, wenn mehr als ein Fahrzeug im Account registriert
    capacity: 90 # Akkukapazität in kWh (optional)
    tokens:
      access: ...
      refresh: ...

modbusproxy:
  - port: 5555
    uri: 192.168.107.220:5555

Log details

[main  ] INFO 2024/05/15 15:56:23 evcc 0.126.2
[main  ] INFO 2024/05/15 15:56:23 using config file: /etc/evcc.yaml
[main  ] INFO 2024/05/15 15:56:23 starting ui and api at :7070
[db    ] INFO 2024/05/15 15:56:23 using sqlite database: /var/lib/evcc/evcc.db
[db    ] TRACE 2024/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 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/05/15 15:56:23 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT * FROM `settings` 13 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 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/05/15 15:56:23 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 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/05/15 15:56:23 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 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/05/15 15:56:23 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:23 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/05/15 15:56:23 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>
[proxy-5555] DEBUG 2024/05/15 15:56:23 modbus proxy for 192.168.107.220:5555 listening at :5555
[db    ] TRACE 2024/05/15 15:56:23 SELECT * FROM `configs` WHERE `configs`.`class` = 2 ORDER BY id 0 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT * FROM `configs` WHERE `configs`.`class` = 5 ORDER BY id 0 <nil>
[db    ] TRACE 2024/05/15 15:56:23 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[mercedes] DEBUG 2024/05/15 15:56:23 identity.NewIdentity - token not valid - Add expiry
[mercedes] DEBUG 2024/05/15 15:56:23 identity.NewIdentity - token not valid - database token check started
[mercedes] TRACE 2024/05/15 15:56:23 GET https://bff.emea-prod.mobilesdk.mercedes-benz.com/v2/vehicles
[mercedes] TRACE 2024/05/15 15:56:24 {"assignedVehicles":[{"authorizationType":"USER","canReceiveVAC":true,"carline":"447","dealers":{"items":[{"dealerData":{"address":...
[db    ] TRACE 2024/05/15 15:56:24 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
[db    ] TRACE 2024/05/15 15:56:24 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/05/15 15:56:24 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
[innogy] TRACE 2024/05/15 15:56:24 modbus: send 00 01 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:56:24 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:56:39 modbus: send 00 01 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:56:39 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:57:08 modbus: send 00 01 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:57:08 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:57:23 modbus: send 00 01 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:57:23 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:57:38 modbus: send 00 01 00 00 00 06 01 04 01 33 00 02
[lp-1  ] ERROR 2024/05/15 15:57:38 charge total import: EOF
[db    ] TRACE 2024/05/15 15:57:38 SELECT * FROM `sessions` WHERE `Loadpoint` = "Garage" AND `finished` = "0001-01-01 00:00:00+00:00" 0 <nil>
[site  ] INFO 2024/05/15 15:57:38 site config:
[site  ] INFO 2024/05/15 15:57:38   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/05/15 15:57:38     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/05/15 15:57:38     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/05/15 15:57:38     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✗
[site  ] INFO 2024/05/15 15:57:38   vehicles:
[site  ] INFO 2024/05/15 15:57:38     vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✗
[lp-1  ] INFO 2024/05/15 15:57:38 loadpoint 1:
[lp-1  ] INFO 2024/05/15 15:57:38   mode:        pv
[lp-1  ] INFO 2024/05/15 15:57:38   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/05/15 15:57:38   meters:      charge ✓
[lp-1  ] INFO 2024/05/15 15:57:38     charge:    power ✓ energy ✓ currents ✓
[site  ] DEBUG 2024/05/15 15:57:38 set buffer soc: 95
[site  ] DEBUG 2024/05/15 15:57:38 set buffer start soc: 95
[site  ] DEBUG 2024/05/15 15:57:38 set priority soc: 90
[site  ] DEBUG 2024/05/15 15:57:38 set battery discharge control: true
[lp-1  ] DEBUG 2024/05/15 15:57:38 phase timer inactive
[lp-1  ] DEBUG 2024/05/15 15:57:38 pv timer inactive
[lp-1  ] ERROR 2024/05/15 15:57:38 charger enabled: dial tcp 192.168.107.220:5555: connect: connection refused
[main  ] TRACE 2024/05/15 15:57:38 GET https://api.github.com/repos/evcc-io/evcc/releases/latest
[site  ] WARN 2024/05/15 15:57:38 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/05/15 15:57:38 ----
[main  ] TRACE 2024/05/15 15:57:39 {"url":"https://api.github.com/repos/evcc-io/evcc/releases/154262090","assets_url":"https://api.github.com/repos/evcc-io/evcc/releases/154262090/assets","upload_url":"https://uploads.github.com/repos/evcc-io/evcc/releases/154262090/assets{?name,label}","html_url":"https://github.com/evcc-io/evcc/releases/tag/0.126.2","id":154262090,"author":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"node_id":"RE_kwDODX4bUs4JMdpK","tag_name":"0.126.2","target_commitish":"master","name":"0.126.2","draft":false,"prerelease":false,"created_at":"2024-05-04T13:36:00Z","published_at":"2024-05-04T13:58:29Z","assets":[{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966741","id":165966741,"node_id":"RA_kwDODX4bUs4J5HOV","name":"checksums.txt","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"text/plain; charset=utf-8","state":"uploaded","size":754,"download_count":11,"created_at":"2024-05-04T14:09:46Z","updated_at":"2024-05-04T14:09:47Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.126.2/checksums.txt"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966740","id":165966740,"node_id":"RA_kwDODX4bUs4J5HOU","name":"evcc_0.126.2_amd64.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":24521942,"download_count":18,"created_at":"2024-05-04T14:09:45Z","updated_at":"2024-05-04T14:09:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.126.2/evcc_0.126.2_amd64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966739","id":165966739,"node_id":"RA_kwDODX4bUs4J5HOT","name":"evcc_0.126.2_arm64.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":22719332,"download_count":7,"created_at":"2024-05-04T14:09:45Z","updated_at":"2024-05-04T14:09:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.126.2/evcc_0.126.2_arm64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966738","id":165966738,"node_id":"RA_kwDODX4bUs4J5HOS","name":"evcc_0.126.2_armhf.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":23441108,"download_count":47,"created_at":"2024-05-04T14:09:45Z","updated_at":"2024-05-04T14:09:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.126.2/evcc_0.126.2_armhf.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966734","id":165966734,"node_id":"RA_kwDODX4bUs4J5HOO","name":"evcc_0.126.2_linux-amd64.tar.gz","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/gzip","state":"uploaded","size":24392189,"download_count":39,"created_at":"2024-05-04T14:09:44Z","updated_at":"2024-05-04T14:09:45Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.126.2/evcc_0.126.2_linux-amd64.tar.gz"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/165966733","id":165966733,"node_id":"RA_kwDODX4bUs4J5HON","name"
[lp-1  ] ERROR 2024/05/15 15:57:39 charge power: dial tcp 192.168.107.220:5555: connect: connection refused
[lp-1  ] ERROR 2024/05/15 15:57:39 charge currents: dial tcp 192.168.107.220:5555: connect: connection refused
[modbus] TRACE 2024/05/15 15:57:39 modbus: send 00 01 00 00 00 06 02 04 00 0a 00 01
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 01 00 00 00 05 02 04 02 08 42
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 02 00 00 00 06 02 04 00 0b 00 01
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 02 00 00 00 05 02 04 02 07 07
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 03 00 00 00 06 02 04 00 94 00 02
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 03 00 00 00 07 02 04 04 b2 ae 00 00
[site  ] DEBUG 2024/05/15 15:57:40 pv power: 3913W
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 04 00 00 00 06 02 04 00 16 00 01
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 04 00 00 00 05 02 04 02 00 00
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 05 00 00 00 06 02 04 00 1c 00 01
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 05 00 00 00 05 02 04 02 00 64
[site  ] DEBUG 2024/05/15 15:57:40 battery soc: 100%
[site  ] DEBUG 2024/05/15 15:57:40 battery power: 0W
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 06 00 00 00 06 02 04 00 46 00 02
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 06 00 00 00 07 02 04 04 0c 38 00 00
[site  ] DEBUG 2024/05/15 15:57:40 grid meter: -3128W
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 07 00 00 00 06 02 04 00 4a 00 02
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 07 00 00 00 07 02 04 04 28 bc 00 07
[site  ] DEBUG 2024/05/15 15:57:40 site power: -3028W
[lp-1  ] ERROR 2024/05/15 15:57:40 charge total import: dial tcp 192.168.107.220:5555: connect: connection refused
[lp-1  ] ERROR 2024/05/15 15:57:40 charger status: dial tcp 192.168.107.220:5555: connect: connection refused
[modbus] TRACE 2024/05/15 15:57:40 modbus: send 00 08 00 00 00 06 02 06 00 1f 00 00
[modbus] TRACE 2024/05/15 15:57:40 modbus: recv 00 08 00 00 00 06 02 06 00 1f 00 00
[site  ] DEBUG 2024/05/15 15:57:40 set battery mode: normal
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * solar_percentage) / SUM(charged_kwh) AS SolarPercentage, 
			SUM(charged_kwh) as ChargedKWh 
		FROM sessions 
		WHERE finished >= "2024-04-15 15:57:40.859" 
		AND charged_kwh > 0 
		AND solar_percentage IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh) AS AvgPrice 
		FROM sessions 
		WHERE finished >= "2024-04-15 15:57:40.859" 
		AND charged_kwh > 0 
		AND price_per_kwh IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh) AS AvgCo2
		FROM sessions
		WHERE finished >= "2024-04-15 15:57:40.859"
		AND charged_kwh > 0
		AND co2_per_kwh IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * solar_percentage) / SUM(charged_kwh) AS SolarPercentage, 
			SUM(charged_kwh) as ChargedKWh 
		FROM sessions 
		WHERE finished >= "2023-05-16 15:57:40.866" 
		AND charged_kwh > 0 
		AND solar_percentage IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh) AS AvgPrice 
		FROM sessions 
		WHERE finished >= "2023-05-16 15:57:40.866" 
		AND charged_kwh > 0 
		AND price_per_kwh IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh) AS AvgCo2
		FROM sessions
		WHERE finished >= "2023-05-16 15:57:40.866"
		AND charged_kwh > 0
		AND co2_per_kwh IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * solar_percentage) / SUM(charged_kwh) AS SolarPercentage, 
			SUM(charged_kwh) as ChargedKWh 
		FROM sessions 
		WHERE finished >= "1924-06-09 15:57:40.87" 
		AND charged_kwh > 0 
		AND solar_percentage IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh) AS AvgPrice 
		FROM sessions 
		WHERE finished >= "1924-06-09 15:57:40.87" 
		AND charged_kwh > 0 
		AND price_per_kwh IS NOT NULL 1 <nil>
[db    ] TRACE 2024/05/15 15:57:40 
		SELECT SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh) AS AvgCo2
		FROM sessions
		WHERE finished >= "1924-06-09 15:57:40.87"
		AND charged_kwh > 0
		AND co2_per_kwh IS NOT NULL 1 <nil>
[site  ] DEBUG 2024/05/15 15:57:53 ----
[innogy] TRACE 2024/05/15 15:57:53 modbus: send 00 09 00 00 00 06 01 04 01 13 00 02
[innogy] TRACE 2024/05/15 15:57:53 modbus: recv 00 09 00 00 00 07 01 04 04 41 00 00 00
[lp-1  ] DEBUG 2024/05/15 15:57:53 charge power: 0W
[innogy] TRACE 2024/05/15 15:57:53 modbus: send 00 0a 00 00 00 06 01 04 03 ee 00 06
[innogy] TRACE 2024/05/15 15:57:53 modbus: recv 00 0a 00 00 00 0f 01 04 0c 3d 8f 5c 29 3d 8f 5c 29 3d 8f 5c 29
[lp-1  ] DEBUG 2024/05/15 15:57:53 charge currents: [0.07 0.07 0.07]A
[modbus] TRACE 2024/05/15 15:57:53 modbus: send 00 09 00 00 00 06 02 04 00 0a 00 01
[modbus] TRACE 2024/05/15 15:57:53 modbus: recv 00 09 00 00 00 05 02 04 02 08 2f
[modbus] TRACE 2024/05/15 15:57:53 modbus: send 00 0a 00 00 00 06 02 04 00 0b 00 01
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0a 00 00 00 05 02 04 02 07 08
[modbus] TRACE 2024/05/15 15:57:54 modbus: send 00 0b 00 00 00 06 02 04 00 94 00 02
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0b 00 00 00 07 02 04 04 b2 ae 00 00
[site  ] DEBUG 2024/05/15 15:57:54 pv power: 3895W
[modbus] TRACE 2024/05/15 15:57:54 modbus: send 00 0c 00 00 00 06 02 04 00 16 00 01
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0c 00 00 00 05 02 04 02 00 00
[modbus] TRACE 2024/05/15 15:57:54 modbus: send 00 0d 00 00 00 06 02 04 00 1c 00 01
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0d 00 00 00 05 02 04 02 00 64
[site  ] DEBUG 2024/05/15 15:57:54 battery soc: 100%
[site  ] DEBUG 2024/05/15 15:57:54 battery power: 0W
[modbus] TRACE 2024/05/15 15:57:54 modbus: send 00 0e 00 00 00 06 02 04 00 46 00 02
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0e 00 00 00 07 02 04 04 0c 36 00 00
[site  ] DEBUG 2024/05/15 15:57:54 grid meter: -3126W
[modbus] TRACE 2024/05/15 15:57:54 modbus: send 00 0f 00 00 00 06 02 04 00 4a 00 02
[modbus] TRACE 2024/05/15 15:57:54 modbus: recv 00 0f 00 00 00 07 02 04 04 28 bc 00 07
[site  ] DEBUG 2024/05/15 15:57:54 site power: -3026W
[innogy] TRACE 2024/05/15 15:57:54 modbus: send 00 0b 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:57:54 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:58:09 modbus: send 00 0b 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:58:09 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:58:24 modbus: send 00 0b 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:58:24 modbus: close connection and retry, because of EOF
[innogy] TRACE 2024/05/15 15:58:39 modbus: send 00 0b 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:58:39 modbus: close connection and retry, because of EOF
[modbus] TRACE 2024/05/15 15:58:54 modbus: closing connection due to idle timeout: 1m0.000202876s
[innogy] TRACE 2024/05/15 15:58:54 modbus: send 00 0b 00 00 00 06 01 04 01 33 00 02
[lp-1  ] ERROR 2024/05/15 15:58:54 charge total import: EOF
[lp-1  ] ERROR 2024/05/15 15:58:54 charger status: dial tcp 192.168.107.220:5555: connect: connection refused
[site  ] DEBUG 2024/05/15 15:58:54 ----
[lp-1  ] ERROR 2024/05/15 15:58:55 charge power: dial tcp 192.168.107.220:5555: connect: connection refused
[lp-1  ] ERROR 2024/05/15 15:58:55 charge currents: dial tcp 192.168.107.220:5555: connect: connection refused
[modbus] TRACE 2024/05/15 15:58:55 modbus: send 00 10 00 00 00 06 02 04 00 0a 00 01
[modbus] TRACE 2024/05/15 15:58:55 modbus: recv 00 10 00 00 00 05 02 04 02 08 22
[modbus] TRACE 2024/05/15 15:58:55 modbus: send 00 11 00 00 00 06 02 04 00 0b 00 01
[modbus] TRACE 2024/05/15 15:58:55 modbus: recv 00 11 00 00 00 05 02 04 02 06 ee
[modbus] TRACE 2024/05/15 15:58:55 modbus: send 00 12 00 00 00 06 02 04 00 94 00 02
[modbus] TRACE 2024/05/15 15:58:56 modbus: recv 00 12 00 00 00 07 02 04 04 b2 af 00 00
[site  ] DEBUG 2024/05/15 15:58:56 pv power: 3856W
[modbus] TRACE 2024/05/15 15:58:56 modbus: send 00 13 00 00 00 06 02 04 00 16 00 01
[modbus] TRACE 2024/05/15 15:58:56 modbus: recv 00 13 00 00 00 05 02 04 02 00 00
[modbus] TRACE 2024/05/15 15:58:56 modbus: send 00 14 00 00 00 06 02 04 00 1c 00 01
[modbus] TRACE 2024/05/15 15:58:56 modbus: recv 00 14 00 00 00 05 02 04 02 00 64
[site  ] DEBUG 2024/05/15 15:58:56 battery soc: 100%
[site  ] DEBUG 2024/05/15 15:58:56 battery power: 0W
[modbus] TRACE 2024/05/15 15:58:56 modbus: send 00 15 00 00 00 06 02 04 00 46 00 02
[modbus] TRACE 2024/05/15 15:58:56 modbus: recv 00 15 00 00 00 07 02 04 04 0b f8 00 00
[site  ] DEBUG 2024/05/15 15:58:56 grid meter: -3064W
[modbus] TRACE 2024/05/15 15:58:56 modbus: send 00 16 00 00 00 06 02 04 00 4a 00 02
[modbus] TRACE 2024/05/15 15:58:56 modbus: recv 00 16 00 00 00 07 02 04 04 28 bc 00 07
[site  ] DEBUG 2024/05/15 15:58:56 site power: -2964W
[lp-1  ] ERROR 2024/05/15 15:58:56 charge total import: dial tcp 192.168.107.220:5555: connect: connection refused
[lp-1  ] ERROR 2024/05/15 15:58:56 charger status: dial tcp 192.168.107.220:5555: connect: connection refused
[site  ] DEBUG 2024/05/15 15:59:08 ----
[innogy] TRACE 2024/05/15 15:59:08 modbus: send 00 13 00 00 00 06 01 04 01 13 00 02
[innogy] TRACE 2024/05/15 15:59:08 modbus: recv 00 13 00 00 00 07 01 04 04 41 00 00 00
[lp-1  ] DEBUG 2024/05/15 15:59:08 charge power: 0W
[innogy] TRACE 2024/05/15 15:59:08 modbus: send 00 14 00 00 00 06 01 04 03 ee 00 06
[innogy] TRACE 2024/05/15 15:59:08 modbus: recv 00 14 00 00 00 0f 01 04 0c 3d 8f 5c 29 3d 8f 5c 29 3d 8f 5c 29
[lp-1  ] DEBUG 2024/05/15 15:59:08 charge currents: [0.07 0.07 0.07]A
[modbus] TRACE 2024/05/15 15:59:08 modbus: send 00 17 00 00 00 06 02 04 00 0a 00 01
[modbus] TRACE 2024/05/15 15:59:08 modbus: recv 00 17 00 00 00 05 02 04 02 08 12
[modbus] TRACE 2024/05/15 15:59:08 modbus: send 00 18 00 00 00 06 02 04 00 0b 00 01
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 18 00 00 00 05 02 04 02 06 e4
[modbus] TRACE 2024/05/15 15:59:09 modbus: send 00 19 00 00 00 06 02 04 00 94 00 02
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 19 00 00 00 07 02 04 04 b2 af 00 00
[site  ] DEBUG 2024/05/15 15:59:09 pv power: 3830W
[modbus] TRACE 2024/05/15 15:59:09 modbus: send 00 1a 00 00 00 06 02 04 00 16 00 01
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 1a 00 00 00 05 02 04 02 00 00
[modbus] TRACE 2024/05/15 15:59:09 modbus: send 00 1b 00 00 00 06 02 04 00 1c 00 01
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 1b 00 00 00 05 02 04 02 00 64
[site  ] DEBUG 2024/05/15 15:59:09 battery soc: 100%
[site  ] DEBUG 2024/05/15 15:59:09 battery power: 0W
[modbus] TRACE 2024/05/15 15:59:09 modbus: send 00 1c 00 00 00 06 02 04 00 46 00 02
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 1c 00 00 00 07 02 04 04 03 9f 00 00
[site  ] DEBUG 2024/05/15 15:59:09 grid meter: -927W
[modbus] TRACE 2024/05/15 15:59:09 modbus: send 00 1d 00 00 00 06 02 04 00 4a 00 02
[modbus] TRACE 2024/05/15 15:59:09 modbus: recv 00 1d 00 00 00 07 02 04 04 28 bc 00 07
[site  ] DEBUG 2024/05/15 15:59:09 site power: -827W
[innogy] TRACE 2024/05/15 15:59:09 modbus: send 00 15 00 00 00 06 01 04 01 33 00 02
[innogy] TRACE 2024/05/15 15:59:09 modbus: close connection and retry, because of EOF

What type of operating system are you running?

Linux

Version

0.126.2

niniob avatar May 15 '24 14:05 niniob

das ist nach dem Release 0.126.2. wieder zurückgenommen worden. Ist aktuell nur im Nightly verfügbar.

VolkerK62 avatar May 15 '24 15:05 VolkerK62

Siehe #13771

StefanSchoof avatar May 15 '24 15:05 StefanSchoof

Ok, vielen Dank für den Hinweis. Sorry, hatten den anderen Issue wohl übersehen.

niniob avatar May 15 '24 16:05 niniob