evcc-io / evcc

Solar Charging ☀️🚘
https://evcc.io
MIT License
3.65k stars 678 forks source link

Smart grid pricing - change of functionality not documented / Incorrect functionality nlity #12676

Closed realist625 closed 8 months ago

realist625 commented 8 months ago

Describe the bug

The app no longer initiates charging with smart tariff (chap tariff). Running the command ‘evict tariff -l debug show that the price is retrieved and the GUI show the ‘day time’ tariff (the higher price).

I noted in the change long that there look like there was a move to have this a load point level rather that at site level. This change is not documented and I have the suspicion that the change will need to be reflected in the config file. In my case the configuration change is not reflected and I have it at site level.

Steps to reproduce

  1. Start evcc.
  2. Check price in gui
  3. Await ‘cheap tariff’ timeslot
  4. Charging is not started
  5. ...

Configuration details

etwork:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: xxxxx

interval: 5s # 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: eastron-sdm220_230
  id: 1
  device: /dev/serial0
  baudrate: 9600
  comset: 8N1
  usage: grid
  modbus: rs485serial
  name: grid1
- type: template
  template: solaredge-inverter
  id: 1
  host: xx.xx.xx.xx
  port: 1502
  usage: pv
  modbus: tcpip
  timeout: 10s
  name: pv1

- type: template
  template: victron-energy
  usage: battery
  host: xx.xx.xx.xx
  port: 502
  capacity: 9
  name: battery1

chargers:
- type: template
  template: keba
  host: xx.xx.xx.xx
  rfid: xxxxx  
  name: wallbox1

vehicles:
- type: template
  template: bmw
  title: BMW
  user: xxxxxx
  password: xxxxxx
  vin: xxxxxxxxxxxxxx
  capacity: 74
  phases: 1
  icon: car
  cache: 5m
  mode: pv
  minCurrent: 6
  maxCurrent: 32
  name: ev2

- name: phev_1
  type: template
  template: ds
  title: DS7 Crossback
  user: xxxxxx
  password: xxxxxxxx
#  vin: xxxxxxxxxx
  capacity: 11

loadpoints:
- title: Wallbox
  charger: wallbox1
  mode: pv
  phases: 1
  mincurrent: 6
  maxcurrent: 32

site:
  title: FM1
  meters:
    grid: grid1
    pv:
     - pv1
    battery:
     - battery1
  residualPower: -350

# tariffs are the fixed or variable tariffs
# cheap (tibber/awattar) can be used to define a tariff rate considered cheap enough for charging
#tariffs:
#  currency: GBP # three letter ISO-4217 currency code (default EUR)
tariffs:
  currency: GBP
  grid:
    type: octopusenergy
    tariff: GO-VAR-22-10-14
    region: A

#  grid:
    # either static grid price
#    type: fixed
#    price: 0.41653 # GBP/kWh

    # # or variable via tibber
    # type: tibber
    # cheap: 0.2 # EUR/kWh
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # # or variable via awattar
    # type: awattar
    # cheap: 0.2 # EUR/kWh
    # region: de # optional, choose at for Austria
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.00 # GBP/kWh

mqtt:
  broker: xx.xx.xx.xx:1883
  topic: evcc # root topic for publishing, set empty to disable
  # user:
  # password:

Log details

main  ] INFO 2024/03/04 20:27:48 evcc 0.124.6
[main  ] INFO 2024/03/04 20:27:48 using config file: /etc/evcc.yaml
[db    ] INFO 2024/03/04 20:27:48 using sqlite database: /home/jraubal/.evcc/evcc.db
[db    ] TRACE 2024/03/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 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/04 20:27:48 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 SELECT * FROM `settings` 6 <nil>
[mqtt  ] INFO 2024/03/04 20:27:48 connecting evcc-215693023 at tcp://10.184.63.51:1883
[db    ] TRACE 2024/03/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[mqtt  ] DEBUG 2024/03/04 20:27:48 tcp://10.184.63.51:1883 connected
[db    ] TRACE 2024/03/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>������������������������������������������������������������������������[db    ] TRACE 2024/03/04 20:27:48 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/04 20:27:48 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 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/04 20:27:48 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 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/04 20:27:48 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/03/04 20:27:48 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/04 20:27:48 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>
grid:
[octopus] TRACE 2024/03/04 20:27:48 GET https://api.octopus.energy/v1/products/GO-VAR-22-10-14/electricity-tariffs/E-1R-GO-VAR-22-10-14-A/standard-unit-rates/
[octopus] TRACE 2024/03/04 20:27:48 {"count":1026,"next":"https://api.octopus.energy/v1/products/GO-VAR-22-10-14/electricity-tariffs/E-1R-GO-VAR-22-10-14-A/standard-unit-rates/?page=2","previous":null,"results":[{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-03-05T04:30:00Z","valid_to":"2024-03-06T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-03-05T00:30:00Z","valid_to":"2024-03-05T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-03-04T04:30:00Z","valid_to":"2024-03-05T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-03-04T00:30:00Z","valid_to":"2024-03-04T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-03-03T04:30:00Z","valid_to":"2024-03-04T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-03-03T00:30:00Z","valid_to":"2024-03-03T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-03-02T04:30:00Z","valid_to":"2024-03-03T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-03-02T00:30:00Z","valid_to":"2024-03-02T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-03-01T04:30:00Z","valid_to":"2024-03-02T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-03-01T00:30:00Z","valid_to":"2024-03-01T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-29T04:30:00Z","valid_to":"2024-03-01T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-29T00:30:00Z","valid_to":"2024-02-29T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-28T04:30:00Z","valid_to":"2024-02-29T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-28T00:30:00Z","valid_to":"2024-02-28T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-27T04:30:00Z","valid_to":"2024-02-28T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-27T00:30:00Z","valid_to":"2024-02-27T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-26T04:30:00Z","valid_to":"2024-02-27T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-26T00:30:00Z","valid_to":"2024-02-26T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-25T04:30:00Z","valid_to":"2024-02-26T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-25T00:30:00Z","valid_to":"2024-02-25T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-24T04:30:00Z","valid_to":"2024-02-25T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-24T00:30:00Z","valid_to":"2024-02-24T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-23T04:30:00Z","valid_to":"2024-02-24T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-23T00:30:00Z","valid_to":"2024-02-23T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-22T04:30:00Z","valid_to":"2024-02-23T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-22T00:30:00Z","valid_to":"2024-02-22T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-21T04:30:00Z","valid_to":"2024-02-22T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-21T00:30:00Z","valid_to":"2024-02-21T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-20T04:30:00Z","valid_to":"2024-02-21T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-20T00:30:00Z","valid_to":"2024-02-20T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-19T04:30:00Z","valid_to":"2024-02-20T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-19T00:30:00Z","valid_to":"2024-02-19T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-18T04:30:00Z","valid_to":"2024-02-19T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-18T00:30:00Z","valid_to":"2024-02-18T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-17T04:30:00Z","valid_to":"2024-02-18T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-17T00:30:00Z","valid_to":"2024-02-17T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-16T04:30:00Z","valid_to":"2024-02-17T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-16T00:30:00Z","valid_to":"2024-02-16T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-15T04:30:00Z","valid_to":"2024-02-16T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-15T00:30:00Z","valid_to":"2024-02-15T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-14T04:30:00Z","valid_to":"2024-02-15T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-14T00:30:00Z","valid_to":"2024-02-14T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-13T04:30:00Z","valid_to":"2024-02-14T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-13T00:30:00Z","valid_to":"2024-02-13T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-12T04:30:00Z","valid_to":"2024-02-13T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-12T00:30:00Z","valid_to":"2024-02-12T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-11T04:30:00Z","valid_to":"2024-02-12T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-11T00:30:00Z","valid_to":"2024-02-11T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-10T04:30:00Z","valid_to":"2024-02-11T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-10T00:30:00Z","valid_to":"2024-02-10T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-09T04:30:00Z","valid_to":"2024-02-10T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-09T00:30:00Z","valid_to":"2024-02-09T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-08T04:30:00Z","valid_to":"2024-02-09T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-08T00:30:00Z","valid_to":"2024-02-08T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-07T04:30:00Z","valid_to":"2024-02-08T00:30:00Z","payment_method":null},{"value_exc_vat":8.5714,"value_inc_vat":8.99997,"valid_from":"2024-02-07T00:30:00Z","valid_to":"2024-02-07T04:30:00Z","payment_method":null},{"value_exc_vat":29.55,"value_inc_vat":31.0275,"valid_from":"2024-02-06T04:30:00Z","valid_to":"2024-02-07T00:30:00Z","payment_method":null},{"value_
From                   To                     Price/Cost
2024-01-16 00:30:00    2024-01-16 04:30:00    0.090
2024-01-16 04:30:00    2024-01-17 00:30:00    0.310
2024-01-17 00:30:00    2024-01-17 04:30:00    0.090
2024-01-17 04:30:00    2024-01-18 00:30:00    0.310
2024-01-18 00:30:00    2024-01-18 04:30:00    0.090
2024-01-18 04:30:00    2024-01-19 00:30:00    0.310
2024-01-19 00:30:00    2024-01-19 04:30:00    0.090
2024-01-19 04:30:00    2024-01-20 00:30:00    0.310
2024-01-20 00:30:00    2024-01-20 04:30:00    0.090
2024-01-20 04:30:00    2024-01-21 00:30:00    0.310
2024-01-21 00:30:00    2024-01-21 04:30:00    0.090
2024-01-21 04:30:00    2024-01-22 00:30:00    0.310
2024-01-22 00:30:00    2024-01-22 04:30:00    0.090
2024-01-22 04:30:00    2024-01-23 00:30:00    0.310
2024-01-23 00:30:00    2024-01-23 04:30:00    0.090
2024-01-23 04:30:00    2024-01-24 00:30:00    0.310
2024-01-24 00:30:00    2024-01-24 04:30:00    0.090
2024-01-24 04:30:00    2024-01-25 00:30:00    0.310
2024-01-25 00:30:00    2024-01-25 04:30:00    0.090
2024-01-25 04:30:00    2024-01-26 00:30:00    0.310
2024-01-26 00:30:00    2024-01-26 04:30:00    0.090
2024-01-26 04:30:00    2024-01-27 00:30:00    0.310
2024-01-27 00:30:00    2024-01-27 04:30:00    0.090
2024-01-27 04:30:00    2024-01-28 00:30:00    0.310
2024-01-28 00:30:00    2024-01-28 04:30:00    0.090
2024-01-28 04:30:00    2024-01-29 00:30:00    0.310
2024-01-29 00:30:00    2024-01-29 04:30:00    0.090
2024-01-29 04:30:00    2024-01-30 00:30:00    0.310
2024-01-30 00:30:00    2024-01-30 04:30:00    0.090
2024-01-30 04:30:00    2024-01-31 00:30:00    0.310
2024-01-31 00:30:00    2024-01-31 04:30:00    0.090
2024-01-31 04:30:00    2024-02-01 00:30:00    0.310
2024-02-01 00:30:00    2024-02-01 04:30:00    0.090
2024-02-01 04:30:00    2024-02-02 00:30:00    0.310
2024-02-02 00:30:00    2024-02-02 04:30:00    0.090
2024-02-02 04:30:00    2024-02-03 00:30:00    0.310
2024-02-03 00:30:00    2024-02-03 04:30:00    0.090
2024-02-03 04:30:00    2024-02-04 00:30:00    0.310
2024-02-04 00:30:00    2024-02-04 04:30:00    0.090
2024-02-04 04:30:00    2024-02-05 00:30:00    0.310
2024-02-05 00:30:00    2024-02-05 04:30:00    0.090
2024-02-05 04:30:00    2024-02-06 00:30:00    0.310
2024-02-06 00:30:00    2024-02-06 04:30:00    0.090
2024-02-06 04:30:00    2024-02-07 00:30:00    0.310
2024-02-07 00:30:00    2024-02-07 04:30:00    0.090
2024-02-07 04:30:00    2024-02-08 00:30:00    0.310
2024-02-08 00:30:00    2024-02-08 04:30:00    0.090
2024-02-08 04:30:00    2024-02-09 00:30:00    0.310
2024-02-09 00:30:00    2024-02-09 04:30:00    0.090
2024-02-09 04:30:00    2024-02-10 00:30:00    0.310
2024-02-10 00:30:00    2024-02-10 04:30:00    0.090
2024-02-10 04:30:00    2024-02-11 00:30:00    0.310
2024-02-11 00:30:00    2024-02-11 04:30:00    0.090
2024-02-11 04:30:00    2024-02-12 00:30:00    0.310
2024-02-12 00:30:00    2024-02-12 04:30:00    0.090
2024-02-12 04:30:00    2024-02-13 00:30:00    0.310
2024-02-13 00:30:00    2024-02-13 04:30:00    0.090
2024-02-13 04:30:00    2024-02-14 00:30:00    0.310
2024-02-14 00:30:00    2024-02-14 04:30:00    0.090
2024-02-14 04:30:00    2024-02-15 00:30:00    0.310
2024-02-15 00:30:00    2024-02-15 04:30:00    0.090
2024-02-15 04:30:00    2024-02-16 00:30:00    0.310
2024-02-16 00:30:00    2024-02-16 04:30:00    0.090
2024-02-16 04:30:00    2024-02-17 00:30:00    0.310
2024-02-17 00:30:00    2024-02-17 04:30:00    0.090
2024-02-17 04:30:00    2024-02-18 00:30:00    0.310
2024-02-18 00:30:00    2024-02-18 04:30:00    0.090
2024-02-18 04:30:00    2024-02-19 00:30:00    0.310
2024-02-19 00:30:00    2024-02-19 04:30:00    0.090
2024-02-19 04:30:00    2024-02-20 00:30:00    0.310
2024-02-20 00:30:00    2024-02-20 04:30:00    0.090
2024-02-20 04:30:00    2024-02-21 00:30:00    0.310
2024-02-21 00:30:00    2024-02-21 04:30:00    0.090
2024-02-21 04:30:00    2024-02-22 00:30:00    0.310
2024-02-22 00:30:00    2024-02-22 04:30:00    0.090
2024-02-22 04:30:00    2024-02-23 00:30:00    0.310
2024-02-23 00:30:00    2024-02-23 04:30:00    0.090
2024-02-23 04:30:00    2024-02-24 00:30:00    0.310
2024-02-24 00:30:00    2024-02-24 04:30:00    0.090
2024-02-24 04:30:00    2024-02-25 00:30:00    0.310
2024-02-25 00:30:00    2024-02-25 04:30:00    0.090
2024-02-25 04:30:00    2024-02-26 00:30:00    0.310
2024-02-26 00:30:00    2024-02-26 04:30:00    0.090
2024-02-26 04:30:00    2024-02-27 00:30:00    0.310
2024-02-27 00:30:00    2024-02-27 04:30:00    0.090
2024-02-27 04:30:00    2024-02-28 00:30:00    0.310
2024-02-28 00:30:00    2024-02-28 04:30:00    0.090
2024-02-28 04:30:00    2024-02-29 00:30:00    0.310
2024-02-29 00:30:00    2024-02-29 04:30:00    0.090
2024-02-29 04:30:00    2024-03-01 00:30:00    0.310
2024-03-01 00:30:00    2024-03-01 04:30:00    0.090
2024-03-01 04:30:00    2024-03-02 00:30:00    0.310
2024-03-02 00:30:00    2024-03-02 04:30:00    0.090
2024-03-02 04:30:00    2024-03-03 00:30:00    0.310
2024-03-03 00:30:00    2024-03-03 04:30:00    0.090
2024-03-03 04:30:00    2024-03-04 00:30:00    0.310
2024-03-04 00:30:00    2024-03-04 04:30:00    0.090
2024-03-04 04:30:00    2024-03-05 00:30:00    0.310
2024-03-05 00:30:00    2024-03-05 04:30:00    0.090
2024-03-05 04:30:00    2024-03-06 00:30:00    0.310

main  ] INFO 2024/03/04 20:29:33 evcc 0.124.6
[main  ] INFO 2024/03/04 20:29:33 using config file: /etc/evcc.yaml
[main  ] INFO 2024/03/04 20:29:33 starting ui and api at :7070
[db    ] INFO 2024/03/04 20:29:34 using sqlite database: /home/jraubal/.evcc/evcc.db
[mqtt  ] INFO 2024/03/04 20:29:34 connecting evcc-1506146752 at tcp://10.184.63.51:1883
[mqtt  ] DEBUG 2024/03/04 20:29:34 tcp://10.184.63.51:1883 connected
[main  ] ERROR 2024/03/04 20:29:34 creating vehicle phev_1 failed: cannot create vehicle type 'template': cannot create vehicle type 'ds': login failed: oauth2: "server_error" "Internal Server Error"
[lp-1  ] WARN 2024/03/04 20:29:35 deprecated: minCurrent setting is ignored, please remove
[lp-1  ] WARN 2024/03/04 20:29:35 deprecated: maxcurrent setting is ignored, please remove
[lp-1  ] WARN 2024/03/04 20:29:35 deprecated: phases setting is ignored, please remove
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge total import: 13503.912kWh
[site  ] WARN 2024/03/04 20:29:35 battery configured but residualPower is missing or <= 0 (add residualPower: 100 to site), see https://docs.evcc.io/en/docs/reference/configuration/site#residualpower
[site  ] WARN 2024/03/04 20:29:35 vehicle 'DS7 Crossback (offline)' does not support automatic detection
[site  ] INFO 2024/03/04 20:29:35 site config:
[site  ] INFO 2024/03/04 20:29:35   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/03/04 20:29:35     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/03/04 20:29:35     pv 1:      power ✓ energy ✗ currents ✗
[site  ] INFO 2024/03/04 20:29:35     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2024/03/04 20:29:35   vehicles:
[site  ] INFO 2024/03/04 20:29:35     vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✓
[site  ] INFO 2024/03/04 20:29:35     vehicle 2: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[lp-1  ] INFO 2024/03/04 20:29:35 loadpoint 1:
[lp-1  ] INFO 2024/03/04 20:29:35   mode:        pv
[lp-1  ] INFO 2024/03/04 20:29:35   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/03/04 20:29:35   meters:      charge ✓
[lp-1  ] INFO 2024/03/04 20:29:35     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2024/03/04 20:29:35 phase timer inactive
[lp-1  ] DEBUG 2024/03/04 20:29:35 pv timer inactive
[site  ] WARN 2024/03/04 20:29:35 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/03/04 20:29:35 ----
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge power: 0W
[site  ] DEBUG 2024/03/04 20:29:35 pv power: 0W
[site  ] DEBUG 2024/03/04 20:29:35 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:29:35 battery power: 1044W
[site  ] DEBUG 2024/03/04 20:29:35 grid meter: 75W
[site  ] DEBUG 2024/03/04 20:29:35 site power: 769W
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:29:35 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge start energy: 1.35e+04kWh
[lp-1  ] INFO 2024/03/04 20:29:35 car connected
[lp-1  ] DEBUG 2024/03/04 20:29:35 vehicle api refresh
[lp-1  ] DEBUG 2024/03/04 20:29:35 pv timer elapse
[lp-1  ] DEBUG 2024/03/04 20:29:35 pv timer inactive
[lp-1  ] DEBUG 2024/03/04 20:29:35 charge total import: 13503.912kWh
[main  ] DEBUG 2024/03/04 20:29:36 vehicle status: B (BMW iX3)
[lp-1  ] INFO 2024/03/04 20:29:36 vehicle updated: unknown -> BMW iX3
[lp-1  ] DEBUG 2024/03/04 20:29:36 set charge mode: pv
[lp-1  ] DEBUG 2024/03/04 20:29:36 vehicle status: B
[lp-1  ] DEBUG 2024/03/04 20:29:36 vehicle soc: 51%
[lp-1  ] DEBUG 2024/03/04 20:29:36 vehicle range: 154km
[lp-1  ] DEBUG 2024/03/04 20:29:36 pv charge current: 0A = 0A + -3.34A (769W @ 1p)
[lp-1  ] DEBUG 2024/03/04 20:29:36 pv enable timer reset
[lp-1  ] DEBUG 2024/03/04 20:29:36 pv timer inactive
[site  ] DEBUG 2024/03/04 20:29:40 ----
[lp-1  ] DEBUG 2024/03/04 20:29:40 charge power: 0W
[site  ] DEBUG 2024/03/04 20:29:40 pv power: 0W
[site  ] DEBUG 2024/03/04 20:29:40 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:29:40 battery power: 1058W
[site  ] DEBUG 2024/03/04 20:29:40 grid meter: 72W
[site  ] DEBUG 2024/03/04 20:29:40 site power: 780W
[lp-1  ] DEBUG 2024/03/04 20:29:40 vehicle odometer: 27191km
[lp-1  ] DEBUG 2024/03/04 20:29:40 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:29:40 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:29:40 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:29:40 pv charge current: 0A = 0A + -3.39A (780W @ 1p)
[site  ] DEBUG 2024/03/04 20:29:45 ----
[lp-1  ] DEBUG 2024/03/04 20:29:45 charge power: 0W
[site  ] DEBUG 2024/03/04 20:29:45 pv power: 0W
[site  ] DEBUG 2024/03/04 20:29:45 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:29:45 battery power: 1049W
[site  ] DEBUG 2024/03/04 20:29:45 grid meter: 79W
[site  ] DEBUG 2024/03/04 20:29:45 site power: 778W
[lp-1  ] DEBUG 2024/03/04 20:29:45 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:29:45 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:29:45 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:29:45 pv charge current: 0A = 0A + -3.38A (778W @ 1p)
[site  ] DEBUG 2024/03/04 20:29:50 ----
[lp-1  ] DEBUG 2024/03/04 20:29:50 charge power: 0W
[site  ] DEBUG 2024/03/04 20:29:50 pv power: 0W
[site  ] DEBUG 2024/03/04 20:29:50 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:29:50 battery power: 1063W
[site  ] DEBUG 2024/03/04 20:29:50 grid meter: 31W
[site  ] DEBUG 2024/03/04 20:29:50 site power: 744W
[lp-1  ] DEBUG 2024/03/04 20:29:50 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:29:50 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:29:50 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:29:50 pv charge current: 0A = 0A + -3.24A (744W @ 1p)
[site  ] DEBUG 2024/03/04 20:29:55 ----
[lp-1  ] DEBUG 2024/03/04 20:29:55 charge power: 0W
[site  ] DEBUG 2024/03/04 20:29:55 pv power: 0W
[site  ] DEBUG 2024/03/04 20:29:55 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:29:55 battery power: 1068W
[site  ] DEBUG 2024/03/04 20:29:55 grid meter: 31W
[site  ] DEBUG 2024/03/04 20:29:55 site power: 749W
[lp-1  ] DEBUG 2024/03/04 20:29:55 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:29:55 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:29:55 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:29:55 pv charge current: 0A = 0A + -3.26A (749W @ 1p)
[site  ] DEBUG 2024/03/04 20:30:00 ----
[lp-1  ] DEBUG 2024/03/04 20:30:00 charge power: 0W
[site  ] DEBUG 2024/03/04 20:30:00 pv power: 0W
[site  ] DEBUG 2024/03/04 20:30:00 battery soc: 28%
[site  ] DEBUG 2024/03/04 20:30:00 battery power: 1068W
[site  ] DEBUG 2024/03/04 20:30:00 grid meter: 48W
[site  ] DEBUG 2024/03/04 20:30:00 site power: 766W
[lp-1  ] DEBUG 2024/03/04 20:30:00 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/03/04 20:30:00 charge total import: 13503.912kWh
[lp-1  ] DEBUG 2024/03/04 20:30:00 charger status: B
[lp-1  ] DEBUG 2024/03/04 20:30:00 pv charge current: 0A = 0A + -3.33A (766W @ 1p)

What type of operating system are you running?

Linux

Version

0.124.6

naltatis commented 8 months ago

In the last release we moved the smart cost limits from a global dialog to the individual loadpoints. This is a change in the UI. You dont have to change you tariffs. A breaking change is, that you now need to set your limit(s) once again, since there is now "global" limit any more. You can do that with the settings icon at each loadpoint.

realist625 commented 8 months ago

Ok, I have seen the changes, but there still is an issue with the functionality, the charging did not start at the ‘cheap window start point’, I looked when I was about 25 min in to the low tariff period, and charging had not started, even though it was configured (see screenshots).

Looking at the price of the session, it looks like thge system eventually figured out that the tariff was lower than the standard price, as the total is a mix of the two tariffs.

Could be time issue, or do I need to do further changes to my config?

IMG_0138 IMG_0137 IMG_0136

andig commented 8 months ago

even though it was configured (see screenshots)

Please open new issue with log file