[OBSOLETE 1.1.6 5/25/16] Big Talker - Talk when events occur

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

No problem. The only difference between our setups is that I’m using iOS 8.4.

Any way to get big talker to give me a weather report when a switch is turned on? Would be an awesome feature.
B

1 Like

I’ve had several requests for weather reports. I just need to figure out how to integrate it.
It’s on my road-map for a future release.

Awesome! A feature I’d be willing to pay for!

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.

Download 1.1.4-Beta1 from: https://github.com/rayzurbock/SmartThings-BigTalker/tree/1.1.4-Beta

3 Likes

I used your latest 1.1.4-Beta1. I got this error when trigger:

java.lang.NullPointerException: Cannot get property ‘status’ on null object @ line 2886

Love BigTalker, thank you. The feature I would like the most is a door left open notification, something that will annoyingly repeat it self 10 or so times after a set time left open.

Should be resolved in 1.1.4-Beta3(clickable link). Thanks @binhton for reporting and testing.


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.

2 Likes

Hi Brian

Can you please explain me better where I can add the zip code to determine the weather?
I would like to be able to add an italian zip code
thanks
fab

It uses the zip code of your SmartThings Hub Location.

  1. Launch the SmartThings app
  2. Press the 3 vertical dots in the top right corner
  3. Press My Locations
  4. Press the gear in the top right corner of your location
  5. Scroll down and press "Tap to set where home is on the map, so things can happen when you come and go.
  6. 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.

This is now available in the latest beta code: 1.1.4-Beta6 Available here if you wish to try and give me feedback on it: https://github.com/rayzurbock/SmartThings-BigTalker/tree/1.1.4-Beta

1 Like

Hi Brian

I have installed the new beta but I can’t find where to put the zip code…

When typing out your custom phrase, type in the custom variable you want

“%weathercurrent(TYPEYOURZIPCODEHERE)%”

this from live logging

28ea622a-3d19-41e3-b4fa-03825dc46227 22:44:02: error java.lang.NullPointerException: Cannot invoke method contains() on null object @ line 2857
28ea622a-3d19-41e3-b4fa-03825dc46227 22:44:01: error java.lang.NullPointerException: Cannot invoke method contains() on null object @ line 2857
28ea622a-3d19-41e3-b4fa-03825dc46227 22:44:00: error java.lang.NullPointerException: Cannot invoke method contains() on null object @ line 2857
37d25569-d71b-4eb6-a163-332703c9196a 22:43:58: trace getPhrases(), state.welcomeIssue = null

and this is the place I would like to get forecast for

so it seems that I have two problems here

  1. get my zip code (if you see below 23030 is getting data for Charles City, VA (23030) and not Valfurva Italy 23030)
  2. have my speakers saying something in fact I get this message

The Weather Underground API uses US Zipcodes. I just tested the following and it seems to work:
%weathertomorrow(italy/valfura)%

I have not tested all of these, but it looks like you could possibly use any one of these in place of the zip code:

US state/city: CA/San_Francisco
US zipcode: 60290
Country/City: Australia/Sydney
Latitude,Longitude: 37.8,-122.4
Airport Code: KJFK
PWS id: pws:KCASANFR70

ie: %weathercurrent(KJFK)%

Hi Brian

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?