home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.81k stars 30.9k forks source link

Netatmo Log Warnings #65485

Closed gotschi closed 2 years ago

gotschi commented 2 years ago

The problem

I still see in 2022.2.0

`Platform netatmo not ready yet: None; Retrying in background in 30 seconds

  1. Februar 2022, 23:29:40 – (WARNUNG) Auswählen`

which equals select

`Platform netatmo not ready yet: None; Retrying in background in 30 seconds

  1. Februar 2022, 23:29:40 – (WARNUNG) Licht`

which equals light

I wish I'd own those devices but nope. Am I missing something?

Also the integration creates a Folder in the Media Browser I have no use for.

Can I select the weather station to measure the weather harder? ;) Can the weather station turn up the brightness? Can it do video surveillance that I do not know of?

It keeps my log from being clean. Thanks!

What version of Home Assistant Core has the issue?

core-2022.2.0

What was the last working version of Home Assistant Core?

this is happening since ~ end 2020

What type of installation are you running?

Home Assistant Container

Integration causing the issue

netatmo

Link to integration documentation on our website

https://www.home-assistant.io/integrations/netatmo/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

netatmo documentation netatmo source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @cgtobi, mind taking a look at this issue as it has been labeled with an integration (netatmo) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

cgtobi commented 2 years ago

Can you please attach diagnostics for the integration?

cgtobi commented 2 years ago

What exactly isn't working? Is it only the log entries that bother you?

gotschi commented 2 years ago

I don't have the diagnostics option available for netatmo in 2022.2 :/

It's only the log entries being visible, everything working.

cgtobi commented 2 years ago

2022.2 should provide two ways for this. One is on the device page for one of your Netatmo devices and the other in the menu of the integration itself.

image image
cgtobi commented 2 years ago

But more importantly, what exactly isn't working/causing an issue?

gotschi commented 2 years ago

Yep, I do not see these buttons in 2022.2 here

I still have

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

In my config, without this the UI conflig flow says "the integration cannot be loaded. Plese read the Docs." So can diagnostics be disabled in this mode?

This is only cosmetic for the logs view.

gotschi commented 2 years ago

sorry, took a while to realize I needed diagnostics: in my config, the docs did not reflect that yet.


{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.2.0",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.9.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Vienna",
    "os_name": "Linux",
    "os_version": "5.10.17-v8+",
    "run_as_root": true
  },
  "custom_components": {
    "favicon": {
      "version": "10.4",
      "requirements": []
    },
    "shairport_sync": {
      "version": "1.1.1",
      "requirements": []
    },
    "browser_mod": {
      "version": "1.3.1",
      "requirements": []
    },
    "adaptive_lighting": {
      "version": "1.0.14",
      "requirements": []
    },
    "deepstack_object": {
      "version": "4.3.0",
      "requirements": [
        "pillow",
        "deepstack-python==0.8"
      ]
    },
    "xiaomi_cloud_map_extractor": {
      "version": "v2.1.5",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    },
    "remote_homeassistant": {
      "version": "3.6",
      "requirements": []
    },
    "hacs": {
      "version": "1.21.0",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "blitzortung": {
      "version": "1.0.1",
      "requirements": [
        "paho-mqtt>=1.5.0"
      ]
    },
    "webrtc": {
      "version": "v2.2.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "netatmo",
    "name": "Netatmo",
    "documentation": "https://www.home-assistant.io/integrations/netatmo",
    "requirements": [
      "pyatmo==6.2.4"
    ],
    "after_dependencies": [
      "cloud",
      "media_source"
    ],
    "dependencies": [
      "webhook"
    ],
    "codeowners": [
      "@cgtobi"
    ],
    "config_flow": true,
    "homekit": {
      "models": [
        "Healty Home Coach",
        "Netatmo Relay",
        "Presence",
        "Welcome"
      ]
    },
    "iot_class": "cloud_polling",
    "is_built_in": true
  },
  "data": {
    "info": {
      "entry_id": "67e421a3be2a2e8aa3a9806db3d56337",
      "version": 1,
      "domain": "netatmo",
      "title": "Netatmo",
      "data": {
        "auth_implementation": "netatmo",
        "token": {
          "scope": [
            "access_camera",
            "access_presence",
            "read_camera",
            "read_homecoach",
            "read_presence",
            "read_smokedetector",
            "read_station",
            "read_thermostat",
            "write_camera",
            "write_presence",
            "write_thermostat"
          ],
          "access_token": "**REDACTED**",
          "refresh_token": "**REDACTED**",
          "expires_in": 10800,
          "expire_in": 10800,
          "restricted_access_token": "**REDACTED**",
          "restricted_refresh_token": "**REDACTED**",
          "expires_at": 1643910945.2143872
        },
        "webhook_id": "**REDACTED**"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": "netatmo",
      "disabled_by": null,
      "webhook_registered": true
    },
    "data": {
      "AsyncClimateTopology": {
        "homes": [
          {
            "id": "5ed0e9820474372784438e3c",
            "name": "**REDACTED**",
            "altitude": 576,
            "coordinates": "**REDACTED**",
            "country": "AT",
            "timezone": "Europe/Vienna",
            "modules": [
              {
                "id": "70:ee:50:3a:2a:80",
                "type": "NAMain",
                "name": "**REDACTED**",
                "setup_date": 1579621213,
                "modules_bridged": [
                  "02:00:00:36:fc:0e"
                ]
              },
              {
                "id": "02:00:00:36:fc:0e",
                "type": "NAModule1",
                "name": "**REDACTED**",
                "setup_date": 1579621213,
                "bridge": "70:ee:50:3a:2a:80"
              }
            ],
            "temperature_control_mode": "heating",
            "therm_mode": "schedule",
            "therm_setpoint_default_duration": 180,
            "cooling_mode": "schedule"
          }
        ],
        "errors": []
      }
    }
  }
}```
cgtobi commented 2 years ago

Ok, thanks. I'll take a look.