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

[dreamscreen][WIP] Initial contribution #6984

Closed
wants to merge 26 commits into from

Conversation

markus7017
Copy link
Contributor

The binding controls the DreamScreen devices. DreamScreen provides Amibilight feature to TVs without that feature. Somehow comparable to Hyperion, but as ready-to-use kit with WiFi and an app to control the devices.

This binding integrates DreamScreen devices into openHAB.

Initial checkin for DreamScreen binding on behalf of Bruce Brouwer, the initial contributor of this binding.

Signed-off-by: Markus Michels markus7017@gmail.com

@TravisBuddy
Copy link

Travis tests have failed

Hey @markus7017,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

1st Build

Expand here
Single addon pull request: Building org.openhab.binding.dreamscreen
[ERROR] [ERROR] Could not find the selected project in the reactor: :org.openhab.binding.dreamscreen @ 
[ERROR] Could not find the selected project in the reactor: :org.openhab.binding.dreamscreen -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

### 2nd Build
Expand here
Single addon pull request: Building org.openhab.binding.dreamscreen
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[ERROR] [ERROR] Could not find the selected project in the reactor: :org.openhab.binding.dreamscreen @ 
[ERROR] Could not find the selected project in the reactor: :org.openhab.binding.dreamscreen -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

@TravisBuddy
Copy link

Travis tests were successful

Hey @markus7017,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

1 similar comment
@TravisBuddy
Copy link

Travis tests were successful

Hey @markus7017,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@J-N-K
Copy link
Member

J-N-K commented Mar 8, 2020

Thanks for your contribution. Please add documentation. Thanks. Marking at as work-in-progress until then. Remove that after you're done.

@J-N-K J-N-K added the work in progress A PR that is not yet ready to be merged label Mar 8, 2020
@J-N-K J-N-K changed the title [dreamscreen] Initial contribution [WIP][dreamscreen] Initial contribution Mar 8, 2020
@D3ltorohd
Copy link

Hello, i have a dreamscreen 4k controller to. So when i can help testing that binding, i will do that.

@wborn wborn added the new binding If someone has started to work on a binding. For a new binding PR. label Mar 15, 2020
@Hilbrand
Copy link
Member

Hilbrand commented Sep 2, 2020

@markus7017 What is the status of this binding? The code looks fine. I can review if you want to finish this. Briefly looking a see only minor issues to improve. Most work would be to complete the README.
You'll need to do a rebase (and push force) to fix the merge conflicts.

@markus7017
Copy link
Contributor Author

@Hilbrand ok, let's go. I could update the README and do the rebase after finishing a small PR for Shelly.

Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

Here is my review.

Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
@TravisBuddy
Copy link

Travis tests have failed

Hey @markus7017,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

Signed-off-by: Markus Michels <markus7017@gmail.com>
@markus7017
Copy link
Contributor Author

@Hilbrand rebase is done

@TravisBuddy
Copy link

Travis tests were successful

Hey @markus7017,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@fwolter fwolter removed awaiting feedback work in progress A PR that is not yet ready to be merged labels Sep 5, 2020
@fwolter fwolter changed the title [WIP][dreamscreen] Initial contribution [dreamscreen] Initial contribution Sep 5, 2020
Signed-off-by: Markus Michels <markus7017@gmail.com>
Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

Just 1 small code comment left (Besides the readme 😉)

@d8ahazard
Copy link

Fingers crossed that this goes live soon! Looking forward to controlling my DS devices with Ghome.

@Hilbrand Hilbrand added the oh3 label Sep 13, 2020
@Hilbrand
Copy link
Member

Ok. I've added the label OH3 so we can see it status.

markus7017 and others added 20 commits September 15, 2020 00:59
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
thing config groupId;  minor refact

Signed-off-by: Markus Michels <markus7017@gmail.com>
Connect ID is 4, not 6. My mistake.

Add device ID of 7 for DS solo.

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Literally just copypaste the DS HD definitions and change the ID.

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Remove all references/calls/passes to "off". Offset is always zero, treat it as such.

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Decode our device type when receiving a message and store it in the super. This way, when we get state messages, we know the correct offsets from which to grab data.

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Can't make them final as we may need to change them. Could probably be loaded better, this was just the first thing I came up with.

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Signed-off-by: d8ahazard <d8ahazard@gmail.com>
Signed-off-by: d8ahazard <d8ahazard@gmail.com>
…e as well...

Signed-off-by: d8ahazard <d8ahazard@gmail.com>
@kaikreuzer
Copy link
Member

Closing this PR as it is not in a mergeable state. Please follow the instructions to port this PR to the main branch for openHAB 3.

@kaikreuzer kaikreuzer closed this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR. work in progress A PR that is not yet ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants