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

[daikin] Fix Special Mode and Streamer support #12324

Merged
merged 4 commits into from
Feb 23, 2022

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Feb 19, 2022

Some Daikin models have the ability to set

  • Streamer mode on/off
  • Special mode: Eco / Powerful / Normal

Currently:

  • The channel specialmode reports the current combination of modes set on the device: streamer / eco_streamer / powerful_streamer / eco / powerful / off
  • It is read-only
  • Only allows to turn on/off the "powerful" mode through specialmode-powerful channel
  • Does not allow setting the mode to eco
  • Does not allow setting the streamer mode on/off

This PR introduced the following changes:

  • Split Streamer and Normal/Eco/Powerful mode into two separate and independent channels
  • The specialmode channel now only reports NORMAL/ECO/POWERFUL, removing Streamer from this channel. This greatly simplifies the usage for this channel.
  • The specialmode channel is changed from Read-only to Read/write
  • The specialmode-powerful channel is removed, since setting the powerful mode can now be done through the specialmode channel
  • A new read/write channel streamer is introduced to set the streamer mode

This makes the two features (streamer and normal/eco/powerful) more straight forward to deal with.

The issue / feature was reported/requested and tested here:
https://community.openhab.org/t/daikin-the-channel-specialmode-can-be-read-but-not-modified-from-oh-both-2-5-12-and-3-1/125561

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/daikin-the-channel-specialmode-can-be-read-but-not-modified-from-oh-both-2-5-12-and-3-1/125561/14

@jimtng jimtng changed the title [daikin] Fix Special Mode support [daikin] Fix Special Mode and Streamer support Feb 19, 2022
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Feb 20, 2022
@lolodomo
Copy link
Contributor

This is a breaking change to be explained in release notes.

@jimtng
Copy link
Contributor Author

jimtng commented Feb 23, 2022

This is a breaking change to be explained in release notes.

Where is the "Release notes"? Is it something for the openhab maintainer (i.e. not me) to do?

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@jimtng jimtng requested a review from lolodomo February 23, 2022 01:16
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lolodomo lolodomo merged commit c0ebdbd into openhab:main Feb 23, 2022
@lolodomo lolodomo added this to the 3.3 milestone Feb 23, 2022
@lolodomo
Copy link
Contributor

Where is the "Release notes"? Is it something for the openhab maintainer (i.e. not me) to do?

Look at this example: openhab/openhab-distro#1369

@jimtng jimtng deleted the daikin-streamer branch February 23, 2022 12:14
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Apr 27, 2022
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jun 29, 2022
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/daikin-binding-oh4/148724/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on (potentially) not backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants