Thermostat: request for improvements

Following the great announcement Gladys Assistant 5.2 : un vrai thermostat et des contrats d’énergie pour tous les pays 🎉, I share my first tests and feedback (yes, I know, I should have tested before :frowning: )

My first hot feedback

  • When you choose a room for the thermostat, it would be nice to filter the elements related to this room because you have access to everything that is not necessarily:


    image
    .
  • for the opening sensors, have the possibility to select multiple (in the living room I have several)
  • after thinking about filtering with the room, for my ground floor, I have the living room and the kitchen that are open together so I would need to be able to select the opening sensors of the living room and the kitchen :frowning:
  • for the setpoint, I don’t know what to do because the two we see are virtual MQTT devices and I don’t see a setpoint (well temperature) feature of my Mitsubishi heat pump.

    Should I create a virtual living room setpoint device and « associate » it with the air conditioning setpoint temperature?
  • for the temperature, we don’t have access to the average temperature of the room? Or if we do multi-selection, can it calculate an average for us?
    image

I will come back after the setpoint part is resolved on my side, in any case great integration! :wink:

Hi @mutmut, and thanks for these very detailed feedback! :folded_hands: And yes, you could have tested before :rofl:

  • Filtering by room + open living room/kitchen: I agree with you on both points. The cleanest solution would be to filter by default on the thermostat room, while allowing to extend to other rooms (or all devices) for cases like yours where multiple rooms form a single volume.
  • Multiple opening sensors: This is a real demand, especially for living rooms with multiple windows or French doors. Multi-selection with a logic of „at least one sensor open → heating off“ seems to be the expected behavior.
  • Average temperature: same idea. With multiple selectable temperature sensors, an average (or even a min/max choice) would be very useful in a large room.
  • Your heat pump setting: to understand why it doesn’t appear, could you tell us what type of functionality (category and type) your Mitsubishi heat pump sends to Gladys, and via which integration it is connected (MQTT, Zigbee2MQTT, other)? A screenshot of the device page, with its functionalities, or the MQTT payload of the heat pump would help us see if the setting is exposed and in what form.

I know the next PR for the thermostat will be to add the pilot wires. It’s already in progress.

All points (including the test :wink: ) are fine for me!

I use Melcloud Home as an external integration.


image
I can see the Setpoint temperature feature but nothing in my thermostat menu.

Yes, strange. As it’s a set temperature, it should appear, though. My NetAtmo has the same feature and shows up fine.
I’ll check and let you know.

Hi @mutmut,

I found out why your heat pump’s setpoint wasn’t appearing. MELCloud Home reports it as air-conditioning, while the thermostat only offered thermostat-type setpoints. This explains why my Netatmo appears and not your heat pump. So it wasn’t a problem on your side.

The PR that fixes this and incorporates your feedback is almost ready. Here’s what’s coming:

  • Clims and heat pumps as real thermostats: you’ll be able to choose the setpoint temperature for your air conditioning. The mode is automatically converted (heating/cooling), and a new Power field allows you to turn off the air conditioning when a window opens or during an Off period, then turn it back on. When you choose the air conditioning setpoint, its mode and power are pre-filled.
  • Multiple opening sensors: as soon as one of the selected sensors is open, the heating is turned off. Your living room and kitchen being open are therefore managed.
  • Multiple temperature sensors: the thermostat regulates based on their average, and the widget displays the same value.
  • Room filtering: the lists only propose by default the devices in the thermostat’s room, with an option « Show devices from all rooms » for cases like yours.

I still have a few tests to run on the interface before opening the PR.

some images to illustrate:

Selecting the room with the option to display all thermostats if needed

Otherwise, checking this displays only those assigned to the selected room

Otherwise, displays all temperature sensors

Adding multiple sensors


Same for window sensors

@mutmut, if I send you an image, could you test it so I can make the PR to see if your heat pump is detected this time?

@pierre-gilles, the PR

I could test it on a dedicated installation :+1:

I’ll send you the link as soon as I’ve created the image.

Here is the image willde71/gladys-test:thermostat-improvements

test deployment in progress :slight_smile:

My feedback with your image (and Gladys v5.2.1):

Actual Thermostat Setting
I still only have my MQTT devices:

Heating Status (Optional)
I have a bunch of switches from Gladys but nothing related to the heat pump switch:

Operating Mode (Optional)
Nothing, although I should have the Mode of the air conditioner, I think:

And for the rest, I don’t see any of the multi-select options… I wonder if the image is correct after all :thinking:
image

weird, I’ll try to regenerate the image if you want

Edit: I restarted the image build

Hi great work I love this thermostat!

I suggest a small improvement if it hasn’t been done already: being able to choose the minimum opening delay to turn off the heating. For example, at my place every time I open the toothed door I hear the radiator valve close. And sometimes the door stays open for 2 seconds so it’s not useful

Thanks for your feedback, it’s nice to hear.
Oh, but that’s a point I hadn’t thought of. I’ll make a note of it to create a PR.

@mutmut did you try again?

Oops, I didn’t see your edit, I’ll test tonight.

Good evening

I’m back after a long absence, but since everything was running smoothly, no worries

I just started testing the thermostat and I’m happy E.R.E

However, would it be possible to configure multiple openings to turn off the heating? Personally, I have rooms with multiple windows

Thanks again for the development

Yes, there is an open PR to do that