This is a custom component for Home-Assistant which will add the ability to control a Wifi enabled DreamScreen (HD & 4k). Currently the support is new/experimental.
If you use Hacs go to Settings and paste
https://github.com/J3n50m4t/Home-Assistant-DreamScreen-Service
and choose integration
.
You now can switch to the Integrations Tab and install DreamScreen-Service.
Continue with configuration
DEPRECATED - not recommended. - use HACS instead
Copy the contents of custom_components/dreamscreen/
to the same dir of your homeassistant
Simply adding the dreamscreen
component will enable device autodiscovery.
THIS DOES NOT WORK See #18. Add your hostname/ip
dreamscreen:
Depending on your network some times a search may terminate before the discovery has completed. You can specify the timeout to use before the component will give up waiting for a response.
dreamscreen:
timeout: 5
If you want you can configure the devices by hostname or IP address, this will disable auto discovery.
dreamscreen:
devices:
- dream_screen:
address: 192.168.0.140
Finally: you can specify the timeout for the component to wait for a response when requesting the current state from the device.
dreamscreen:
devices:
- dream_screen:
address: 192.168.0.140
timeout: 5
This exposes the input sources as individual bulbs for the emulated_hue bridge so that you might control the HDMI inputs via Harmony or some other apps.
dreamscreen:
homeassistant:
customize:
script.dreamscreen_input_source_1:
emulated_hue_hidden: false
hidden: true
script.dreamscreen_input_source_2:
emulated_hue_hidden: false
hidden: true
script.dreamscreen_input_source_3:
emulated_hue_hidden: false
hidden: true
script:
dreamscreen_input_source_1:
alias: "DreamScreen - Source 1"
sequence:
- service: dreamscreen.set_hdmi_source
data:
entity_id: dreamscreen.living_room
source: 0
dreamscreen_input_source_2:
alias: "DreamScreen - Source 2"
sequence:
- service: dreamscreen.set_hdmi_source
data:
entity_id: dreamscreen.living_room
source: 1
dreamscreen_input_source_3:
alias: "DreamScreen - Source 3"
sequence:
- service: dreamscreen.set_hdmi_source
data:
entity_id: dreamscreen.living_room
source: 2
entity_id: Name of DreamScreen device to send command to.
mode
Value | Mode |
---|---|
0 | Off |
1 | Video |
2 | Music |
3 | Ambient |
{
"entity_id": "dreamscreen.living_room",
"mode": 1
}
entity_id: Name of DreamScreen device to send command to.
source
Value | HDMI Source |
---|---|
0 | HDMI Source 1 |
1 | HDMI Source 2 |
2 | HDMI Source 3 |
{
"entity_id": "dreamscreen.living_room",
"source": 0
}
entity_id: Name of DreamScreen device to send command to.
brightness: Integer values between 0 and 100
{
"entity_id": "dreamscreen.living_room",
"brightness": 75
}
entity_id: Name of DreamScreen device to send command to.
color: Hex valued color
{
"entity_id": "dreamscreen.living_room",
"color": "#40e0d0",
}
entity_id: Name of DreamScreen device to send command to.
scene
Value | Ambiance Scene |
---|---|
0 | Random Colors |
1 | Fireside |
2 | Twinkle |
3 | Ocean |
4 | Pride |
5 | July 4th |
6 | Holiday |
7 | Pop |
8 | Enchanted Forrest |
{
"entity_id": "dreamscreen.living_room",
"scene": 4
}
An example how to integrate your dreamscreen into your homeassistant lovelace can be found in the wiki.