Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evcc: startup fails if not connected to internet #14785

Closed
Pebberman opened this issue Jul 8, 2024 · 5 comments
Closed

evcc: startup fails if not connected to internet #14785

Pebberman opened this issue Jul 8, 2024 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@Pebberman
Copy link

Describe the bug

Internet access is down. However, all systems in the home network work and can communicate. Starting evcc fails with the message:

Error during startup. Check your configuration and restart.
cannot create tariff type 'grünstromindex': Get "https://api.corrently.io/v2.0/gsi/prediction?zip=01234": dial tcp: lookup api.corrently.io: i/o timeout

Absence of the Internet should only produce a warning, not an error.

Steps to reproduce

  1. configuration with tariff
  2. disconnect internet from outside (but keep WLAN running)
  3. start evcc

Configuration details

tariffs: 
    currency: EUR # (default EUR) 
    grid:
    # static grid price
      type: fixed 
      price: 0.278 # [currency]/kWh 
    feedin:
    # rate for feeding excess (pv) energy to 
the grid
      type: fixed
      price: 0.08 # [currency]/kWh

Log details

Error during startup. Check your configuration and restart.
cannot create tariff type 'grünstromindex': Get "https://api.corrently.io/v2.0/gsi/prediction?zip=01234": dial tcp: lookup api.corrently.io: i/o timeout

What type of operating system are you running?

Linux

Version

evcc version 0.128.1

@andig
Copy link
Member

andig commented Jul 9, 2024

What would determine if you can work without the tariff, i.e. if you don‘t have solar and only use Tibber?

@andig andig added the question Rather clarification than issue label Jul 9, 2024
@Pebberman
Copy link
Author

I have currently commented out the tariff. So evcc is running.

@VolkerK62
Copy link
Contributor

seems to be part of #14496 ?

@andig
Copy link
Member

andig commented Jul 9, 2024

I have currently commented out the tariff. So evcc is running.

Sure. But why would you want it to run if you have e.g. Tibber and nothing else? Isn't a working tariff a precondition? Closing as duplicate of #14496.

@andig andig closed this as completed Jul 9, 2024
@andig andig added duplicate This issue or pull request already exists and removed question Rather clarification than issue labels Jul 9, 2024
@VolkerK62
Copy link
Contributor

I think not to start is not consistent to #14341

Ist weder Grid/PV/DynamischerTarif vorhanden gibte es nur Aus/Schnell

Hintergrund: Sobald es ein Grid Meter gibt, hat evcc alles, um PV-Steuerung zu machen. Heißt, wenn du jetzt Strom in deinem Haus erzeugen würdest (Balkon PV in die Steckdose). Würde das alles schon klappen, ohne dass du eine PV konfigurierst. Daher gehen wir, aktuell, bei einem vorhandenen Grid-Meter immer davon aus, dass es auch Einspeisung geben kann.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants