Author Topic: Can anyone help sending voice notification using LUPP code?  (Read 585 times)

Offline Ghostm

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Can anyone help sending voice notification using LUPP code?
« on: February 13, 2017, 02:22:22 pm »
I am new to vera but would greatly appreciate any advice or help, i purchased veramate, I am simply trying to add a voice notification to vera when i set it to home or away using a scene.

So do I put the code in the scene in the lupp section? I tried that as a test using the exact code outlined on veramate website but it wont work as a simple test.

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "My Message"}, [64])

I should mention i am getting voice alerts when i ask a device to notify my veramate will speak on my ipad, but that code in vera UI7 beta is throwing an error message "in lua scene or events".

Any help would be appreciated, must be missing something.

Offline ilias

  • Sr. Newbie
  • *
  • Posts: 37
  • Karma: +1/-2
Re: Can anyone help sending voice notification using LUPP code?
« Reply #1 on: February 14, 2017, 07:52:11 am »
Just had a look at Veramates web and as far as I can tell it is very much like the Imperihome app.
In Imperihome, you can get TTS to say anything when a scene is triggered.

Is there any reason you prefer Veramete in front of Imperihome?

Sorry I did not answer your question, but the solution might be to change app.

Offline Ghostm

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Can anyone help sending voice notification using LUPP code?
« Reply #2 on: February 14, 2017, 06:33:51 pm »
Thank you for your help, I quickly looked at imperihome but noticed it said you need an android device, i am an apple user.

Offline veramate

  • Moderator
  • Hero Member
  • *****
  • Posts: 569
  • Karma: +17/-7
    • VeraMate
Re: Can anyone help sending voice notification using LUPP code?
« Reply #3 on: February 15, 2017, 08:07:59 am »
Lets keep the replies on topic, and helpful, or they will be removed.


I can't see anything immediately obviously wrong - I think the [] around the 64 should be removed, which is the only thing I can see that might make a difference.   Otherwise, ensure 64 is the correct device id for the VeraMate Alert plugin.   Where are you seeing the error exactly as well, if you have a screenshot you can include.
VeraMate for iOS - simple, customisable, Vera control.  http://www.veramate.com
Apple Watch, Voice Control, GeoFencing, iBeacons, Today Widget, UI5/6/7 support, Alerts.

Offline Ghostm

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Can anyone help sending voice notification using LUPP code?
« Reply #4 on: February 15, 2017, 06:43:04 pm »
Thank you I will try your steps and provide documentation you requested this evening when i get home if that does not solve it.

Offline Ghostm

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Can anyone help sending voice notification using LUPP code?
« Reply #5 on: February 16, 2017, 12:08:42 am »
Thank you it works, was the [] as the problem.