Closed jjensn closed 6 years ago
Awesome thanks, I'll take a gander and make some changes/updates this weekend hopefully
I'm working on moving the logic of the DreamScreen out of the Home Assistant service so that it can be used independently. Additionally I'm looking to revamp this so that it's more than just a service. Looking to add entity & state so you can see the status of DreamScreens on the network as well as issue commands through a service. At some point I also want to have a custom frontend widget for them too. To start though here is the PyPi location of the PyDreamScreen service I created.
https://pypi.python.org/pypi/PyDreamScreen/
I only have 1 DreamScreen and it's only an HD model so I can't vouch for group behavior or sidekick working properly but AFAIK it should be fine.
Looking good, its been linked to on the forum.
@jjensn I know it doesn't fit your exact use case, but I have updated the component so it will pull in device state now. It's my first experimentation with it so it might change/evolve but it is there for playing around now.
Hey,
Any progress on this? :)
What do you mean? Everything is documented as far as we know. Pydreamscreen supports most features.
I know but I am making a project myself, end game I want to make a node JS homebridge plugin. Does anyone have acces to all de PDF files dream screen gave? Since I cannot acces the forums. My account stays pending acceptance by staff.
@ToracX contact me via Mail or somewhere, where I can Send you the pdf. I will Not Upload it here, due to eventually copyright issues
-- mobile keyboard are horrible..
@ToracX contact ne via Mail per somewhere, where I can Send you the pdf. I will Not Upload it here, due to eventually copyright issues
Fair enough, will do. Do you have a clue to send the packet and retrieve data? Im using packet finder.
I have no clue how to find youre email but feel free to email it to me; jyp.schuthof3@gmail.com.
in the git log for example. Send mail with all versions from the forums.
Could you maybe make an example python script? Its currently very hard to use this script in any project.
The only things im getting when running the script is, <function get_devices at 0x03A8BE88> <function get_states at 0x03A8BED0>
Not sure which script you mean. The communication is done by this project. The repo here is only Home Assistant Also everything we know is done over there. Maybe you searched the wrong repo. Also the api docs should help. https://github.com/J3n50m4t/pydreamscreen
Hi,
As promised, here is what I have so far. I will update it as I make progress. Hopefully someone can collaborate with me as there are a lot of information in the status payload.
To get status: Send
FC 05 FF 30 01 0a 2a
to the broadcast address (for me its 10.0.1.255). Note that it is missing the checksum field that the PDF outlines for commands, so be sure not to include it.The device will send back a status payload directly to the sender IP address (your machine) to port 8888 (UDP).
Example status payload:
BITS of importance 1: "FC" packet, row 0020: indicates start of all packets per the protocol 2: "01" packet, row 0050, indicates Mode ID (see PDF for details) 3: "64" packet, row 0050, indicates overall brightness
There is one rather large detail that i overlooked now that I've gotten the data I was after: they don't expose the average color between all the LEDs, which means I won't be able to turn my living room lights the same color as the TV backlight (which was the whole point of my efforts).