speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
98 stars 15 forks source link

[Issue]: Altherma thermostate is unavailable after update. #138

Closed trvrcr closed 1 year ago

trvrcr commented 1 year ago

After the update the thermostate shows unavailable. Value of the room sensor is available in the diagnostics as shown below.

Can i revert back to previous version?

"integration_manifest": {
    "domain": "daikin_residential_altherma",
    "name": "Daikin Residential Controller for Altherma",
    "codeowners": [
      "@speleolontra",
      "@jwillemsen"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/speleolontra/daikin_residential_altherma",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/speleolontra/daikin_residential_altherma/issues",
    "requirements": [
      "oic==1.4.0"
    ],
    "version": "2.6.0",
    "is_built_in": false
  },
  "data": {
    "device": {
      "__type": "<class 'homeassistant.helpers.device_registry.DeviceEntry'>",
      "repr": "DeviceEntry(area_id='garage', config_entries={'0000000000000000000000000000'}, configuration_url=None, connections={('mac', 'xx:xx:xx:xx:xx:xx')}, disabled_by=None, entry_type=None, hw_version=None, id='0000000000000000000000000000', identifiers={('daikin_residential_altherma', '0000000000-cac2-45b1-00000000000000')}, manufacturer='Daikin', model='BRP069A78', name_by_user='Central Heat Pump', name='', suggested_area=None, sw_version='3.2.4', via_device_id=None, is_new=False)"
    },
    "device_json_data": {
      "_id": "00000000000000000000000000000",
      "deviceModel": "Altherma",
      "type": "heating-wlan",
      "isCloudConnectionUp": {
        "settable": false,
        "value": true
      },
      "managementPoints": [
        {
          "embeddedId": "gateway",
          "managementPointType": "gateway",
          "managementPointCategory": "secondary",
          "firmwareVersion": {
            "settable": false,
            "value": "3.2.4",
            "maxLength": 8
          },
          "ipAddress": {
            "settable": false,
            "value": "xxx.xxx.xxx.xxx",
            "maxLength": 15
          },
          "iconId": {
            "settable": true,
            "requiresReboot": false,
            "value": 3
          },
          "isFirmwareUpdateSupported": {
            "settable": false,
            "requiresReboot": false,
            "value": true
          },
          "macAddress": {
            "settable": false,
            "value": "xx:xx:xx:xx:xx:xx",
            "maxLength": 17
          },
          "modelInfo": {
            "settable": false,
            "value": "BRP069A78",
            "maxLength": 9
          },
          "name": {
            "settable": true,
            "requiresReboot": false,
            "value": "Gateway",
            "maxLength": 63
          },
          "ssid": {
            "settable": false,
            "requiresReboot": false,
            "value": "xxxxxxxxx",
            "maxLength": 9
          },
          "serialNumber": {
            "settable": false,
            "value": "00xxxxxx",
            "maxLength": 16
          },
          "wifiConnectionSSID": {
            "settable": false,
            "requiresReboot": false,
            "value": "xxxxxx",
            "maxLength": 32
          },
          "wifiConnectionStrength": {
            "settable": false,
            "requiresReboot": false,
            "value": -62,
            "maxValue": 0,
            "minValue": -90,
            "stepValue": 1
          }
        },
        {
          "embeddedId": "climateControlMainZone",
          "managementPointType": "climateControl",
          "managementPointSubType": "mainZone",
          "managementPointCategory": "primary",
          "consumptionData": {
            "settable": false,
            "requiresReboot": false,
            "ref": "#consumptionData",
            "value": {
              "electrical": {
                "heating": {

                  ]
                },
                "cooling": {
                  "d": [

                  ],
                  "w": [

                  ],
                  "m": [

                  ]
                }
              }
            }
          },
          "controlMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "roomTemperature",
            "values": [
              "leavingWaterTemperature",
              "externalRoomTemperature",
              "roomTemperature"
            ]
          },
          "errorCode": {
            "settable": false,
            "requiresReboot": false,
            "value": "",
            "maxLength": 16
          },
          "holidayMode": {
            "settable": false,
            "requiresReboot": false,
            "ref": "#holidayMode",
            "value": {
              "enabled": false,
              "startDate": "xxxxxxx",
              "endDate": "xxxxxxx"
            }
          },
          "iconId": {
            "settable": false,
            "requiresReboot": false,
            "value": 8
          },
          "isHolidayModeActive": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInEmergencyState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInErrorState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInInstallerState": {
            "settable": false,
            "requiresReboot": false,
            "value": true
          },
          "isInWarningState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "name": {
            "settable": false,
            "requiresReboot": false,
            "value": "",
            "maxLength": 63
          },
          "onOffMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "on",
            "values": [
              "off",
              "on"
            ]
          },
          "operationMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "heating",
            "values": [
              "heating",
              "cooling",
              "auto"
            ]
          },
          "schedule": {
            "settable": false,
            "ref": "#schedule",
            "value": {
              "currentMode": {
                "settable": false,
                "value": "heating",
                "values": [
                  "heating",
                  "cooling"
                ]
              },
              "modes": {
                "heating": {
                  "enabled": {
                    "settable": false,
                    "requiresReboot": false,
                    "value": true
                  },
                  "currentSchedule": {
                    "settable": false,
                    "requiresReboot": false,
                    "value": "scheduleHeatingRT1",
                    "values": [
                      "scheduleHeatingRT1",
                      "scheduleHeatingRT2",
                      "scheduleHeatingRT3"
                    ]
                  },
                  "meta": {
                    "minIntervalBetweenActions": "00:10:00",
                    "maxSchedules": 3,
                    "maxActionsPerActionPeriod": 6,
                    "consecutiveActionsAllowed": true,
                    "actionTypes": {
                      "roomTemperature": {
                        "settable": false,
                        "maxValue": 25,
                        "minValue": 16,
                        "stepValue": 1
                      }
                    }
                  },
                  "schedules": {
                    "scheduleHeatingRT1": {
                      "settable": false,
                      "name": {
                        "settable": false,
                        "requiresReboot": false,
                        "value": "User defined 1"
                      },
                      "meta": {
                        "isReadOnly": false,
                        "actionPeriods": [
                          "monday",
                          "tuesday",
                          "wednesday",
                          "thursday",
                          "friday",
                          "saturday",
                          "sunday"
                        ]
                      },
                      "actions": {

                          }
                        }
                      }
                    },
                    "scheduleHeatingRT2": {
                      "settable": false,
                      "name": {
                        "settable": false,
                        "requiresReboot": false,
                        "value": "User defined 2"
                      },
                      "meta": {
                        "isReadOnly": false,
                        "actionPeriods": [
                          "monday",
                          "tuesday",
                          "wednesday",
                          "thursday",
                          "friday",
                          "saturday",
                          "sunday"
                        ]
                      },
                      "actions": {}
                    },
                    "scheduleHeatingRT3": {
                      "settable": false,
                      "name": {
                        "settable": false,
                        "requiresReboot": false,
                        "value": "User defined 3"
                      },
                      "meta": {
                        "isReadOnly": false,
                        "actionPeriods": [
                          "monday",
                          "tuesday",
                          "wednesday",
                          "thursday",
                          "friday",
                          "saturday",
                          "sunday"
                        ]
                      },
                      "actions": {}
                    }
                  }
                },
                "cooling": {
                  "enabled": {
                    "settable": false,
                    "requiresReboot": false,
                    "value": true
                  },
                  "currentSchedule": {
                    "settable": false,
                    "requiresReboot": false,
                    "value": "scheduleCoolingRT1",
                    "values": [
                      "scheduleCoolingRT1"
                    ]
                  },
                  "meta": {
                    "minIntervalBetweenActions": "00:10:00",
                    "maxSchedules": 1,
                    "maxActionsPerActionPeriod": 6,
                    "consecutiveActionsAllowed": true,
                    "actionTypes": {
                      "roomTemperature": {
                        "settable": false,
                        "maxValue": 30,
                        "minValue": 18,
                        "stepValue": 1
                      }
                    }
                  },
                  "schedules": {
                    "scheduleCoolingRT1": {
                      "settable": false,
                      "name": {
                        "settable": false,
                        "requiresReboot": false,
                        "value": "User defined"
                      },
                      "meta": {
                        "isReadOnly": false,
                        "actionPeriods": [
                          "monday",
                          "tuesday",
                          "wednesday",
                          "thursday",
                          "friday",
                          "saturday",
                          "sunday"
                        ]
                      },
                      "actions": {

                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "sensoryData": {
            "settable": false,
            "ref": "#sensoryData",
            "value": {
              "roomTemperature": {
                "settable": false,
                "requiresReboot": false,
                "value": 20,
                "maxValue": 127,
                "minValue": -127,
                "stepValue": 0.1
              },
              "outdoorTemperature": {
                "settable": false,
                "requiresReboot": false,
                "value": 12,
                "maxValue": 127,
                "minValue": -127,
                "stepValue": 1
              },
              "leavingWaterTemperature": {
                "settable": false,
                "requiresReboot": false,
                "value": 36,
                "maxValue": 127,
                "minValue": -127,
                "stepValue": 1
              }
            }
          },
          "setpointMode": {
            "settable": false,
            "requiresReboot": true,
            "value": "fixed",
            "values": [
              "fixed",
              "weatherDependentHeatingFixedCooling",
              "weatherDependent"
            ]
          },
          "temperatureControl": {
            "settable": false,
            "ref": "#temperatureControl",
            "value": {
              "operationModes": {
                "auto": {
                  "setpoints": {
                    "roomTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 18,
                      "maxValue": 25,
                      "minValue": 16,
                      "stepValue": 0.5
                    },
                    "leavingWaterTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 36,
                      "maxValue": 39,
                      "minValue": 25,
                      "stepValue": 1
                    }
                  }
                },
                "heating": {
                  "setpoints": {
                    "roomTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 18,
                      "maxValue": 25,
                      "minValue": 16,
                      "stepValue": 0.5
                    },
                    "leavingWaterTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 36,
                      "maxValue": 39,
                      "minValue": 25,
                      "stepValue": 1
                    }
                  }
                },
                "cooling": {
                  "setpoints": {
                    "roomTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 30,
                      "maxValue": 30,
                      "minValue": 18,
                      "stepValue": 0.5
                    },
                    "leavingWaterTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 20,
                      "maxValue": 22,
                      "minValue": 14,
                      "stepValue": 1
                    }
                  }
                }
              }
            }
          }
        },
        {
          "embeddedId": "domesticHotWaterTank",
          "managementPointType": "domesticHotWaterTank",
          "managementPointCategory": "primary",
          "consumptionData": {
            "settable": false,
            "requiresReboot": false,
            "ref": "#consumptionData",
            "value": {
              "electrical": {
                "heating": {
                  "d": [

                  ],
                  "w": [

                  ],
                  "m": [

                    null,
                    null
                  ]
                }
              }
            }
          },
          "errorCode": {
            "settable": false,
            "requiresReboot": false,
            "value": "",
            "maxLength": 16
          },
          "heatupMode": {
            "settable": false,
            "requiresReboot": true,
            "value": "reheatOnly",
            "values": [
              "reheatOnly",
              "reheatSchedule",
              "scheduleOnly"
            ]
          },
          "iconId": {
            "settable": false,
            "requiresReboot": false,
            "value": 9
          },
          "isHolidayModeActive": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInEmergencyState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInErrorState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isInInstallerState": {
            "settable": false,
            "requiresReboot": false,
            "value": true
          },
          "isInWarningState": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "isPowerfulModeActive": {
            "settable": false,
            "requiresReboot": false,
            "value": false
          },
          "name": {
            "settable": false,
            "requiresReboot": false,
            "value": "",
            "maxLength": 63
          },
          "onOffMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "on",
            "values": [
              "off",
              "on"
            ]
          },
          "operationMode": {
            "settable": false,
            "value": "heating",
            "values": [
              "heating"
            ]
          },
          "powerfulMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "off",
            "values": [
              "off",
              "on"
            ]
          },
          "sensoryData": {
            "settable": false,
            "ref": "#sensoryData",
            "value": {
              "tankTemperature": {
                "settable": false,
                "requiresReboot": false,
                "value": 48,
                "maxValue": 127,
                "minValue": -127,
                "stepValue": 1
              }
            }
          },
          "setpointMode": {
            "settable": false,
            "requiresReboot": false,
            "value": "fixed",
            "values": [
              "fixed",
              "weatherDependent"
            ]
          },
          "temperatureControl": {
            "settable": false,
            "ref": "#temperatureControl",
            "value": {
              "operationModes": {
                "heating": {
                  "setpoints": {
                    "domesticHotWaterTemperature": {
                      "settable": false,
                      "requiresReboot": false,
                      "value": 48,
                      "maxValue": 70,
                      "minValue": 30,
                      "stepValue": 1
                    }
                  }
                }
              }
            }
          }
        },
        {
          "embeddedId": "indoorUnitHydro",
          "managementPointType": "indoorUnitHydro",
          "managementPointCategory": "secondary",
          "eepromVersion": {
            "settable": false,
            "requiresReboot": false,
            "value": "xxxxxxxxxx",
            "maxLength": 16
          },
          "iconId": {
            "settable": true,
            "requiresReboot": false,
            "value": 4
          },
          "modelInfo": {
            "settable": false,
            "requiresReboot": false,
            "value": "EHBX08EF6V",
            "maxLength": 16
          },
          "name": {
            "settable": true,
            "requiresReboot": false,
            "value": "Indoor Hydro Unit",
            "maxLength": 63
          },
          "softwareVersion": {
            "settable": false,
            "requiresReboot": false,
            "value": "0222",
            "maxLength": 16
          }
        },
        {
          "embeddedId": "outdoorUnit",
          "managementPointType": "outdoorUnit",
          "managementPointCategory": "secondary",
          "iconId": {
            "settable": true,
            "requiresReboot": false,
            "value": 5
          },
          "name": {
            "settable": true,
            "requiresReboot": false,
            "value": "Outdoor Unit",
            "maxLength": 63
          },
          "softwareVersion": {
            "settable": false,
            "requiresReboot": false,
            "value": "FFFF",
            "maxLength": 16
          }
        },
        {
          "embeddedId": "userInterface",
          "managementPointType": "userInterface",
          "managementPointCategory": "secondary",
          "dateTime": {
            "settable": false,
            "requiresReboot": false,
            "value": "2023-03-23T20:39:38"
          },
          "firmwareVersion": {
            "settable": false,
            "requiresReboot": false,
            "deprecated": "DEPRECATED",
            "value": "6.9.0",
            "maxLength": 16
          },
          "iconId": {
            "settable": true,
            "requiresReboot": false,
            "value": 6
          },
          "miconId": {
            "settable": false,
            "requiresReboot": false,
            "value": "20010E05",
            "maxLength": 16
          },
          "modelInfo": {
            "settable": false,
            "requiresReboot": false,
            "value": "EHBX08EF6V",
            "maxLength": 16
          },
          "name": {
            "settable": true,
            "requiresReboot": false,
            "value": "User Interface",
            "maxLength": 63
          },
          "softwareVersion": {
            "settable": false,
            "requiresReboot": false,
            "value": "6.9.0",
            "maxLength": 16
          }
        }
      ],
      "embeddedId": "80000000000000000000000",
      "timestamp": "2023-03-23T21:13:38.97Z",
      "id": "000000000000000000000000000005",
      "lastUpdateReceived": "2023-03-23T21:13:38.97Z"
    }
