[RELEASE] Follow Me - Speaker control with priority messaging, volume controls, voices and sound files!

Yup, post a debug log as stated in post #1. :wink:

How do I run a debug log at the app level?

Thank You

Open the child app causing that error, scroll to the bottom and flip the switch 'enable debug logging.

I cant get speech restrictions to work, i have it set from 10-8 but instead it just never speaks

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.807 [info](http://10.2.0.53/installedapp/configure/1859)--------------------------------------------------------------------------------------

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.804 [debug](http://10.2.0.53/installedapp/configure/1859)In letsTalk (2.2.9) - Messages not allowed at this time

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.800 [debug](http://10.2.0.53/installedapp/configure/1859)In letsTalk - continuing

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.798 [debug](http://10.2.0.53/installedapp/configure/1859)In checkVol - NO Quite Time Specified - setting volume to 60

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.795 [debug](http://10.2.0.53/installedapp/configure/1859)In checkVol (2.2.9)

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.792 [debug](http://10.2.0.53/installedapp/configure/1859)In checkPriority - priorityValue: X, so skipping

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.789 [debug](http://10.2.0.53/installedapp/configure/1859)In checkPriority (2.2.9)

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.787 [debug](http://10.2.0.53/installedapp/configure/1859)In checkTime - timeBetween: false

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.784 [debug](http://10.2.0.53/installedapp/configure/1859)In checkTime - Time outside of range - Can Speak

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.780 [debug](http://10.2.0.53/installedapp/configure/1859)In checkTime (2.2.9) - 2020-10-16T22:00:00.000-0600 - 2020-10-16T08:00:00.000-0600

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.756 [debug](http://10.2.0.53/installedapp/configure/1859)In alwaysOnHandler (2.2.9) - setting sZone to true

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.753 [debug](http://10.2.0.53/installedapp/configure/1859)In letsTalk - state.speakers - speakers: [Jarvis Speaks GoogleGrp]

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.751 [debug](http://10.2.0.53/installedapp/configure/1859)In prioritySpeaker - priSpeaker: null

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.727 [debug](http://10.2.0.53/installedapp/configure/1859)In prioritySpeaker - priorityValue: X - priorityVoice: X - prioritySpeaker: X

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.724 [debug](http://10.2.0.53/installedapp/configure/1859)In prioritySpeaker - theValueCount: 3

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.721 [debug](http://10.2.0.53/installedapp/configure/1859)In prioritySpeaker (2.2.9)

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.717 [debug](http://10.2.0.53/installedapp/configure/1859)In letsTalk - msg: [{"method":"speak","message":"Test","priority":"X:X:X","speakLevel":null,"returnLevel":null,"title":""}]

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.121 [debug](http://10.2.0.53/installedapp/configure/1859)In startHandler (2.2.9)

[app:1859](http://10.2.0.53/logs#app1859)2020-10-16 13:30:08.118 [debug](http://10.2.0.53/installedapp/configure/1859)********** Follow Me (2.2.9) - Start Talking **********

Any idea's on what i'm doing wrong?

(Side note) - if i remove speech restrictions or quiet time, it will speak

You have it setup to speak from 10:00 pm to 8:00 am

Your log is from 1:30 pm, which is not within that time frame. So it can't speak.

but i have "Does this cross over midnight" checked, i thought it would go 10pm - 8am tomorrow

It does. 1:30 pm is still not within that time frame.

Again, you have it setup to ONLY speak during the night. If you want speech during the Day, you would have to use something like From 8:00 To 22:00.

1 Like

im confused im thinking linearly I would think it would function like this, please help me understand :frowning: sorry
Bold - No speak
Reg - Speak

00-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-00-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24

You have it backwards

2 Likes

LOL i get it now, im thinking exactly backwards, i need to set a time fram in which it can speak not when its restricted

2 Likes

Helpful to give @bptworld a quick and easy way to have context for what your posting...just throwing up logs requires him to parse back to figure things out. Since he's doing this for free/fun, we should try to make it as easy as possbile for him. :slight_smile:

1 Like

I don't see any errors in that log.

Please help me help you. I need to see a debug log including the error. That will show me what led up to the error.

Thanks

1 Like

The app looks great.

Any chance of extending the integrations to include squeezebox players accessible in HE via the Squeezebox Connect app & driver?

I had a quick look at the source for this and it looks like it's using the speechSynthesis and musicPlayer capabilities so it should work with the squeezebox connect out of the box I think. Have you tried it out?

1 Like

Haven't tried yet...but I will soon.

Yup, any device that uses either of those capabilities will work with Follow Me.

Noticed you have Dev by your name.. I take pull requests too! (if you need something special :wink:)

Just noticed I have two Follow Me child instances in Apps Code.

Is that normal, or should I remove one?

Nope, should only have one.

1 Like

Is it normal for FM to cycle slowly through all the speakers instead of speaking simultaneously on all devices? I'm also seeing that if one of my Home Minis is included, it causes the entire group to delay. I'd think that if one device doesn't respond well, that it would be singularly delayed and not cause the entire operation to fail or take forever.