Parent/child app

UPDATE: Resolved.. See post 4 at the link below for the working parent function to return setting/state variables to a child app. I'm sure this could be improved, but it's working for me.

@bravenel and/or anyone else that may be able to offer advise..

I'm super close on resolving the parent/child variable issue but have run into an issue I am not sure how to resolve. The parent method/function returning data to the child app is mostly working; however dates are being returned as strings and then when compared with timeOfDayIsBetween() an error is thrown. I'm not sure how to detect/cast these to date/datetime.

I'm moving discussion on this particular issue here under a topic of it's own:

Do we use the same git hub location for Bigtalker rayzurblock ?

Yes, but use the Hubitat-Dev branch.

It's not currently working with Sonos due to lack of playTextAndRestore() and playTextAndResume() functions in the Hubitat driver. You may be able to port a custom Sonos driver and resolve that.
See this thread for the discussion on that:

I've had confirmations of it working on some other speakers though. So, if it works for you, please post that info and what speaker and driver you are using.

I use LanAnnouncer so this should work then right ?

What's the Allow Personality setting rayzurback ?

Yes, but make sure on install that you set the slider to the option for speechSynthesis (slider to the off position I believe)

1 Like

It injects a small pool of randomness in phrases at random times.
ie: "The family room light is now off" becomes "The family room light is now off, time to save some money", but not always and the phrase may differ from time to time. Your typed text is always spoken. The randomness is then added to the beginning or end of your phrase.

Hopefully someday, I'll enhance the pool of random prefixed/appended phrases that it uses. It's pretty small and repetitive at this point.

1 Like

Works perfectly with Lan Announcer !! Thanks and I donated yesterday to you for your excellent work.

1 Like

@anon61068208 Thanks for the feedback and for your support of the project.

I got a question about BT2 -- Its not pulling weather data when I try using any of the weather variables... even if I use %weathercurrent(00000)% and use my zip code I get a error.

Just saw that getWeatherFeature is not in the firmware code yet.... bummer.

Just found out you can't install BT2 twice -- one for music and one for speech. Can this be fixed ?

Edit the code in the Parent app. Change singleInstance: true to false

1 Like

Thanks !

I have my Fabriq RIFF speakers connected to Hubitat with the DLNA driver. I was able to get them working with Bigtalker2 for speech. One thing I noticed however is when I created an event, say Test and attached it to a light switch. While it worked, it didn't show up as a child under the Big Talker2 app listing in Hubitat. Also, there is no "Remove" button to delete the actual event. How can events be removed that are no longer needed?

The child should show up under the BigTalker2 parent, at least if your using the current port that I have on GitHub. I'll need to check on the uninstall function missing for the child app. You should be able to click the (i) next to the child app in the Hubitat Apps page and choose Remove there.

I am using the latest version. Odd, the first time I created a testing child it didn’t show up. I just created another one and this one did show up. And yes I was able to remove it with clicking on the I next to the name of the child. Thanks!

would you mind sharing your updated code for the milight manager?