jwillemsen commented 1 year ago

Please enable logging (see readme) and attach the log.

It looks you have a custom schedule, when I look under temperatureControl all settings have settable=false which means we can't set the values, have you tried to disable your custom schedule.

Please attach screenshots of HA and the Onecta app to compare.

trvrcr commented 1 year ago

It worked with the schedule before, So is the update a regression of functionality? Might be that it is necessary but then I know what i need to adapt to change it.

image

jwillemsen commented 1 year ago

Please enable logging (see the readme.md) and attach the log file you got. Does maybe the entity id changed, go to settings/devices and click the device link under the altherma integration, what do you see there? Under controls do you see the thermostat there?

trvrcr commented 1 year ago

image

For the logs is it only adding the following lines in the configuration.yaml file and then resload the file?

logger:
  logs:
    custom_components.daikin_residential_altherma.climate: debug

I cannot see any new entries in the log of Home Assistant Core.

jwillemsen commented 1 year ago

Yes, enable logging, see https://github.com/speleolontra/daikin_residential_altherma#setting-the-log-level. You do see energy values, strange.

TomNoLimit commented 1 year ago

It worked with the schedule before, So is the update a regression of functionality? Might be that it is necessary but then I know what i need to adapt to change it.

image

I had the same experience +/- 1 week ago. No change in version of the integration, and the problem "disappeared" as mysterious as it came. I wasn't able to do extra "research" or "debug" at the time... but there were HA updates at the same time and maybe an update in the Daikin app also. I'm not sure ... but maybe an "external cause" other than this integration?

trvrcr commented 1 year ago

Just rebooted the whole of Home assistant again to check and issue has been resolved. Seems like @TomNoLimit has it right.