Giter VIP home page Giter VIP logo

remeha_home's Introduction

Remeha Home integration for Home Assistant

This integration lets you control your Remeha Home thermostats from Home Assistant.

Before using this integration, make sure you have set up your thermostat in the Remeha Home app. If you are unable to use the Remeha Home app for your thermostat, this integration will not work.

Current features

  • All climate zones are exposed as climate entities with:
    • The following modes:
      • Auto mode: the thermostat will follow the clock program. If the target temperature is changed, it will temporarily override the clock program until the next target temperature change in the schedule.
      • Heat mode: the thermostat will be set to manual mode and continuously hold the set temperature.
      • Off mode: the thermostat is disabled.
    • Three presets for the three clock programs available in the Remeha Home app. When a preset is selected, the integration will automatically switch the climate zone to auto mode to make sure the preset is applied.
  • Each climate zone also exposes the following sensors/switches:
    • The next schedule setpoint
    • The time at which the next schedule setpoint gets activated
    • The current schedule setpoint
    • Switch to control fireplace mode
  • Each hot water zone exposes the following sensors:
    • The water temperature
  • Each appliance (CV-ketel) exposes the following sensors:
    • The water pressure

Installation

Install with HACS (recommended)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Do you have HACS installed? Click the button or follow the instructions.

  1. Search integrations for Remeha Home
  2. Click Install
  3. Restart Home Assistant
  4. See Setup

Install manually

  1. Install this platform by creating a custom_components folder in the same folder as your configuration.yaml, if it doesn't already exist.
  2. Create another folder remeha_home in the custom_components folder. Copy all files from custom_components/remeha_home into the remeha_home folder.

Setup

  1. In Home Assitant click on Configuration
  2. Click on Devices & Services
  3. Click on + Add integration
  4. Search for and select Remeha Home
  5. Enter your email address and password
  6. Click "Next"
  7. Enjoy

API documentation

For information on the Remeha Home API see API documentation.

remeha_home's People

Contributors

dynasticorpheus avatar gyosa3 avatar jxxit avatar msvisser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

remeha_home's Issues

will De Dietrich work too?

Hi,
I have a De Dietrich heater,
same app etc as remeha just other brand name,
will this integration work?

if not could the api address be added for it?

I thought they'd use the same https://api.bdrthermea.net/Mobile/api/ since its the same app / group..
but my login doesn't seem to work for the integration as of now.

Deprecated functions, Rermeha failed

Logger: homeassistant.helpers.typing
Source: helpers/deprecation.py:206
First occurred: 7:47:36 PM (1 occurrences)
Last logged: 7:47:36 PM

HomeAssistantType was used from remeha_home, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'remeha_home' custom integration

Outdoor temperature is shown as Unknown, can we use alternative?

@msvisser Thanks for creating this HA component. Is looking and working very nice!

I don't have an external temperature sensor so the outdoor temperature is shown as "Unknown". It would be nice if in that case the cloudOutdoorTemperature is shown as a fallback scenario.

A simple implementation is something like this:

        if self.entity_description.device_class == SensorDeviceClass.TEMPERATURE:
            if value is None:
                return self.coordinator.get_appliance(self.appliance_id)["outdoorTemperatureInformation"]["cloudOutdoorTemperature"]

Or maybe use the property "capabilityOutdoorTemperature": false in the json?

Could you you have a look at it?

Originally posted by @rdeveen in #6 (comment)

Moved to the new home app.

Hi there,

I've been moved to the new app. Before i used the bdr_Thermostat and worked fine until i got moved. Now I tried to install de repository and install the app. But when I try to login the message come with wrong username or password. I signed out from the remeha home app and logged in with the same credentials. Can someone tell me what I'm doing wrong?

Alert Hassio 2023.7.1

Hello,
updating Home Assistant to version 2023.7.1 this message appears in the system logs:
"Entity None (<class 'custom_components.remeha_home.climate.RemehaHomeClimateEntity'>) is implicitly using device name by not setting its name.Instead, the name should be set to None, please report it to the custom integration author."

