evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Options dialog flickering under Android 15 on Pixel 7

Open jahoooo opened this issue 2 years ago • 2 comments

Describe the bug

When evcc is charging and I open the dialog to switch between charging duration, solar usage, costs, ... (see video

https://github.com/user-attachments/assets/643fdd0f-6dd9-4ab7-aca9-567223299474

), the dialog starts flickering. I can still use the dialog and select the options, but it does not look so nice.

Steps to reproduce

On Pixel 7 with Android 15 (I think it also happened before under Android 14 as well) when accessing the evcc webpage.

  1. evcc in charging state
  2. open the dialog to switch between charging duration, solar usage, costs, ...
  3. screen flickers constantly

Configuration details

network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  # Homeassistant lokale IP Adresse ist:
  host: 192.168.0.81
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 30s # control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval

plant: ***

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features
sponsortoken: ***

# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

# log settings
log: info
levels:
  site: debug
  lp-1: debug
  polestar: debug
  cache: error
  db: error

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
# modbusproxy:
  # - port: 5200
  #   uri: 192.168.0.92:502
    # rtu: true
    # readonly: true # use `deny` to raise modbus errors

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: Stromverbrauch_Haus
    type: template
    template: shelly-pro-3em
    usage: grid
    host: 192.168.0.93 # IP-Adresse oder Hostname
    user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (optional)
    password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (optional)

  - name: Stromerzeugung_PV
    type: template
    template: solaredge-inverter
    usage: pv
    # Zugriff auf Solaredge via Modbus TCP über LAN
    modbus: tcpip
    id: 1
    host: 192.168.0.92 # Hostname
    port: 502 # Port
    timeout: 10s # optional 

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: Ladestation_Elektroauto
    type: template
    template: go-e-v3   # benötigt evcc Sponsorship token
    host: 192.168.0.94 # IP-Adresse oder Hostname 
    
# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: Polestar_2
    type: template
    template: polestar
    title: Polestar 2 # Wird in der Benutzeroberfläche angezeigt (optional)
    user: *** # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: *** # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    vin: # LPSVS... Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
    capacity: 79 # Akkukapazität in kWh (optional)

# site describes the EVU connection, PV and home battery
site:
  title: Aktuelle Stromnutzung # display name for UI
  meters:
    grid: Stromverbrauch_Haus # grid meter
    pv: Stromerzeugung_PV # pv inverter/ meter
  residualPower: 0 # additional household usage margin
  maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Ladestation Garage # display name for UI
    charger: Ladestation_Elektroauto # Wallbox
    mode: "pv" # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)

# tariffs are the fixed or variable tariffs
tariffs:
  currency: CHF # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    # Niedertarif alle Zeiten ausserhalb vom Hochtarif (als Defaulttarif hier Niedertarif angegeben)
    type: fixed
    price: 0.3367 # CHF/kWh
    zones:
      # Hochtarif Mo-Fr 7.00-19.00
      - days: Mon-Fri
        hours: 7-19
        price: 0.3459 # CHF/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.2237 # CHF/kWh

  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    # type: grünstromindex # GrünStromIndex (Germany only)
    # zip: <zip>

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token> # needs to be a token with forecast (not in the free tier)
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - do not supply both at the same time!
    # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
    # postcode: SW1A1AA # optional

# mqtt message broker, hiermit können die evcc Daten in home assistant wiederverwendet werden und z.B. für Automatisicerungen, etc. verwendet werden
mqtt:
   broker: localhost:1883
   topic: evcc # root topic for publishing, set empty to disable
   user: ***
   password: ***

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details

