tadasdanielius / daikin_altherma

Daikin Altherma custom component for home assistant
MIT License
71 stars 5 forks source link

entities not showing up in overview #20

Closed johansmeets closed 10 months ago

johansmeets commented 2 years ago

Hi,

I was able to install this extension via HACS. My Daikin Heat Pump with BRP069A61 gateway was automatically detected and I was able to configure the integration. However, none of the entities show up in my overview page, although they are all enabled. I can't seem to find out what I'm doing wrong here? Never had this issue with other integrations.

Kind regards, johan

johansmeets commented 2 years ago

I found an error log concerning this problem, which states the following. Can anyone conclude something from this?

_Logger: homeassistant.components.number Source: custom_components/daikin_altherma/number.py:46 Integration: Number (documentation, issues) First occurred: 6:22:44 PM (2 occurrences) Last logged: 6:22:44 PM

Error adding entities for domain number with platform daikin_altherma Error while setting up daikin_altherma platform for number Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 514, in _async_add_entity capabilities=entity.capability_attributes, File "/usr/src/homeassistant/homeassistant/components/number/init.py", line 114, in capability_attributes ATTR_MIN: self.min_value, File "/config/custom_components/daikin_altherma/number.py", line 46, in minvalue return config['minValue'] KeyError: 'minValue'

tadasdanielius commented 2 years ago

Hi, what is the model of your heat pump? Does it has boiler?

johansmeets commented 2 years ago

Hi,

I have a Daikin Altherma 3 heat pump with built-in boiler. The specific model is:

Indoor unit: EHVX08S23DJ6V Outdoor unit: ERGA06DAV3

Op 12 mrt. 2022 om 00:04 heeft Tadas Danielius @.***> het volgende geschreven:

 Hi, what is the model of your heat pump? Does it has boiler?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

tadasdanielius commented 2 years ago

Seems like your unit has different profile structure. I will add additional logging to see how it differs

tadasdanielius commented 2 years ago

I have published pre-release version which should save some diagnostic info, mainly unit profiles. If you are using HACS then install again or redownload the repo. Make sure the Show beta versions is checked and select v.1.1.4 version. Restart home assistant and you should find few files (daikin_altherma_0.json, daikin_altherma_1.json, daikin_altherma_2.json, ...) in your /config folder. Files contains unit profile info. That should help to understand how the profile is organized on your device. As an example here is what you should expect:

{
  "SyncStatus": "update",
  "Sensor": [
    "IndoorTemperature",
    "OutdoorTemperature",
    "LeavingWaterTemperatureCurrent"
  ],
  "UnitStatus": [
    "ErrorState",
    "InstallerState",
    "WarningState",
    "EmergencyState",
    "TargetTemperatureOverruledState"
  ],
  "Operation": {
    "Power": ["on", "standby"],
    "OperationMode": ["heating", "cooling", "auto"],
    "LeavingWaterTemperatureCooling": {
      "maxValue": 22,
      "minValue": 5,
      "stepValue": 1,
      "settable": true
    },
    "LeavingWaterTemperatureAuto": {
      "maxValue": 22,
      "minValue": 5,
      "stepValue": 1,
      "settable": false
    },
    "LeavingWaterTemperatureOffsetHeating": {
      "maxValue": 10,
      "minValue": -10,
      "stepValue": 1,
      "settable": true
    },
    "LeavingWaterTemperatureOffsetCooling": {
      "maxValue": 10,
      "minValue": -10,
      "stepValue": 1,
      "settable": false
    },
    "LeavingWaterTemperatureOffsetAuto": {
      "maxValue": 10,
      "minValue": -10,
      "stepValue": 1,
      "settable": true
    }
  },
  "Schedule": {},
  "Consumption": {
    "Electrical": {
      "unit": "kWh",
      "Heating": {
        "Daily": { "contentCount": 24, "resolution": 2 },
        "Weekly": { "contentCount": 14, "resolution": 1 },
        "Monthly": { "contentCount": 24, "resolution": 1 }
      },
      "Cooling": {
        "Daily": { "contentCount": 24, "resolution": 2 },
        "Weekly": { "contentCount": 14, "resolution": 1 },
        "Monthly": { "contentCount": 24, "resolution": 1 }
      }
    }
  }
}

P.S. daikinaltherma*.json files you can safely delete, but they will reappear after every restart if you are using v.1.1.4 version.

colseven commented 2 years ago

You have the SD-WLAN Adpater BRP069A78, i think thats the problem or will this work too?

johansmeets commented 2 years ago

Hi, thanks for reaching out and helping me.

I've installed your new beta version v1.1.4.

But when looking in the files (daikin_altherma_0.json, daikin_altherma_1.json, daikin_altherma_2.json, ...) in my /config folder, there is not much to see... All it says is:

{"SyncStatus": "reboot", "UnitStatus": ["ErrorState"], "DateTime": {"DateTimeAdjustable": false}}

tadasdanielius commented 2 years ago

Like @colseven said you are probably using SD-WLAN adapter. Is your unit connected to the network via wifi? I think it is not possible to control the unit with this device in this way.

johansmeets commented 1 year ago

Hi, no I am using the BRP069A61 gateway, which is connected by ethernet cable to my network.

Op di 17 mei 2022 om 08:55 schreef Tadas Danielius @.***

:

Like @colseven https://github.com/colseven said you are probably using SD-WLAN adapter. Is your unit connected to the network via wifi? I think it is not possible to control the unit with this device in this way.

— Reply to this email directly, view it on GitHub https://github.com/tadasdanielius/daikin_altherma/issues/20#issuecomment-1128485353, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEABGAYGQI33YHB5NKQVU3VKM7H5ANCNFSM5QG6V5PA . You are receiving this because you authored the thread.Message ID: @.***>

tadasdanielius commented 1 year ago

Can you control your device with Daikin's app remotely?

johansmeets commented 1 year ago

Hi, yes I can control the unit remotely with the Daikin app , without any problem.

tadasdanielius commented 1 year ago

Strange, maybe you have old firmware on your gateway...

colseven commented 1 year ago

Newest Firmware - everything works fine, i Need just a setpoint change for the Tank like heating Mode, that works Fine.

CFA11234-2F0C-4B99-B500-32AF8C0F1B8B F854BE9C-D45D-4B58-8519-1BBB0A244499