Thanks to the availability
Regards Seouk

Feature request: Activate schedule

Hi Mitchel,

Can you add the feature to activate a schedule. This feature was present in the BDR_Thermostat maybe it is possible to add it in this intergration?

Regards,
Bob

Feature request: 'outside temperature' sensor

As a user coming from the BDR Thermostat integration I'm missing one feature, and that's exposing the 'outside temperature' probe/sensor as an HA sensor. Since the Remeha Home app does show it as well, I assume this outside probe/sensor is available on the API. Unfortunately, the Remeha App (on iOS at least) seems to have implemented SSL pinning, so I'm unable to log the request/response to verify.

Water temperature Elga Ace

Hello, just migrated from etwist to home app here.
When the Etwist integration was still working it would also return the water temperature of the Elga Ace for the central heating.
I don't see this in the new app. Is Remeha not delivering this information in the API anymore, or do I need to read a specific value not present in the current output ?

Usage statistics

Hi Michiel,

Thanks a lot for this integration, it works really nice for me. I was wondering if it would be possible to include the usage statistics in the integration as an entity. I see they can be obtained using the API you refer to, but they are not in the integration. Unfortunately I'm a nono in programming so I have no idea how to integrate this. Would it be possible to include this in a further update?

My apologies for posting this here as this is not a real "issue" but I didn't know where to post it elsewhere.

Feature request - adaptation from older Baxi integration

Hi, thanks a lot for this integration with the new app, I was very worried to loose remote control via Home Assistant.

I wanted to share how I tweaked my boiler controls, based on the earlier Node-Red version of Domaray's Baxi integration, if you wish to integrate some of the ideas (it's really adapted to my situation, but some things may still be useful).

1/ I run an automation which triggers on several options. If criteria are fulfilled, it switches the boiler to "schedule 1" mode (i.e. in winter), if not, it switches to "manual" mode and sets the target temp to 9°C (i.e. the rest of the year), because I never got the API call for the "anti-frost" mode and always thought that there was no "off" mode (i.e. "off" for heating but "on" for hot water). Now I see an "off" option in the new Remeha app, so...

2/ I added a sensor to know if the boiler was still connected to the cloud (therefore if the other values are meaningful) by querying
https://ruapi.remoteapp.bdrthermea.com/v1.0/system/gateway/connection with the properly authenticated header. Normal result should be "connected_to_appliance". I find it is a useful sensor, e.g. I trigger a notification when I loose connection with my boiler.

3/ For controling the status message of the "thermostat" of the boiler, I introduced a bit of translation of the attributes.

I'm currently running the boiler in "manual" mode at 9°C and that's how it shows:
image

For me it's not totally accurate. If I take separately the left part and right part of the text below the set temp, as well as the icon below the text, I'd propose something in this manner (this is amended extracts of the javascript code I used in NodeRed):

Left part of the text, if it is "action":

if(connectionStatus == "connected_to_appliance"){
    if(setpoint > temp){
        action = "heating";
    } else {
        action = "idle";
    }
} else{
    action = "offline";
}

Right part of the text and icon are both based on a calculation of the "real_mode" the thermostat is into (maybe modes names have changed in the new app):

if(current_mode == "temporary-override"){
    real_mode = next_mode + " (TO)";
} else{
    if(current_mode == "schedule") {
        real_mode = current_mode + " (" + program_number + ")";
    } else {
        real_mode = current_mode;
    }
}

Form which you could derive the right side of the text as "status" like:

