Thanks for this very descriptive analysis.
I have attempted to reproduce the same settings and issue on my iPhone 5. It did not crash when entering the “Don’t talk after:” time. I tried clearing the “Don’t talk before” time and then entering a “Don’t talk after time” as well. I also tried setting a “Don’t talk before” time which came after the “Don’t talk after time” and it was still accepted. I wish I could reproduce this issue so that I could try to fix it.
I have version 2.0.4 (1189) of the SmartThings iOS App ( Press the 3 vertical dots in the top right corner, then press Support, scroll down and you should see your ST App version).
My iPhone is running iOS 9.1 (13B143) as seen from Settings > General > About > Version
I planned to release a new version this weekend. I’m backtracking slightly. I’ve added weather functions tonight and due to this, I am instead releasing a Beta version before calling it good to go.
Important Note: I’m still seeing issues with SmartThings ability to convert some text to speech (mainly new unspoken phrases). I’m catching the error that SmartThings throws when it has trouble converting text to speech ( java.lang.reflect.UndeclaredThrowableException ) and am instead throwing your message to your phone/device/SmartThings App via your notification settings (push/text) so that you at least still get the notification when the speech phrase cannot be converted from text to audio.
BigTalker 1.1.4-Beta1 has been published.
Please test and let me know via PM or by posting an issue (clickable link) to the project on GitHub.
Major thanks to @Greg for using/testing/reporting on several unpublished Beta versions to make this happen and get us this far!
If nothing major is reported, this will soon become BigTalker 1.1.4.
Changes from 1.1.3 to 1.1.4-Beta1:
11/8/2015 - 1.1.4-Beta1
Metadata Update: Update Copyright from 2014 to 2014-2015
Feature Modification: Re-write of Talk() to better detect latest playing track and play status (latestValue() instead of currentValue()).
BugFix: Corrected default phrases for Water sensor (Thanks ST Community: @Greg) (was using acceleration phrases)
BugFix: Corrected home mode change issue if exclusion was not set (Thanks for the report ST Community: @Greg)
New Feature: poll() or refresh() on Talk() to try to update current status of player. Protect crash using try/catch routines.
New Feature: Added detection of failure to convert text to speech (SmartThings intermittent issue with textToSpeech function), send notification instead so message is not missed.
New Feature: Added new Talk variables %weathercurrent%, %weathertoday%, %weathertonight%, %weathertomorrow%. Can be added to any supported event.
This feature has been requested and is planned for a future version(clickable link). I’ve been focused mostly on resolving bugs lately and also waiting on SmartThings to fix the somewhat broken textToSpeech() function. Until this is implemented into BigTalker, you could use my modified version of the Door Left Open SmartApp(clickable link) which adds verbal announcements and repeat up to x times.
Just a head’s up… Big Talker works great with my SmartThings/Android driver pair (LANdroid) to turn an Android phone/tablet on the LAN (and also via SMS) into a SmartThings speech device/alarm. Love it.
It uses the zip code of your SmartThings Hub Location.
Launch the SmartThings app
Press the 3 vertical dots in the top right corner
Press My Locations
Press the gear in the top right corner of your location
Scroll down and press "Tap to set where home is on the map, so things can happen when you come and go.
Set your location.
I may adjust the variable before releasing 1.1.4 to allow you to add a custom zip code in the variable string. Perhaps something like %weathertoday(xxxxx)% where xxxxx would be your desired zip code for the announcement.
I added country/city but I can’t hear the speaker.
As soon As I click done to save the smartapp settings I get this notification “BigTalker cound’t announce…”
Can you help me undestanding what is wrong?