We have moved at community.getvera.com

Author Topic: Sending alerts to DLNA speaker?  (Read 1550 times)

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
Sending alerts to DLNA speaker?
« on: May 06, 2017, 03:04:41 am »
How do I send alerts to dlna-speaker wtih the "Plugin-Forwarding" option in VeraAlerts?
I have created several DLNA speakers with the "DLNA Media Controller" plugin and can use mp3, tts, etc.

What data should I use in VeraAlerts (I have tried with this)?

ForwardedPluginDeviceID = ??
ServiceID = urn:dlna-org:serviceId:DLNAMediaController1
Action = SendAlert
DefaultArgs = Msg="{Message}"

Offline pvu-vera+

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Sending alerts to DLNA speaker?
« Reply #1 on: May 30, 2017, 09:12:51 pm »
Can I ask how did you set up TTS? Also which DLNA speaker do you have?

I followed instructions on http://code.mios.com/trac/mios_dlna-cntroller , but couldn't get TTS to work for my GGMM DLNA speaker.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: Sending alerts to DLNA speaker?
« Reply #2 on: May 30, 2017, 10:31:21 pm »
If you show me an example of how you send text in LUA I will tell you how to set it up with Vera Alert plugin forwarding.

Offline pvu-vera+

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Sending alerts to DLNA speaker?
« Reply #3 on: May 30, 2017, 11:15:57 pm »
I'm trying to test a manual scene with the following LUA action...

luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say",
                 {Text="The sun shines outside", Language="en", Volume=16, Engine="MARY"},
                 61)

I have set up a local MaryTTS server.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: Sending alerts to DLNA speaker?
« Reply #4 on: May 31, 2017, 10:49:12 am »
Does the LUA work ?
I can't help with that.
If it does work and you need help linking it with Vera Alerts via Plugin forwarding ... I can help with that.

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
Re: Sending alerts to DLNA speaker?
« Reply #5 on: June 01, 2017, 11:00:07 am »
I didn't get any answer for this question?
The DLNA speaker is a Sony SRSZR5.
TTS is working from the TTS textbox.
What I want to do is to have the speaker telling me what sensors has tripped.
« Last Edit: June 01, 2017, 11:04:34 am by paros »

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
Re: Sending alerts to DLNA speaker?
« Reply #6 on: June 02, 2017, 02:48:33 am »
Richard - is this out of your domain?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: Sending alerts to DLNA speaker?
« Reply #7 on: June 02, 2017, 09:43:00 am »
No one answered my last question ....

Working LUA code that sends the text ...
There was a response with code ... but it did not indicate if it was a suggestion or that it was verified to work!

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
Re: Sending alerts to DLNA speaker?
« Reply #8 on: June 03, 2017, 03:30:44 am »
No LUA, but does this help?
I am using the DLNA plugin and have a DLNA-speaker that I use for TTS.


No one answered my last question ....

Working LUA code that sends the text ...
There was a response with code ... but it did not indicate if it was a suggestion or that it was verified to work!

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: Sending alerts to DLNA speaker?
« Reply #9 on: June 03, 2017, 05:10:10 pm »
Plugin Forwarding Profile parameters:

ForwaredPluginDeviceID       941
ServiceID       urn:dlna-org:serviceId:DLNAMediaController1
Action            Say
DefaultArgs    Language="sv", Volume=25, Text="{Message}"   


I can't verify the ServiceID
Since you did not verify the LUA is working, I can only assume the ServiceID is correct.

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
Re: Sending alerts to DLNA speaker?
« Reply #10 on: June 05, 2017, 02:11:31 am »
Thank you Richard!
I can confirm that it is working!
Now I need to find out to set the speed on the TTS, in Swedish, the speaking is to fast :)