if(connectionStatus == "connected_to_appliance"){
    if(real_mode == "manual"){    (or "anti-frost", etc.)
        status = "Summer idle";    (or anything alike, but not "Clock program 1" as shown in the picture above)
    } else{
        status = real_mode;
    }
} else{
    status = "";    (will only show left text "offline" then)

And you can derive the icon to activate:

if(connectionStatus == "connected_to_appliance"){
    if(filtered_mode == "manual"){   (and/or "anti-frost", etc.)
        icon = "cool";
    } else {
        icon = "heat";
    }
} else{
    icon = "off";
}

For me it is either "heat", "cool", "off" or "schedule", "cool", "off" combinations.
the "schedule" icon can be used if the mode is "schedule" or the "heat" icon is used if the action is "heating", it's a matter of taste, but I don't see the purpose of "schedule" and "heat" at the same time.

4/ for changing the mode in the thermostat Lovelace card, I coded 2 options:

  • forced change of the temperature in the wheel is a way to exit "manual" mode and re-engage "schedule" mode, but it's really dodgy, probably works only for me:
switch (current_mode) {
  case 'manual':
      if (target_temp > 17) {
          target_mode = "schedule";
      } else { 
          target_mode = "manual";
      }
    break;
  case 'schedule':
      target_mode = "override";
    break;
  case 'temporary-override':
      target_mode = "override";
    break;
  default:
      target_mode = "schedule";
}
  • forced change of mode by clicking the icons: I don't understand the difference between the "schedule" icon and the "heat" icon, they basically lead to the same "schedule 1" mode. I'd have preferred to see a "schedule", "cool" and "off" icons. Not sure what to do when in Temp override so I decided to do nothing (not good). For the rest, clicking on "cool" or on "schedule" do this:
if (current_mode != "temporary_override") {
    if (target_mode = "manual") {
        target_temp = 9;    (then switch mode)
   }
   if (target_mode = "schedule") {
        target_program = 1;  (then switch mode)
   }
}

A few last things:

Good luck with this integration and hope my request will help you with new ideas.

integration failing to load

The integration uses to be working fine but is no longer loading, displaying the "Failed setup, will retry" error.

The only log I can find related to this integration is:

Logger: homeassistant.config_entries
Source: config_entries.py:441
First occurred: 12:04:44 (1 occurrences)
Last logged: 12:04:44
Config entry '$MY_EMAIL ' for remeha_home integration not ready yet; Retrying in background

Feature request: Enable/Disable fireplace mode

Hello,

With the wood fire pit on, the fire tricks the temperature of the thermostat and shutdown the boiler as a consequence the rest of the rooms of the house gets cold.

If home assistant can control the fireplacemode it can enable and disable with and automation like if the room temperature is above 3degres of the average of the rooms enable fireplace mode.

Thanks 👍

Hot tapwater switch

In the app there is an option to set or disable the comfort mode for hot water, should be nice to have it in a dashboard

Feature request - thermostat current temperature as a seperate sensor

Goed morning, the watertemperature sensor is working great.

I would like to setup a history graph with 3 values:
current outdoor temperature (works - available)
current water temperature (works - available)
current thermostat temperature

The current thermostat temperature is available as attribute to the GTW16 implementation. However, Home Assistant does not recognize it a a sensor so no history data is available. This was the same in the old plugin, so I am using a separate temperature sensor for this.
Is it possible to have an optional sensor in the plugin that has the current temperature?

Thanks,

Consumption sensors BETA

This issue can be used to post problems with the beta versions (v0.1.14b0) containing the consumption sensors. The beta version can be installed via HACS and then the consumption sensors can be enabled under the "home" entity of the integration.

Debug logging shows an entry that requests to report this

Hi, I frequently see entries in the log that devices become unavailable, typically when they are controlled by an automation action. This might have something to do with it:
FYI:

Logger: homeassistant.components.climate
Source: components/climate/init.py:354
Integration: Climate (documentation, issues)
First occurred: 19:17:56 (1 occurrences)
Last logged: 19:17:56

Entity None (<class 'custom_components.remeha_home.climate.RemehaHomeClimateEntity'>) implements HVACMode(s): off, heat, auto and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/msvisser/remeha_home/issues

Feature request

To be able to set a timer like in the Remeha home app, would be very nice to have through home assistant.

Screenshot_20240117-231826.png

Lost wifi connection on Etwist

Hi There,

Wondering if there are more users having problems with the Etwist Thermostat that is saying Connection problems cannot connect to server. Have now disabled the remeha_home integration to test it.

Regards,
Bob

Integration doesn't work for me

Hi,

The integration does not work for me. I am seeing this error after adding the integration in Settings:

Logger: homeassistant.config_entries
Source: config_entries.py:424
First occurred: 15:12:15 (1 occurrences)
Last logged: 15:12:15

Config entry 'Remeha Home' for remeha_home integration not ready yet; Retrying in background

My installation was manual as HACS could not find it. Maybe I should have added your GIT to HACS first? Anyway, I uploaded the files to the correct folder (I assume) and after a reboot I was able to select it in the add integrations page. After providing email address and password, it was added to the installed integrations, but with an error.

I am trying to use this with a eTwist thermostat from Remeha. I have been using this integration, until it stopped working a couple of days ago. That integration requires you to pair the integration with the thermostat. The pairing code can be retrieved from the thermostat itself.

Maybe this integration is not for me, because it is lacking the pairing currently?

Boiler temperature stopped working

Hi,

when I switched to latest version the temperature was added and in device Remeha DHW and it worked well.

Since a week or 2 I noticed that it stopped working and the entity sensor.remeha_dhw_water_temperature is "unavailable".

As it worked for a while, I suspect that Remeha changed something in the API +/- recently, or it's something on my side, but I tried to reinstall the integration code to no avail.

Ciao,
G.

Set temperature manualy

Hi Michiel,

Thank you for buidling this integration, it works well. I'm pretty new to Home Assistant, please forgive me if I'm asking stupid questions.
I have the following use case: I have an automation in place that when everybody leaves the house, then all garden lights to go out. I would like to extend this with setting the temperature of my heating to 17,5 degrees, But I don't seem to have an option to control the temprature from an automation. Or am I missing something?
Thank you for you response.

Maurice

Integration is unstable

The problem:
The integration works, but very often the entities become unavailable.

What have I done to resolve it:
Reinstalled and reconfigured the integration

Environment:
Core 2024.4.4
Supervisor 2024.04.0
Operating System 12.2
Frontend 20240404.2
Remeha Home 0.1.13
HACS 1.34

Part of the logs:
2024-04-24 10:07:01.113 ERROR (MainThread) [custom_components.remeha_home.coordinator] Timeout fetching remeha_home data 2024-04-24 10:12:02.799 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 2.688 seconds (success: True) 2024-04-24 10:13:32.112 ERROR (MainThread) [custom_components.remeha_home.coordinator] Timeout fetching remeha_home data 2024-04-24 10:13:32.112 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 30.002 seconds (success: False)

sensor current temperature

Hi, thank you for this great implementation.
I haven't found the sensor for the current temperature, that could be useful.

Stopped collecting consumption values

The integration stopped collecting consumed energy since 29th February.
2024-03-02 00:17:52.588 WARNING (MainThread) [custom_components.remeha_home.coordinator] No consumption data found for appliance 2xxxxxxx. Nothing else changed, historical data before 29th still available from the same entity. Also tried restoring a previous backup but the issue still stands.

Integration gets stuck when token refresh fails

I noticed that the Remeha plugin stopped working 2 days ago. The Remeha app is working, so maybe something went wrong with the api?
I have tried to reload the plugin but I am getting this error:
2023-05-20 23:16:23.466 ERROR (MainThread) [custom_components.remeha_home.coordinator] Error fetching remeha_home data:
2023-05-22 17:37:07.493 WARNING (MainThread) [homeassistant.config_entries] Config entry 'email' for remeha_home integration not ready yet; Retrying in background

Anyone noticed this too?

DeDietrich

This integration seems to work with the dedietrich thermostats.
After logging in to the Remeha app with Dedietrich credentials, the thermostats appear to be discovered automatically.
It might be worth mentioning this in the description of the integration. I spent quite a bit of time looking for a working integration for dedietrich thermostats, so many others are likely seeking this information as well.

Feature request

I was transferred from the etwist to the home app. I used BDR thermostat and luckily I found this integration. Is it possible to add water temperature lik there was in BDR thermostat. I used this to monitor if I can eventually switch to a Hybride solution. Water temperature in heating modus should not be higher than 50.

Thanks.

Feature Requests & Suggestions

Hi,

I've just got this up and running thanks to your help with issue #33 .

I have a few suggestions / requests and would love to hear your thoughts on them:

  1. Since the migration from BDR Thermea to Azure, the backend and apps across most (if not all) of their brands are the same. What I am saying is, your app here is now no longer just 'remeha' - it's actually an app for all BDR Themrea brands. In short, you can actually use your app to out of the box to also control Baxi heat pumps/boilers etc. And HA does not actually have another integration for this - you are the only one :) https://community.home-assistant.io/t/baxi-txm-rxm-10c-opentherm-thermostat-ha-integration/358612 - latest 10 posts or so

  2. Would it be possible to add hvac mode cooling?. And in fact, is the only way I can make it 'cool' - auto is misleading and actually can only be used for heating in my case :(

312CD308-B6C1-4E58-BCF1-30B01E867554_4_5005_c

  1. Would it be possible to add a preset_mode = manual? This is where you manually set the desired temperature and it does not follow a schedule. It will allow for a lot more control in HA (e.g. change temperature based on price of electricity etc etc), than relying on the schedules.

A6760AE8-C329-4169-97F1-87A6CC2D2C08_4_5005_c

  1. Would it be possible to add the boiler boost function? It's essentially activating the boiler on demand out of schedule in case you need hot water.

All 2,3,4 above are available in the remeha app by default for me. I've added some screenshots and can provide more data when needed.

Remeha Home integration stops working with unknown error

Yesterday morning the Remeha Home integration reported new authentication was required. When using the correct username and password it reported an unknown error.
In the meantime I have tried installing different versions of Remeha Home, removing and installing it all resulting in an unknown error.
Screenshot_20231126_123212_Home Assistant
The Remeha Home app itself is working without any issues.
Any suggestions? Just let me know if you need more information or Log information (and where to get this)

invalid user / password

I keep getting invalid user / password, did something change? i'm 100% sure my details are correct

API documentation request

First of all, congrats for this amazing integration. It works like a charm.

I did a similar integration (https://github.com/vipial1/BAXI_thermostat) time ago, focused only in Baxi thermostats. It was able to control the thermostat and get some consumption data as well.

And why I say "It WAS"?...because since Baxi updated the app to use same backend than Remeha, the integration is not working anymore. API is completely different now.

I have been able to test that your integration works perfectly in my Baxi thermostat, so I would like to ask you for some kind of API documentation or whatever info you have. For the main thermostat control I can take a look to your code (if you don't mind), but I have not any clue about how to get gas consumption data. Would you be able to provide that?

Thanks in advance.

"List index out of range" issue?

I've just installed the app and I'm struggling with this issue below. Any ideas?

023-09-26 08:59:36.993 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Requested technical information for appliance 66682eae-c916-4fdf-896b-57b285d63ee7: {'applianceName': 'EHC-04', 'internetConnectedGateways': [{'name': 'RU2', 'serialNumber': '20250C14', 'softwareVersion': '2.23.4', 'hardwareVersion': '6', 'controlledZoneName': None}]}
2023-09-26 08:59:36.993 ERROR (MainThread) [custom_components.remeha_home.coordinator] Unexpected error fetching remeha_home data: list index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/remeha_home/coordinator.py", line 80, in _async_update_data
technical_info = self.technical_info[appliance_id][
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
2023-09-26 08:59:36.996 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.999 seconds (success: False)
2023-09-26 08:59:36.996 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for remeha_home integration not ready yet: list index out of range; Retrying in background

Readme outdated?

In the latest release of Home Assistant I find that the following instructions no longer work:
Setup

  1. In Home Assitant click on Configuration
  2. Click on Integrations
  3. Click on + Add integration
  4. Search for and select Remeha Home
  5. Enter your email address and password
  6. Click "Next"
  7. Enjoy

I think the change should be to:

Setup

  1. In Home Assitant click on Settings
  2. Click on Devices & Services --> Devices
  3. Click on + Add Device
  4. Search for and select Remeha Home
  5. Enter your email address and password
  6. Click "Next"
  7. Enjoy

thermostat

The Remeha Elga Ace has the capability/functionality to heat but also to cool the within home assistant you only see the heat functionality but not de cool functionality. is het possible to make an update within home assistant or elsewhere to add this functionality. Thx in advance.

Binary sensors for hotWater / Heating status?

Hi,

Thanks for this great integration!
I would like to know if there's a way to show when the cv is heating water for the hot water tap.
I guess a binary sensor "hotWater" or something like that?

also I noticed that I can see in the charts that there is an indicator showing that the burner is on for heating, but we don't seem to have a (binary) sensor for that either.

Switch to Preset mode does not work in dialog box

Hi,

I was testing the change between modes in HA to see how the app was reacting. I have spotted an issue that I find a bit weird, I can't say if it's my setup that has a problem in particular or not.

When I click on the Lovelace "Thermostat" card, I can very well switch between all 3 modes by clicking on the 3 icons. Moreover when I switch from "off" or "heat" to "schedule", the schedule preset applied is the last one used, as expected. So all fine until there.

Issue part 1:
So I am in "Schedule" mode with "Clock program 1" active. Then if I want to change the schedule program, I need to click on the 3 vertical dots and select a new preset in the drop down. When I do this, the preset is applied and the set temperature is changed both in the integration and in the app, but the app still indicates "Heating 1" on the top right, and "Schedule: Heating 1 active" on the main screen. So it seems that another schedule is followed as expected but the app has an issue with displaying it properly. (it works OK when the preset is changed from the app directly). I think for this part of the issue it's a bug in the app itself.

Issue part 2:
Now I change to "Heat" or "Off" modes in the integration and I let the app sync correctly. I click the 3 dots and directly select a preset, which should automatically switch the mode to "schedule" thanks to this code:

        self._data["zoneMode"] = HVAC_MODE_TO_REMEHA_MODE.get(HVACMode.AUTO)
        self._data["activeHeatingClimateTimeProgramNumber"] = target_preset
        self.async_write_ha_state()

It does try to switch to schedule mode for a while but then reverts to "Heat" or "Off" systematically when it resync. So in this particular configuration the "double command" (change mode + change preset) is not sent to the API properly as it seems, or equally the API has an issue with its processing.

What I noticed is that for the change of mode this function is called:

            await self.api.async_set_schedule(
                self.climate_zone_id,
                self._data["activeHeatingClimateTimeProgramNumber"],
            )

while when directly selecting a preset, this function is called:

        await self.api.async_activate_heating_time_program(
            self.climate_zone_id, target_preset
        )

I don't know the difference between the two calls, but one seems to work better than the other, in case the mode is not already "schedule".

image

Invalid email address and/or password

Hi,

I am trying to connect to my Remeha using my credentials, but it keeps refusing my login. I am positive that my credentials are correct. By the way, I have been using a BDR thermostat, which requires a pairing number, and it has been working perfectly.

Remeha

Regards,
Matt

Flaky API Responses

First of all, thank you for the integration and for going through all this effort to sniff out the API calls.

Setup

  • Appliance: Remeha Calenta Ace (Serial Number 204304B8)
  • Homeassistant: 2023.11.3
  • Remeha Integration: v0.1.13

Issue

I have an issue regarding unavailability. Every once in a while, I notice that my Remeha climate entity becomes unavailable. I recently set up a template sensor that tracks when the boiler is heating (to ensure that the schedule and set temperature are working correctly), which made this problem even more apparent. Looking at the logs, approximately once every 5 minutes, my Remeha entity becomes unavailable for about a minute. This doesn't make the integration unusable, but it is annoying.

Log

This is the log output with debug mode enabled:

2023-11-29 21:47:19.575 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Requested technical information for appliance 0d83566f-3851-4451-b269-1148ccbd69cc: {'applianceName': 'Calenta Ace', 'internetConnectedGateways': [{'name': 'RU2', 'serialNumber': '204304B8', 'softwareVersion': '2.23.5', 'hardwareVersion': '7', 'controlledZoneName': None}]}
2023-11-29 21:47:19.575 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 2.034 seconds (success: True)
2023-11-29 21:47:19.576 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.remeha_home
2023-11-29 21:47:19.577 INFO (MainThread) [homeassistant.components.climate] Setting up climate.remeha_home
2023-11-29 21:47:19.577 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.remeha_home
2023-11-29 21:47:19.578 INFO (MainThread) [homeassistant.components.switch] Setting up switch.remeha_home
2023-11-29 21:48:19.556 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.407 seconds (success: True)
2023-11-29 21:49:19.639 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.490 seconds (success: True)
2023-11-29 21:50:19.440 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.291 seconds (success: True)
2023-11-29 21:51:19.622 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.473 seconds (success: True)
2023-11-29 21:52:20.071 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.922 seconds (success: True)
2023-11-29 21:53:20.671 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.522 seconds (success: True)
2023-11-29 21:54:38.166 ERROR (MainThread) [custom_components.remeha_home.coordinator] Error fetching remeha_home data: 
2023-11-29 21:54:38.166 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 18.017 seconds (success: False)
2023-11-29 21:56:00.727 INFO (MainThread) [custom_components.remeha_home.coordinator] Fetching remeha_home data recovered
2023-11-29 21:56:00.727 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 22.578 seconds (success: True)
2023-11-29 21:57:16.619 ERROR (MainThread) [custom_components.remeha_home.coordinator] Error fetching remeha_home data: 
2023-11-29 21:57:16.619 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 16.471 seconds (success: False)
2023-11-29 21:58:46.150 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 30.002 seconds (success: False)
2023-11-29 21:59:46.481 INFO (MainThread) [custom_components.remeha_home.coordinator] Fetching remeha_home data recovered
2023-11-29 21:59:46.481 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.333 seconds (success: True)
2023-11-29 22:01:03.196 ERROR (MainThread) [custom_components.remeha_home.coordinator] Error fetching remeha_home data: 
2023-11-29 22:01:03.196 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 17.047 seconds (success: False)
2023-11-29 22:02:05.257 INFO (MainThread) [custom_components.remeha_home.coordinator] Fetching remeha_home data recovered
2023-11-29 22:02:05.257 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 2.109 seconds (success: True)
2023-11-29 22:03:05.669 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 0.520 seconds (success: True)
2023-11-29 22:03:40.963 DEBUG (MainThread) [custom_components.remeha_home.climate] Setting temperature to 14.500000
2023-11-29 22:04:05.397 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 23.678 seconds (success: True)
2023-11-29 22:05:21.300 ERROR (MainThread) [custom_components.remeha_home.coordinator] Error fetching remeha_home data: 
2023-11-29 22:05:21.301 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 16.153 seconds (success: False)
2023-11-29 22:06:22.381 INFO (MainThread) [custom_components.remeha_home.coordinator] Fetching remeha_home data recovered
2023-11-29 22:06:22.382 DEBUG (MainThread) [custom_components.remeha_home.coordinator] Finished fetching remeha_home data in 1.233 seconds (success: True)

Conclusion

Sadly, the log isn't verbose and doesn't tell me exactly what went wrong. I'm assuming some timeout, as the data fetching only fails after quite a long time (15s or more), although the timeout for self.api.async_get_dashboard() seems to be set at 30s. So I'm not sure.

Please let me know how I can further debug this problem. You may already know why this is happening to me.

Water Temperature missing

Heey! So far app seems to work good, Thanks for that!!
I was wondering if it is possible to add the current water temp, i see a water temp but that is not the water temp that is going into my floor. Hope you can help me or create that entity:)

API integration down

Look like the API integration is down
Running v0.1.9 but the same goes for v0.1.8

The native remeha app does work but he Google Home Intergration is down as well

Logger: custom_components.remeha_home.coordinator
Source: helpers/update_coordinator.py:193
Integration: Remeha Home (documentation, issues)
First occurred: 25 april 2023 om 07:42:55 (3 occurrences)
Last logged: 00:45:29

Error requesting remeha_home data: Cannot connect to host api.bdrthermea.net:443 ssl:default [Try again]
Error fetching remeha_home data:

Can someone confirm?

Integration can't log in

Since last Sunday, the Rehema Home integration no longer works for me. I can't log in anymore. See screenshot and logging.

Scherm­afbeelding 2023-11-30 om 11 31 13

2023-11-30 11:33:43.768 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remeha_home/config_flow.py", line 69, in async_step_auth
    return await self.async_step_creation()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 315, in async_step_creation
    token = await self.flow_impl.async_resolve_external_data(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remeha_home/api.py", line 246, in async_resolve_external_data
    parsed_callback_url = urllib.parse.urlparse(response.headers["location"])
                                                ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'location'

Yes, my password is correct. If you log in with incorrect credentials, you'll receive a specific error message for that:

Scherm­afbeelding 2023-11-30 om 11 32 11

I have already removed the integration and reinstalled it, but this makes no difference. I am running Home Assistant version 2023.11.3. The version of the Remeha Home integration is 0.1.13.

Gas consumption sensors not available

The Baxi device reports the gas consumption but the HA integration does not. The name of the entity on the App and Cloud is "Power Consumption" and it is split in "Central heating" and "Hot water". The units are expressed in m3.
It would be very good if you can add it so I can add to my Energy dashboard.

"Unknown error occurred" when setting up integration

          Issue seems to have fixed itself just now.

Originally posted by @michelvanlaarhoven in #43 (comment)

Got this issue as well, is there a fix?

My logs:

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 320, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remeha_home/config_flow.py", line 70, in async_step_auth
    return await self.async_step_creation()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 320, in async_step_creation
    token = await self.flow_impl.async_resolve_external_data(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remeha_home/api.py", line 265, in async_resolve_external_data
    parsed_callback_url = urllib.parse.urlparse(response.headers["location"])
                                                ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'location'

integration failing

Thanks for building this integration.
I was waiting for my swap from the old eTwist app to Remeha home which finally happened today.

However it seems I'm stuck with the integration in Home Assistant.
I am able to login succesfully but it mentions it does not find any devices and "configuration failed, retrying"

If I open the Remeha home app I can see my thermostat and I'm able to change temperature and other settings.

Water temperature not consistently updated

Hi,

I see that the water temperature is not consistently updated, sometimes it. Sometimes it updates every 5 minutes, but most of the times the value stays the same for a few hours, while in fact it has been changed more often.

See attachment.
Water Temperature Graph

Thanks for looking into this,
Peter

Feature request: 'outside temperature' sensor

As a user coming from the BDR Thermostat integration I'm missing one feature, and that's exposing the 'outside temperature' probe/sensor as an HA sensor. Since the Remeha Home app does show it as well, I assume this outside probe/sensor is available on the API. Unfortunately, the Remeha App (on iOS at least) seems to have implemented SSL pinning, so I'm unable to log the request/response to verify.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.