Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Night mode #208

Open
siljelb opened this issue Dec 30, 2024 · 9 comments
Open

Feature request: Night mode #208

siljelb opened this issue Dec 30, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@siljelb
Copy link

siljelb commented Dec 30, 2024

First of all, thank you for this excellent project!

My MSZ-LN35VG2W is working great with the basic functionality, but it also has a "night mode" which makes the outdoor unit quieter. I'd love to be able to set this automatically from HA instead of having to do it manually. Is this feasible to implement? Whether as a fan mode or maybe as a separate switch?

@echavet
Copy link
Owner

echavet commented Dec 31, 2024

Sure it's possible through an automation:
It would look something like this:

action: climate.set_fan_mode
data:
  fan_mode: QUIET
target:
  entity_id: climate.esp32_hp_clim_sejour

@echavet
Copy link
Owner

echavet commented Dec 31, 2024

But I did not test

@siljelb
Copy link
Author

siljelb commented Dec 31, 2024

The "night mode" apparently isn't a fan mode as such, but a separate parameter of some sort. I've just tested specifically, and none of the states or parameters currently visible in HA change when I turn on and off night mode:

Night mode off

20241231_184305

hvac_modes:
  - "off"
  - cool
  - heat
  - fan_only
  - dry
  - auto
min_temp: 10
max_temp: 31
target_temp_step: 1
fan_modes:
  - auto
  - low
  - medium
  - high
  - middle
  - quiet
swing_modes:
  - "off"
  - both
  - vertical
  - horizontal
icon: mdi:heat-pump
friendly_name: Varmepumpe
supported_features: 425
current_temperature: 21.5
temperature: 21
fan_mode: auto
hvac_action: heating
swing_mode: "off"

Night mode on

20241231_184652(1)

hvac_modes:
  - "off"
  - cool
  - heat
  - fan_only
  - dry
  - auto
min_temp: 10
max_temp: 31
target_temp_step: 1
fan_modes:
  - auto
  - low
  - medium
  - high
  - middle
  - quiet
swing_modes:
  - "off"
  - both
  - vertical
  - horizontal
icon: mdi:heat-pump
friendly_name: Varmepumpe
supported_features: 425
current_temperature: 21.5
temperature: 21
fan_mode: auto
hvac_action: heating
swing_mode: "off"

@siljelb siljelb closed this as completed Dec 31, 2024
@siljelb
Copy link
Author

siljelb commented Dec 31, 2024

Closed in error.

@siljelb siljelb reopened this Dec 31, 2024
@phidauex
Copy link
Collaborator

Is this just set from an IR remote control? Or is this a standalone thermostat that connects using the CN105 port on the indoor unit? If it is set from an external thermostat, then it may be possible to determine the serial command associated with it, but since this all has to be reverse engineered from scratch, someone would have to setup to do the logging while the commands are sent. Some examples of this type of debugging are in this PR: #166

@siljelb
Copy link
Author

siljelb commented Dec 31, 2024

It's set from the IR remote; apart from the ESP32 I don't have anything to connect to the CN105. I tried something I read in a different issue, setting READ, DECODER and LOGS to DEBUG while sending the command, but I don't know whether this achieves anything like what you're describing? In any case, here are the debug logs where I turned "night mode" on and off again three times immediately after the "19:36:11" log entry.
debug_log_nightmode.txt

@phidauex phidauex added the enhancement New feature or request label Jan 3, 2025
@melyux
Copy link
Contributor

melyux commented Jan 5, 2025

It seems like a preset that's not actually a distinct mode on the unit. Mine has "econocool" like this, where it just sets the temperature up 2 degrees and turns on swing. So it might be something you handle at the Home Assistant level, and/or as a preset for the climate entity.

@somlefant
Copy link

somlefant commented Jan 5, 2025

It seems like a preset that's not actually a distinct mode on the unit. Mine has "econocool" like this, where it just sets the temperature up 2 degrees and turns on swing. So it might be something you handle at the Home Assistant level, and/or as a preset for the climate entity.

It does something more though:
Indicator lights on the indoor unit is dimmed and beep sound is turned off. In "night mode" the indoor unit acknowledges new input from the remote by blinking the lights two times instead of beeping.
image

Instead of "econocool" the MSZ-LN35VG2W/MSZ-LN25VG2W have the "circulator" function which is supposed to turn off the outdoor unit when the target temperature is reached and in "HEAT" mode. Very useful during winter and when using other heat sources like a wood stove. Is this logic handled in the remote itself? I suppose that this behavior is easily implemented at he HA level.

@siljelb
Copy link
Author

siljelb commented Jan 5, 2025

Additionally the outdoor unit will have a lower noise level in night mode, which is my main reason for wanting to control this feature from HA. As far as I can understand, it does this without changing the set temperature.

I agree the "circulator" mode is more conceptually similar to the "econocool" mode that other units have, and I guess it could easily be emulated in HA by an automation switching between "heating" and "fan only" based on the set temp vs measured temp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants