#Timeout fetching homeassistant_alerts data

1 messages · Page 1 of 1 (latest)

shrewd torrent
#

Hello, I'm new to home assistant, and trying to development some component for HA, but there is a problem in the way of deploying HA via NixOS:

I run rm -rf /var/lib/hass and install HA in pure declarative mode but still get following error:

[homeassistant.components.homeassistant_alerts.coordinator] Timeout fetching homeassistant_alerts data

I searched about the issues and find https://github.com/home-assistant/core/issues/83099
and https://github.com/home-assistant/core/issues/78310
etc.

but they are all closed and locked.

And I try to run https://alerts.home-assistant.io/alerts.json and it always success.

And my configuration.nix for HA in NixOS is simple and direct:

{ config, pkgs, lib, ... }:
{
  config = {
    services.home-assistant.enable = true;

    services.home-assistant.extraPackages = py-pkgs: with py-pkgs; [
      radios # fix error
      gtts # fix error
      aiohomekit # fix error
      python-otbr-api # fix error
      pyipp # fix error
      zlib-ng # fix warning
    ];

    services.home-assistant.customComponents = [];

    services.home-assistant.configWritable = false;
    services.home-assistant.config = {
      default_config = {
      };

      homeassistant = {
        name = "My Home";
        latitude = "!secret latitude";
        longitude = "!secret longitude";
        elevation = "!secret elevation";
        unit_system = "metric";
        time_zone = "Asia/Shanghai";
      };

      http = {
        server_port = 8123;
      };
    };

    services.home-assistant.lovelaceConfigWritable = false;
    services.home-assistant.lovelaceConfig = {
      title = "My Awesome Home (111)";
      views = [ {
        title = "Example (222)";
        cards = [ {
          type = "markdown";
          title = "Lovelace (333)";
          content = "Welcome to your **Lovelace UI**. (444)";
        } ];
      } ];
    };
  };
}

I don't know how to go on, anyone can help?

GitHub

The problem on each restart (and only then) this is in the log not using default_config: but configured as in Yaml box What version of Home Assistant Core has the issue? 2012.12.0b1 What was the la...

GitHub

The problem Keep getting Timeout fetching homeassistant_alerts data error on start-up. Have both default_config & homeassistant_alerts in packaged files. What version of Home Assistant Core has...

somber trench
#

If you can't see that either re-do the onboarding and select that you want to develop, or use the Channels & Roles tab

shrewd torrent
somber trench
#

Ah... and trying to development some component for HA made me think this was about developing