[OBSOLETE] BigTalker 2.x

Thanks for your reply Brian. I don’t believe this is related to the outage, as my problem started a day before, and other BigTalker2 announcements continue to function.

Here’s the error I’m getting from the logs:
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:34:17 AM: debug BIGTALKER2(P2.0.5) || [PARENT] install state=COMPLETE.
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:34:17 AM: debug BIGTALKER2(P2.0.5) || [PARENT] checkConfig() returning TRUE ()
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: error BIGTALKER2(P2.0.5) || [PARENT] ERROR: TALK(Smart Home Monitor .alarmSystemStatus)|mP| ST Platform issue (textToSpeech)? I tried textToSpeech() twice, SmartThings wouldn’t convert/process. I give up, Sorry…
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Smart Home Monitor .alarmSystemStatus) |ERROR| No selected speech device or smartAppSpeechDevice token in phrase. Smart Home Monitor is now Armed in Away mode
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Smart Home Monitor .alarmSystemStatus)|mP| Delaying polling for 120 seconds
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Smart Home Monitor .alarmSystemStatus)|mP| Resume is desired
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Smart Home Monitor .alarmSystemStatus)|mP@|30 >> Smart Home Monitor is now Armed in Away mode
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(app=Smart Home Monitor ,customdevice=null,volume=30,resume=true,personality=false,myDelay=0,voice=Kimberly(en-us),evt=physicalgraph.app.EventWrapper@455ed37d,phrase=Smart Home Monitor is now Armed in Away mode)
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: debug BIGTALKER2(P2.0.5) || [PARENT] TALKQUEUE()-OK to speak; (1305)
67c16fc1-7858-4c0b-a487-a5579cd63c1e 7:33:51 AM: debug BIGTALKER2(P2.0.5) || [PARENT] TALKQUEUE(Threshold=6,DurationFromLastTalkReq=1305,lastTalkReq=1520940831038,lastTalkTime=1520939525438, TooSoon=false, Calc=-1298000
7081a263-4585-49e0-ace9-d0998fb5aaf1 7:33:51 AM: debug SMARTHOMEMONITOR(C2.0.5) || parent.Talk(app=Me,customdevice=null,volume=30,resume=true,personality=false,voice=null,evt=physicalgraph.app.EventWrapper@455ed37d,phrase=Smart Home Monitor is now Armed in Away mode)
7081a263-4585-49e0-ace9-d0998fb5aaf1 7:33:51 AM: debug SMARTHOMEMONITOR(C2.0.5) || finalVolume: 30
7081a263-4585-49e0-ace9-d0998fb5aaf1 7:33:51 AM: debug SMARTHOMEMONITOR(C2.0.5) || (onSHMEvent): alarmSystemStatus, 1, away, NotSetYet
b37d5c0d-085a-4a4c-9405-e29ac5dd5936 7:33:51 AM: info SHM COMPLETED ARM/AWAY CHILDREN:0 ISA:b37d5c0d-085a-4a4c-9405-e29ac5dd5936, TIME:0.081
8ffc2e1e-9682-4cfe-bf89-3a41fb504bc3 7:33:51 AM: debug summaryData: [[icon:indicator-dot-green, iconColor:#79b821, value:Armed (Away)], [icon:indicator-dot-green, iconColor:#79b821, value:Everything OK, heroInfo:[heroStatus:ok, heroMessage:Everything OK]]] - [[icon:indicator-dot-gray, value:Disarmed, iconColor:#878787], [icon:indicator-dot-green, heroInfo:[heroStatus:ok, heroMessage:Everything OK], value:Everything OK, iconColor:#79b821]]
8ffc2e1e-9682-4cfe-bf89-3a41fb504bc3 7:33:50 AM: trace onSecurityEnable(MODE_AWAY)
b37d5c0d-085a-4a4c-9405-e29ac5dd5936 7:33:50 AM: trace 0
b37d5c0d-085a-4a4c-9405-e29ac5dd5936 7:33:50 AM: trace subscribeChildApps()
b37d5c0d-085a-4a4c-9405-e29ac5dd5936 7:33:50 AM: info SHM TRYING ARM/AWAY CHILDREN: 0 ISA: b37d5c0d-085a-4a4c-9405-e29ac5dd5936
b37d5c0d-085a-4a4c-9405-e29ac5dd5936 7:33:50 AM: info SHM armDisarmCheck executing away
8ffc2e1e-9682-4cfe-bf89-3a41fb504bc3 7:33:50 AM: debug intrusionState()

You do have a default speech device selected on the Configure Defaults page, correct? If so, for testing, please select one (overriding default selection) on your Smart Home Monitor event config page in BigTalker

Thanks for your help. Default voice was set, but setting another voice for the Smart Home Monitor event as you recommended did resolve my issue.

@rayzurbock Are you planning to add any support for talking events for Routines? I mean when a routine is executed (like good morning or good night) I am looking to have a Hello Good morning and read my day schedule etc… Thank you.

I had not planned on it. I just looked over the developer documentation and I should be able to add that soon.

Currently I use a mode based event with day, mode and time restrictions to do what you are wanting.
ie:
Mode event: Speak this phrase “Good Morning. It is %day%, %date%. %weathercurrent%, %weathertoday%”, When mode changes to Home, but not when changed from (all other modes except Night), and Day is Monday, Tuesday, Wednesday, Thursday, Friday and time is between 6:00am and 11:30am.

Thank you @rayzurbock for your inputs. I have the same issue reported by @mpawlicki for the smart home monitor state change. BigTalker couldn’t announce the phrase with Default voice setup (I didnt setup the player or voice at each talking event… using only defaults)… This is happening only for SHM…

3:28:00 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| All Speakers | cT<>null | cS/cT=playing | Sending playTrackAndResume() | CVol=60 | SVol=60
3:28:00 PM: trace BIGTALKER2(P2.0.5) || [PARENT] Sending playTrackandRestore() 8
3:27:59 PM: debug BIGTALKER2(P2.0.5) || [PARENT] addPersonalityToPhrase(motion is now cleared from the camera of front door bell is now inactive,physicalgraph.app.EventWrapper@3c65fb4b)
3:27:59 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Resume is desired
3:28:00 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Delaying polling for 120 seconds
3:28:00 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| attrs=[[switch, status, level, trackDescription, trackData, mute], [switch, status, level, trackDescription, trackData, mute, model, trackUri, transportUri, trackNumber, doNotDisturb, btnMode, udn, partyState, x_NumberOfListeners, singerSessionID, sessionID]]
3:28:00 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| currentStatus:playing
3:28:00 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Sound: https://s3.amazonaws.com/smartapp-media/polly-tts/ivy/7560f32e2e6294d364279de6fdecbd9b1c518157.mp3 , 8
3:27:29 PM: trace BIGTALKER2(P2.0.5) || [PARENT] Sending playTrackandRestore() 8
3:27:29 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Sound: https://s3.amazonaws.com/smartapp-media/polly-tts/ivy/5144d961ddaad96672e8b054f9834e5c2db321ad.mp3 , 7
3:27:29 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| currentVolume:26
3:27:29 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| All Speakers | Volume: 60, Desired Volume: 60
3:27:29 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Last poll: 3:25:54 pm
3:27:29 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP| Delaying polling for 120 seconds
3:27:29 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.motion)|mP@|60 >> Front Door Bell camera detected motion
3:25:56 PM: error BIGTALKER2(P2.0.5) || [PARENT] ERROR: TALK(Talking Events.alarmSystemStatus)|mP| ST Platform issue (textToSpeech)? I tried textToSpeech() twice, SmartThings wouldn't convert/process. I give up, Sorry..
3:25:56 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.alarmSystemStatus)|mP@|60 >> Smart Home Monitor is now Disarmed, going green are we?
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] addPersonalityToPhrase(Smart Home Monitor is now Disarmed,physicalgraph.app.EventWrapper@5c11232a)
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALKQUEUE()-OK to speak; (4326)
3:25:56 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.alarmSystemStatus) |ERROR| No selected speech device or smartAppSpeechDevice token in phrase. Smart Home Monitor is now Disarmed, going green are we?
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.alarmSystemStatus)|mP| Delaying polling for 120 seconds
3:25:56 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.alarmSystemStatus)|mP| Trying textToSpeech function again...
3:25:56 PM: error BIGTALKER2(P2.0.5) || [PARENT] ERROR: TALK(Talking Events.alarmSystemStatus)|mP| ST Platform issue (textToSpeech)? com.amazonaws.services.polly.model.AmazonPollyException: 1 validation error detected: Value 'Ivy(en-us)' at 'voiceId' failed to satisfy constraint: Member must satisfy enum value set: [Nicole, Enrique, Tatyana, Carmen, Lotte, Russell, Geraint, Mads, Penelope, Joanna, Matthew, Brian, Seoyeon, Maxim, Ricardo, Ruben, Giorgio, Carla, Naja, Astrid, Maja, Ivy, Chantal, Kimberly, Amy, Vicki, Marlene, Ewa, Conchita, Karl, Mathieu, Miguel, Justin, Jacek, Takumi, Ines, Cristiano, Gwyneth, Mizuki, Celine, Jan, Liv, Joey, Filiz, Dora, Raveena, Aditi, Salli, Vitoria, Emma, Hans, Kendra] (Service: null; Status Code: 400; Error Code: ValidationException; Request ID: 7fdfc6e7-270d-11e8-a750-5f0e49e5a0e2)
3:25:56 PM: trace BIGTALKER2(P2.0.5) || [PARENT] TALK(Talking Events.alarmSystemStatus)|mP| Resume is desired
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] options=5;myRandom=3;phrase={POST}going green are we?
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALK(app=Talking Events,customdevice=null,volume=60,resume=true,personality=true,myDelay=0,voice=Ivy(en-us),evt=physicalgraph.app.EventWrapper@5c11232a,phrase=Smart Home Monitor is now Disarmed)
3:25:56 PM: debug BIGTALKER2(P2.0.5) || [PARENT] TALKQUEUE(Threshold=10,DurationFromLastTalkReq=4326,lastTalkReq=1520979956692,lastTalkTime=1520975630596, TooSoon=false, Calc=-4315000

Yea, sorry about that. I’ll get that corrected in a day or so (maybe later tonight, I have some family events to attend first).

1 Like

Hey, don’t be sorry dude. In fact we should all be thankful to you for giving us such a wonderful and useful app. We love your work. Dont bother to change it today and Have a good time with family !!

I think this seems like a all else fail condition where you try to push this message before wrapping up the Talk() making sure that the phrase is spoken… Guess this is a generic error message than any issue with SHM Mode config issue. Some how the below error is ONLY observed for SHM events…

BIGTALKER2(P2.0.5) || [PARENT] ERROR: TALK(Talking Events.alarmSystemStatus)|mP| ST Platform issue (textToSpeech)? com.amazonaws.services.polly.model.AmazonPollyException: 1 validation error detected: Value ‘Ivy(en-us)’ at ‘voiceId’ failed to satisfy constraint: Member must satisfy enum value set: [Nicole, Enrique, Tatyana, Carmen, Lotte, Russell, Geraint, Mads, Penelope, Joanna, Matthew, Brian, Seoyeon, Maxim, Ricardo, Ruben, Giorgio, Carla, Naja, Astrid, Maja, Ivy, Chantal, Kimberly, Amy, Vicki, Marlene, Ewa, Conchita, Karl, Mathieu, Miguel, Justin, Jacek, Takumi, Ines, Cristiano, Gwyneth, Mizuki, Celine, Jan, Liv, Joey, Filiz, Dora, Raveena, Aditi, Salli, Vitoria, Emma, Hans, Kendra] (Service: null; Status Code: 400; Error Code: ValidationException;

1 Like

I would suggest implementing this example from @rayzurbock’s first post in this thread:

2 Likes

Thank you @veeceeoh. I was in the similar thoughts as you rightly mentioned. @rayzurbock even provided another solution with Mode change which could be useful in another way. I have this good morning routine configured to auto execute at given time to change the mode but I don’t want the player to start announcing at this time and rather wanted to have it talk when I manually execute something. The switch solution would work for me. Thanks.

1 Like

I’ve sent an update to the BigTalker2 beta tester group for a 2.0.6 prospective release.
Among a few other corrections, hopefully this version resolves the voice selection issue some are seeing. It also introduces routine as an event type.

It’s posted in my GitHub Development branch if you wish to beta test it before release otherwise if no issues are reported it should be released in a couple of days.
Note: Don’t overwrite your non-beta version. Create a new SmartApp, copy/paste/publish the beta parent code then create a new SmartApp, copy/paste/save the beta child code then add BigTalker2-Dev from the Marketplace. (GitHub Integration Settings = Owner: rayzurbock Name: BigTalker2 Branch: development ).
If you have issues, please turn on debug logging on the Configure Defaults page, launch Live Logging in the IDE and send me a private message with the related BigTalker2 logs (may be under the name that you gave the event group as well) and the issue.

2 Likes

Added beta github int! :slight_smile:

Smart home monitoring status alerts now work again :slight_smile:

Bad news though… door Lock alerts still not working :frowning:

I’ll check tomorrow evening. Thanks for your report

1 Like


In the beta, I see that the door lock trigger is being recognized, so that Is a step in right direction, because in non-beta it’s not even recognized… but in beta no sound comes out…

Have a good night!

Hey Brian

I see in the logs that for SHM Alerts the voice is coming with the en-us or
en-gb without getting chopped off. That could be the reason on why the
alerts are failing in texttospeech

Thanks

Correct. That part is resolved in the beta version. I now have an issue to resolve regarding lock events. It’s a quick fix and I’ll have that in the beta tonight.

Eh… Lunch break fix.
C2.0.6-DEV-2 has been posted to the development branch with a correction for speaking lock events.
Parent hasn’t changed in Dev from P2.0.6-DEV-1.

2 Likes

Brian

I am also having the same issue with lock events. I started to debug
further and found that the child events ( I named it as Talking Events)
didn’t even trigger the talk event to the parent app… Find below the log
is missing the switch case statement for Lock event… I guess that could
be the issue…

8:19:47 PM: debug TALKINGEVENTS(C2.0.5) || RESTRICTION: Disable switch is
set to disable
8:19:47 PM: debug TALKINGEVENTS(C2.0.5) || (onLockEvent): lock, 1, locked,
Salli(en-us)
8:19:47 PM: debug getMyVoice: settings.parent.speechVoice=Salli(en-us)
8:19:47 PM: debug getMyVoice: deviceVoice=null
8:19:47 PM: debug TALKINGEVENTS(C2.0.5) || onLock1Event(evt) locked

@pottisatish
Right. I fixed that during lunch today.
The fix is in the development branch on my GitHub.
It’s listed as Parent App P2.0.6-Dev-1 and Child App C2.0.6-Dev-2.
It will be rolled over to the general release in the next day or two unless any of the beta testers report a problem.

Thanks man !! I will test that one and let you know.

1 Like