Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Denon binding #1910

Merged
merged 1 commit into from May 12, 2015
Merged

Denon binding #1910

merged 1 commit into from May 12, 2015

Conversation

idserda
Copy link
Contributor

@idserda idserda commented Dec 30, 2014

Denon binding, still work in progress

Wiki page

TODO:

  • Support more commands (set surround mode, etc.)
  • Support more 'value' properties (audio/video info, if possible)
  • EPL headers
  • Javadoc

@buildhive
Copy link

openhab » openhab #1939 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #1950 SUCCESS
This pull request looks good
(what's this?)

@teichsta
Copy link
Member

teichsta commented Jan 1, 2015

Thanks @idserda, thanks for sharing this Binding. Please let us know if you are ready for Review. Best, Thomas E.-E.

@buildhive
Copy link

openhab » openhab #2008 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2009 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2013 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2039 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2106 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2121 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2126 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2128 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2131 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #2136 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2160 SUCCESS
This pull request looks good
(what's this?)

@teichsta
Copy link
Member

Any news @idserda? Is this Binding ready for review? Best, Thomas E.-E.

@idserda
Copy link
Contributor Author

idserda commented Apr 13, 2015

@teichsta, this binding is now ready for review!

@buildhive
Copy link

openhab » openhab #2761 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2762 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2763 SUCCESS
This pull request looks good
(what's this?)

{
DenonBindingConfig config = ((DenonBindingProvider) provider).getConfig(itemName);
if (config != null) {
connections.get(config.getInstance()).getConnector().updateStateFromCache(config.getProperty());
Copy link
Member

Choose a reason for hiding this comment

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

since the phrase connections.get(config.getInstance()).getConnector() is duplicated a lot it might be worth refactoring it into a new method?

}

private String toDenonValue(BigDecimal percent) {
BigDecimal round = new BigDecimal("0.5");
Copy link
Member

Choose a reason for hiding this comment

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

extract 0.5 as a final static member constant

@teichsta
Copy link
Member

Hi @idserda, please find my review comments inline. Thanks, Thomas E.-E.

@teichsta
Copy link
Member

teichsta commented May 4, 2015

any chance to get the feedback incorporated soon?

@idserda
Copy link
Contributor Author

idserda commented May 4, 2015

Yes, almost ready. I'll probably push the changes tomorrow morning.

@idserda
Copy link
Contributor Author

idserda commented May 5, 2015

@teichsta Done, thanks for the feedback.

@buildhive
Copy link

openhab » openhab #2900 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2901 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2908 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

openhab » openhab #2909 SUCCESS
This pull request looks good
(what's this?)

@teichsta teichsta assigned teichsta and unassigned idserda May 12, 2015
@teichsta teichsta merged commit d9483b1 into openhab:master May 12, 2015
@teichsta
Copy link
Member

Thanks again @idserda. Could you please also link to the according Wiki page here? Best, Thomas E.-E.

@teichsta teichsta assigned idserda and unassigned teichsta May 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants