|
Post by digitalhigh on Oct 31, 2019 12:47:22 GMT
Given that DreamScreen has now gone the way of the dodo and shamefully stopped responding to anybody...anywhere, I found myself with a need for a device/application/service that would do the work of taking light data from my DreamScreen and syncing it with my Philips Hue lights. (You know, like the DreamScreen Connect that made it to beta and then just stopped working) So, I wrote my own. HueDream is a cross-platform application written in .net Core. It will allow you to synchronize the streaming data from a DreamScreen, DS Solo, or DS 4K and pass it to color-changing Philips Hue lights. There are builds available for Windows, Linux, Windows-Arm, Linux-Arm, OSX, Docker, and Docker-arm. HueDream acts as an emulator for either a SideKick or the fabled DreamScreen Connect, and integrates 100% with the regular DreamScreen app. It includes automatic discovery of all DS devices on your network, as well as the option to select a source dreamscreen if you have more than one. You can also adjust the state of your sync device using the Web UI if you just don't want to use the app for some reason. Hue Bridge discovery is automatic. To link, just click the bridge icon in the UI, and then press the link button on your bridge within 30 seconds. Once linking is complete, all entertainment groups will be enumerated. (You will need to create an entertainment group from the Hue App first) Once you have an entertainment group set up, use the "Sync" panel to select which sectors of the screen will map to which lights. Once sectors are mapped, click the "save" button, and use the Web UI or app to start streaming by selecting the streaming mode for your device. Readme, details, etc. can be found at github.com/d8ahazard/HueDream
|
|
tolga
New Member
Posts: 7
|
Post by tolga on Nov 4, 2019 16:48:14 GMT
Hi,
Great News, work this only for the normal Dreamscreen or works this also for the 4k version.
|
|
|
Post by rikachu on Nov 4, 2019 19:01:07 GMT
No frikkin way!
I jumped back on here to see what the situation was with iOS 13.2 and the app, then stumbled across this gem.
I have a 4K device, so I’ll await further news on this from you 😬
|
|
|
Post by digitalhigh on Nov 10, 2019 22:55:40 GMT
I am still plugging away at this. I was writing it in python, but DTLS and PSK are not readily supported, and I'm not such a hardcore programmer that I can wrap it myself. Now, I'm switching to C#/.net core, which will still be cross-platform, but a lot less iffy when it comes to the low-level stuff I need to do. I've never actually written a full app in C# before, so I'm slowly kludging my way through it. I've got the web UI working again, as well as storing and loading data. I'm now able to discover dreamscreen devices automatically on the network, so that's huge. Now I just need to get the subscription bit working. I'm sending out what I think is the proper packet to tell the DreamScreen to start streaming data, but I'm not getting the response I expect. Once I can actually get the subscription running and read the data, I've found a C# library that should do the streaming to hue lights easily. Hi, Great News, work this only for the normal Dreamscreen or works this also for the 4k version. This should work with any dreamscreen device.
|
|
|
Post by digitalhigh on Nov 11, 2019 23:34:52 GMT
And, one more update...
Got the subscription packet sorted out...the c# example I was using had omitted one important function for setting a flag during the subscription request. Now that that's working, I am successfully able to receive the color data from the Dreamscreen.
Now I just need to implement the hue side of the application, and we'll be up and running.
As there's a library for this portion, I anticipate it only taking another few days, and then I'll *really* have it working. I'm done with the "hard" part already.
Stay tuned!
|
|
meg
New Member
Posts: 44
|
Post by meg on Nov 12, 2019 7:42:20 GMT
This is great. Keep up the good work. 💪
|
|
|
Post by digitalhigh on Nov 16, 2019 23:53:03 GMT
IT WORKS! photos.app.goo.gl/fX3KEoSVeifyaNvU9gitub.com/d8ahazard/HueDreamJust working out some bugs now so I can make a releasable version. Currently, it works in development mode, but when I try to run the compiled version, it refuses to load the JS for the Web UI. But hey...it works, and it should work with any number of lights.
|
|
meg
New Member
Posts: 44
|
Post by meg on Nov 17, 2019 14:36:57 GMT
This looks amazing. Cant wait for the final Version of your great work. 💪💪👍👍
|
|
|
Post by digitalhigh on Nov 18, 2019 15:22:50 GMT
This looks amazing. Cant wait for the final Version of your great work. 💪💪👍👍 Pleased to announce that I should now have a version that does most of the things and isn't too hacky or broken for anything! I will update the OP with relevant information, screenshots, etc. But, you can find most of the things here: github.com/d8ahazard/huedreamThere are releases for Linux and Windows. There's also a docker: digitalhigh/huedream
|
|
meg
New Member
Posts: 44
|
Post by meg on Nov 20, 2019 19:46:43 GMT
This looks amazing. Cant wait for the final Version of your great work. 💪💪👍👍 Pleased to announce that I should now have a version that does most of the things and isn't too hacky or broken for anything! I will update the OP with relevant information, screenshots, etc. But, you can find most of the things here: github.com/d8ahazard/huedreamThere are releases for Linux and Windows. There's also a docker: digitalhigh/huedream Have you received my Message?
|
|
|
Post by digitalhigh on Nov 21, 2019 6:41:07 GMT
Pleased to announce that I should now have a version that does most of the things and isn't too hacky or broken for anything! I will update the OP with relevant information, screenshots, etc. But, you can find most of the things here: github.com/d8ahazard/huedreamThere are releases for Linux and Windows. There's also a docker: digitalhigh/huedream Have you received my Message? Sorry, just saw it now. I've done a *ton* of work on updating threading, as well as making this now register with the dreamscreen app for mobile, and emulate like a proper DreamScreen. I've got a bit more work to do in that department, but then I'll have a release up for you to try, I think it will solve your issues. If you're using docker, the code is live now...
|
|
meg
New Member
Posts: 44
|
Post by meg on Nov 21, 2019 9:21:33 GMT
Have you received my Message? Sorry, just saw it now. I've done a *ton* of work on updating threading, as well as making this now register with the dreamscreen app for mobile, and emulate like a proper DreamScreen. I've got a bit more work to do in that department, but then I'll have a release up for you to try, I think it will solve your issues. If you're using docker, the code is live now... It sounds great. 😀 Thanks for your hard work. 🙂👍💪 can`t wait to see it in Action 😁
|
|
|
Post by digitalhigh on Nov 22, 2019 3:12:45 GMT
After a little sleep last night, I realized...if I can reverse-engineer the packets from the sidekick...why can't I do the same with my Dreamscreen Connect?
Since it will never be available to the public...I figure this would be the best thing I can do for the world.
In the process, I've also documented the proper byte order for status packets from the SideKick, which is essential for proper emulation, etc.
It would be really *amazing* if the folks who made DreamScreen could *please* reach out to me about possibly open-sourcing any/all of the code for this project. I don't want the money I spent on my DS to go to waste. If any of the DS people are still out there...shoot me a PM. I'd like to continue your work...
|
|
|
Post by HD-DS/HS on Nov 23, 2019 15:55:01 GMT
After a little sleep last night, I realized...if I can reverse-engineer the packets from the sidekick...why can't I do the same with my Dreamscreen Connect? Since it will never be available to the public...I figure this would be the best thing I can do for the world. In the process, I've also documented the proper byte order for status packets from the SideKick, which is essential for proper emulation, etc. It would be really *amazing* if the folks who made DreamScreen could *please* reach out to me about possibly open-sourcing any/all of the code for this project. I don't want the money I spent on my DS to go to waste. If any of the DS people are still out there...shoot me a PM. I'd like to continue your work... I would be willing to donate to your cause...
As soon as I bought the 4k version they went belly-up.... without any warning or concern.
|
|
|
Post by digitalhigh on Nov 25, 2019 5:14:44 GMT
I've updated the Web UI to be more aesthetically pleasing, as well as use the same sector selection graphics from the actual DS app. Github now has a copy of the beta version of the APK that adds DS connect support, although there's really no reason to use it unless you have an actual connect atm. On the back-end, I think I've filled out all of the possible messages that can be sent to devices. Several of these are from directly decompiling the DS APK for android. After a little sleep last night, I realized...if I can reverse-engineer the packets from the sidekick...why can't I do the same with my Dreamscreen Connect? Since it will never be available to the public...I figure this would be the best thing I can do for the world. In the process, I've also documented the proper byte order for status packets from the SideKick, which is essential for proper emulation, etc. It would be really *amazing* if the folks who made DreamScreen could *please* reach out to me about possibly open-sourcing any/all of the code for this project. I don't want the money I spent on my DS to go to waste. If any of the DS people are still out there...shoot me a PM. I'd like to continue your work... I would be willing to donate to your cause...
As soon as I bought the 4k version they went belly-up.... without any warning or concern.
Send me a PM, let's chat!
|
|