[lp-1  ] DEBUG 2024/11/17 09:12:59 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:12:59 !! pvScalePhases DOWN activePhases: 1, available power: 226W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:12:59 !! pvScalePhases UP maxPhases: 3, available power: 226W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:12:59 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:12:59 pv charge current: 0.981A = 0A + 0.981A (-226W @ 1p)
[site  ] DEBUG 2024/11/17 09:13:29 ----
[lp-1  ] DEBUG 2024/11/17 09:13:29 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:13:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:13:29 grid power: -242W
[site  ] DEBUG 2024/11/17 09:13:29 grid powers: [373 -554 -62]W
[site  ] DEBUG 2024/11/17 09:13:29 grid currents: [2.47 -2.76 -0.703]A
[site  ] DEBUG 2024/11/17 09:13:29 pv power: 1712W
[site  ] DEBUG 2024/11/17 09:13:29 site power: -242W
[lp-1  ] DEBUG 2024/11/17 09:13:29 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:13:29 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:13:29 !! pvScalePhases DOWN activePhases: 1, available power: 242W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:13:29 !! pvScalePhases UP maxPhases: 3, available power: 242W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:13:29 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:13:29 pv charge current: 1.05A = 0A + 1.05A (-242W @ 1p)
[site  ] DEBUG 2024/11/17 09:13:59 ----
[lp-1  ] DEBUG 2024/11/17 09:13:59 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:13:59 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:13:59 grid power: -247W
[site  ] DEBUG 2024/11/17 09:13:59 pv power: 1716W
[site  ] DEBUG 2024/11/17 09:13:59 grid powers: [368 -553 -62]W
[site  ] DEBUG 2024/11/17 09:13:59 grid currents: [2.42 -2.73 -0.68]A
[site  ] DEBUG 2024/11/17 09:13:59 site power: -247W
[lp-1  ] DEBUG 2024/11/17 09:13:59 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:13:59 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:13:59 !! pvScalePhases DOWN activePhases: 1, available power: 247W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:13:59 !! pvScalePhases UP maxPhases: 3, available power: 247W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:13:59 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:13:59 pv charge current: 1.07A = 0A + 1.07A (-247W @ 1p)
[site  ] DEBUG 2024/11/17 09:14:29 ----
[lp-1  ] DEBUG 2024/11/17 09:14:29 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:14:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:14:29 grid power: -208W
[site  ] DEBUG 2024/11/17 09:14:29 grid powers: [370 -541 -37]W
[site  ] DEBUG 2024/11/17 09:14:29 pv power: 1679W
[site  ] DEBUG 2024/11/17 09:14:29 grid currents: [2.43 -2.69 -0.646]A
[site  ] DEBUG 2024/11/17 09:14:29 site power: -208W
[lp-1  ] DEBUG 2024/11/17 09:14:29 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:14:29 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:14:29 !! pvScalePhases DOWN activePhases: 1, available power: 208W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:14:29 !! pvScalePhases UP maxPhases: 3, available power: 208W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:14:29 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:14:29 pv charge current: 0.904A = 0A + 0.904A (-208W @ 1p)
[site  ] DEBUG 2024/11/17 09:14:59 ----
[lp-1  ] DEBUG 2024/11/17 09:14:59 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:14:59 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:14:59 grid power: -281W
[site  ] DEBUG 2024/11/17 09:14:59 pv power: 1738W
[site  ] DEBUG 2024/11/17 09:14:59 grid powers: [339 -561 -59]W
[site  ] DEBUG 2024/11/17 09:14:59 grid currents: [2.36 -2.78 -0.696]A
[site  ] DEBUG 2024/11/17 09:14:59 site power: -281W
[lp-1  ] DEBUG 2024/11/17 09:14:59 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:14:59 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:14:59 !! pvScalePhases DOWN activePhases: 1, available power: 281W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:14:59 !! pvScalePhases UP maxPhases: 3, available power: 281W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:14:59 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:14:59 pv charge current: 1.22A = 0A + 1.22A (-281W @ 1p)
[site  ] DEBUG 2024/11/17 09:15:29 ----
[lp-1  ] DEBUG 2024/11/17 09:15:29 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:15:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:15:29 grid power: -277W
[site  ] DEBUG 2024/11/17 09:15:29 grid powers: [347 -563 -61]W
[site  ] DEBUG 2024/11/17 09:15:29 pv power: 1739W
[site  ] DEBUG 2024/11/17 09:15:29 grid currents: [2.38 -2.78 -0.695]A
[site  ] DEBUG 2024/11/17 09:15:29 site power: -277W
[lp-1  ] DEBUG 2024/11/17 09:15:29 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:15:29 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:15:29 !! pvScalePhases DOWN activePhases: 1, available power: 277W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:15:29 !! pvScalePhases UP maxPhases: 3, available power: 277W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:15:29 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:15:29 pv charge current: 1.2A = 0A + 1.2A (-277W @ 1p)
[site  ] DEBUG 2024/11/17 09:15:59 ----
[lp-1  ] DEBUG 2024/11/17 09:15:59 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:15:59 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:15:59 grid power: -256W
[site  ] DEBUG 2024/11/17 09:15:59 pv power: 1744W
[site  ] DEBUG 2024/11/17 09:15:59 grid powers: [359 -556 -60]W
[site  ] DEBUG 2024/11/17 09:15:59 grid currents: [2.44 -2.77 -0.709]A
[site  ] DEBUG 2024/11/17 09:15:59 site power: -256W
[lp-1  ] DEBUG 2024/11/17 09:15:59 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:15:59 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:15:59 !! pvScalePhases DOWN activePhases: 1, available power: 256W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:15:59 !! pvScalePhases UP maxPhases: 3, available power: 256W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:15:59 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:15:59 pv charge current: 1.11A = 0A + 1.11A (-256W @ 1p)
[site  ] DEBUG 2024/11/17 09:16:29 ----
[lp-1  ] DEBUG 2024/11/17 09:16:29 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:16:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:16:29 grid power: -334W
[site  ] DEBUG 2024/11/17 09:16:29 grid powers: [353 -561 -126]W
[site  ] DEBUG 2024/11/17 09:16:29 pv power: 1757W
[site  ] DEBUG 2024/11/17 09:16:29 grid currents: [2.41 -2.79 -0.844]A
[site  ] DEBUG 2024/11/17 09:16:29 site power: -334W
[lp-1  ] DEBUG 2024/11/17 09:16:29 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:16:29 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:16:29 !! pvScalePhases DOWN activePhases: 1, available power: 334W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:16:29 !! pvScalePhases UP maxPhases: 3, available power: 334W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:16:29 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:16:29 pv charge current: 1.45A = 0A + 1.45A (-334W @ 1p)
[site  ] DEBUG 2024/11/17 09:16:59 ----
[lp-1  ] DEBUG 2024/11/17 09:16:59 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:16:59 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:16:59 grid power: -347W
[site  ] DEBUG 2024/11/17 09:16:59 grid powers: [354 -570 -130]W
[site  ] DEBUG 2024/11/17 09:16:59 grid currents: [2.4 -2.8 -0.849]A
[site  ] DEBUG 2024/11/17 09:16:59 pv power: 1774W
[site  ] DEBUG 2024/11/17 09:16:59 site power: -347W
[lp-1  ] DEBUG 2024/11/17 09:16:59 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:16:59 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:16:59 !! pvScalePhases DOWN activePhases: 1, available power: 347W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:16:59 !! pvScalePhases UP maxPhases: 3, available power: 347W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:16:59 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:16:59 pv charge current: 1.51A = 0A + 1.51A (-347W @ 1p)
[site  ] DEBUG 2024/11/17 09:17:29 ----
[lp-1  ] DEBUG 2024/11/17 09:17:29 charge power: 0W
[lp-1  ] DEBUG 2024/11/17 09:17:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/11/17 09:17:29 grid power: -333W
[site  ] DEBUG 2024/11/17 09:17:29 grid powers: [360 -565 -127]W
[site  ] DEBUG 2024/11/17 09:17:29 pv power: 1768W
[site  ] DEBUG 2024/11/17 09:17:29 grid currents: [2.41 -2.79 -0.833]A
[site  ] DEBUG 2024/11/17 09:17:29 site power: -333W
[lp-1  ] DEBUG 2024/11/17 09:17:29 charge total import: 1382.009kWh
[lp-1  ] DEBUG 2024/11/17 09:17:29 charger status: B
[lp-1  ] DEBUG 2024/11/17 09:17:29 !! pvScalePhases DOWN activePhases: 1, available power: 333W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:17:29 !! pvScalePhases UP maxPhases: 3, available power: 333W, scalable: false
[lp-1  ] DEBUG 2024/11/17 09:17:29 !! pvScalePhases EXIT
[lp-1  ] DEBUG 2024/11/17 09:17:29 pv charge current: 1.45A = 0A + 1.45A (-333W @ 1p)
[site  ] DEBUG 2024/11/17 09:17:59 ----

What type of operating system are you running?

HomeAssistant Add-on

Nightly build

  • [X] I have verified that the issue is reproducible with the latest nightly build

Version

0.131.6

jahoooo avatar Nov 17 '24 10:11 jahoooo

Does this also happen if you access evcc without Home Assistant context? What browser are you using? Does this also happen, when accessing https://demo.evcc.io/ ?

Can't reproduce it on my Pixel 6a, Android 15, Chrome.

naltatis avatar Nov 17 '24 11:11 naltatis

Your are right, it is a browser issue! So for me this issue can be closed. Does not happen when accessing from home assistant or from chrome. Only happens when accessing through Firefox. I had a shortcut link to evcc with Firefox on my main android screen. Solved now by using Chrome.

jahoooo avatar Nov 17 '24 11:11 jahoooo