# \[IN DEVELOPMENT\] Homey DLNA

**URL:** <https://community.homey.app/t/in-development-homey-dlna/8071>\
**Category:** Apps\
**Tags:** official\
**Created:** [January 27, 2019, 10:21am UTC](https://community.homey.app/t/in-development-homey-dlna/8071 "2019-01-27T10:21:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [January 27, 2019, 10:21am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/1 "2019-01-27T10:21:47Z")

</div>

Currently, I am developing a new app that adds support for DLNA certified devices. The first alpha version will have support for streaming music/video/photo to a paired device.

At the moment I am working on the foundation of this app but I am hoping to deliver a first alpha version soon. If someone is interested in doing some testing once this alpha version is released please let me know.

Warm regards,

Jeroen van Reenen

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [January 27, 2019, 10:22am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/2 "2019-01-27T10:22:27Z")

</div>

Progress v0.0.1 alpha:

Discovery  
 Pair device with homey  
 Play audio/video/picture on device  
 Send DIDL-lite metadata  
 Homey action cards  
 Implement connection manager  
 Implement http proxy to add response headers  
 Cleanup code  
 Test and fix bugs  
 Ship alpha release

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [January 27, 2019, 10:22am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/3 "2019-01-27T10:22:44Z")

</div>

[RESERVED for future use 2]

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [January 27, 2019, 10:50am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/4 "2019-01-27T10:50:15Z")

</div>

How should I see this app working?  
You can tell homey to start a video from a DNA-device you first added to Homey?

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [January 27, 2019, 10:58am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/5 "2019-01-27T10:58:38Z")

</div>

On its first iteration it should allow you to cast a picture/video/music file to a device. The action card needs a URL containing the file you want to cast.

Later I want to extend it with

- browsing a media server
- volume control
- triggers if a device starts/stops playing something  
etc…

I am open for any suggestion, although I cannot guarantee it will end up in this app 😉

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [January 27, 2019, 11:12am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/6 "2019-01-27T11:12:21Z")

</div>

Super! 👍

Actually I never understood why this is not core functionality of Homey.

Would it also be possible to sream audio from a youtube channel to my sonos? 😘

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [January 27, 2019, 11:23am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/7 "2019-01-27T11:23:11Z")

</div>

@Gruijter Maybe if you combine it with [https://apps.athom.com/app/com.youtube](https://apps.athom.com/app/com.youtube) I will see what I can do.

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [February 3, 2019, 4:53pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/8 "2019-02-03T16:53:54Z")

</div>

Very close to release an alpha version, hopefully today.

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [February 4, 2019, 8:18am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/9 "2019-02-04T08:18:11Z")

</div>

I’m intrigued by your app, is there any chance you could give us an example or two on how this could be used?

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [February 4, 2019, 10:01am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/10 "2019-02-04T10:01:00Z")

</div>

In the first iteration you can think of cases like:

- Your doorbell application detects the doorbell is pressed grabs the picture and this app can cast it to a paired TV
- A podcast application reports that there is a new episode of your favorite podcast, this application can cast it to a paired speaker.
- A video streaming app reports a new video is available, this application can cast it to a paired TV.

Any app that can provide this app a url to a photo/video/audio file can be combined with paired devices, off course the device must have support for the media file encoding.

In later iterations I plan to implement

- Browse DLNA media servers and cast content to a paired device.
- Trigger cards when a paired device starts playing new content.
- Control volume of paired devices.

I am open for suggestions, although no guarantee it will end up in this app 😉

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [February 4, 2019, 10:12am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/11 "2019-02-04T10:12:09Z")

</div>

Taking a bit longer I decided to implement DIDL-lite metadata in this first iteration to better support some devices that need this information to play a media file. Being lazy and not implementing this now would reduce the number of supported devices.

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [February 5, 2019, 10:11pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/12 "2019-02-05T22:11:19Z")

</div>

A pre-alpha release can be installed using cli install

> **[jreenen/com.jreenen.dlna.cast](https://github.com/jreenen/com.jreenen.dlna.cast)**
>
> Adds support for DLNA certified devices. Contribute to jreenen/com.jreenen.dlna.cast development by creating an account on GitHub.

**Known issues**

- Philips TV isn’t working, probably due to a missing implementation of the connection manager. Probably more devices are facing the same problem.
- Volume isn’t implemented
- Device discovery might take several minutes
- There is no validation (yet) on supported content types on a device, offering an unsupported content type might cause unexpected behavior.
- If a paired device isn’t yet discovered triggering a flow action will crash the app

**WARNING**

This application is far from stable state, you probably have to re-pair devices on every version update.

**Bug reporting**  
If you want to help testing please report found bugs [here](https://github.com/jreenen/com.jreenen.dlna.cast/issues). Please be as detailed as possible while reporting a bug, this helps on solving them 😉

Thanks!

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [February 6, 2019, 9:07pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/13 "2019-02-06T21:07:28Z")

</div>

Seems that a few TV’s don’t like to serve external streams that doesn’t provide a Content-Length in their response header. Will do some experiments with a simple proxy implementation that does provide this. Scope is increasing by the day 😉 But its for a good cause.

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [February 17, 2019, 9:39am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/14 "2019-02-17T09:39:51Z")

</div>

Don’t know much about DLNA, more than my (old) receiver’s got the function. Is/will it be possible to turn the receiver on with a card in this app, or does it have to be on to be able to stream media?

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tolga/32/12563_2.png) [@Tolga](https://community.homey.app/u/Tolga)\
**Post date:** [March 9, 2019, 4:17pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/15 "2019-03-09T16:17:35Z")

</div>

@jreenen

Any news?

---

<div class="post-metadata">

**Author:** ![David\_Maas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_maas/32/25776_2.png) [@David\_Maas](https://community.homey.app/u/David_Maas)\
**Post date:** [March 9, 2019, 7:19pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/16 "2019-03-09T19:19:31Z")

</div>

@jreenen Does this mean i control my Heos speaker with homey to play a spotify playlist? Because Homey Athom abaddon the official app Heos AP since 2017.

Like this idea?

> [@The Sonos Bathroom project](https://community.homey.app/t/the-sonos-bathroom-project/10215/6):
>
> Very nice idea! As an alternative to Bronos you can also use Sonos http node which I’m using . This has an almost instant response and stable.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 9, 2019, 9:37pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/17 "2019-03-09T21:37:02Z")

</div>

No, Spotify over dlna will not be possible. dlna only does mp3, wav etc… No closed protocols like Spotify…

---

<div class="post-metadata">

**Author:** ![David\_Maas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_maas/32/25776_2.png) [@David\_Maas](https://community.homey.app/u/David_Maas)\
**Post date:** [March 9, 2019, 10:25pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/18 "2019-03-09T22:25:14Z")

</div>

Dammit, back to asking Homey to proper update the Heos app. Thanks @bvdbos for explaining

---

<div class="post-metadata">

**Author:** ![jreenen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jreenen/32/811_2.png) [@jreenen](https://community.homey.app/u/jreenen)\
**Post date:** [March 12, 2019, 9:17am UTC](https://community.homey.app/t/in-development-homey-dlna/8071/19 "2019-03-12T09:17:52Z")

</div>

@Tolga @all Since moving to a new house took some more time than I was expecting and the fact that I needed to (partially) rewrite the Harmony Hub app this app wasn’t actively worked on. I am planning to pick this up by the end of this week.

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tolga/32/12563_2.png) [@Tolga](https://community.homey.app/u/Tolga)\
**Post date:** [March 12, 2019, 3:04pm UTC](https://community.homey.app/t/in-development-homey-dlna/8071/20 "2019-03-12T15:04:34Z")

</div>

@jreenen,

Hi, no stress, big thanks for your HARD work and take your time!

[Next page](https://community.homey.app/t/in-development-homey-dlna/8071.md?page=2)
