[DEPRECATED] Echo Speaks

I have several Echo devices (4) in the home, and each are repeating the same debug log message over and over every minute. Show debug logs is disabled for each device. Is there a way to suppress the following messages:

dev:462019-03-06 04:52:11.444 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:51:11.479 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:50:11.477 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:49:11.502 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:48:11.557 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:47:11.540 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:46:50.155 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:46:11.497 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:45:11.468 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:44:11.514 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:43:11.536 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:42:11.440 pm debugAlexa Playlists Changed to [:]

dev:462019-03-06 04:41:11.489 pm debugAlexa Playlists Changed to [:]

2 Likes

Iā€™m almost done with project Iā€™ve been working on for work and will have time to look into these soon :expressionless:

1 Like

I simply commented the one line in code producing this message

Is that in the device code?

As far as I remember it is in the driver code. You can search for this string and then comment it.

I found this, so did you just comment out the line for logging only or is there more to comment out - bolded?

def getPlaylistsHandler(response, data) {
Boolean hasErr = (response?.hasError() == true)
String errMsg = (hasErr && response?.getErrorMessage()) ? response?.getErrorMessage() : null
if(!respIsValid(response?.status, hasErr, errMsg, "getPlaylistsHandler")) {return}
try {} catch (ex) { }
def sData = response?.getJson() ?: [:]
logger("trace", "getPlaylists: ${sData}")
Map playlists = sData?.playlists ?: [:]
if(isStateChange(device, "alexaPlaylists", playlists?.toString())) {
log.trace "Alexa Playlists Changed to ${playlists}"
sendEvent(name: "alexaPlaylists", value: playlists, display: false, displayed: false)
}
}

Yes, just this line. Don't forget to save the code.

@aryvin that did the trick, thank you.

In running a test, by using the Speak button in the device details page, I've encountered double, triple and even quadruple repeats. It seems to be related to the queue, perhaps a delay in response from Amazon. In these tests, I did not see the exception I posted above. Repeats seem to be more prevalent if the device has been idle for a 'while'.

Hope that helps.

So I renamed my devices via amazon after I installed this like 5 weeks ago. It never updated. It DID update today and my speech stuff stopped working. The devices in the app settings have changes name, but it did not rename them on the device page in hubitat. Is there a way to repopulate them without a full reinstall? ?

Edit: They seem to have renamed themselves in the device list now, but the speech rules still aren't working

Here is the log I'm getting on each device that should be speaking

EDIT 2: It started working again all of a sudden so nevermind.

I got all this working and have it connected to a Konnected security panel.

When the door opens I have it say "Front Door Open" and "Front Door Closed"

Is there a method to have it play a chime over alexa or upload it to spotify and have it play that mp3/audio file instead?

Is there instructions anywhere for installing this on HE?

Same way as SmartThings.

They are two different systems not the same. The process may be similar but its not the same. This is a forum for HE users. I was just curious if there were instructions written for HE..

They are the same code base for both platforms. @tonesto7 designed it this way specifically so that he could easily support both systems.

Yes, there are some semantic differences, but the install procedure is almost exactly the same on both platforms. In the instructions, swap SmartApp for Apps Code and Device for Devices Code.

Iā€™ve set up a rule to have Alexa announce that the garage door is opening or closing with a tilt sensor. Today, Alexa began to stutter, Something like ā€œgarage door garage garage door garage garage door openingā€. Should be a simple message ā€œgarage door openingā€. Has done it a few times today. Anyway to troubleshoot this?

I've seen this happen when my internet has been saturated.

I agree and I apologize for that. I just don't have the time recently. I've been working on some projects for work and haven't had any time to work on any of my HA projects

@tonesto7

New bug - on echo dots - HE 2.0.7

2019-03-18 09:00:11.174 pmerrorjava.lang.IllegalArgumentException: No json exists for response on line 965 (getDoNotDisturbHandler)

3 Likes

I recently setup the Echo Speaks app and decided it was time to have Alexa welcome home my family when they unlocked the front door. I setup the trigger rules last night with a few greetings to randomly pick. Everything was working well during my tests. However when I tried it out this evening, the echo dot linked to the rule was not speaking. I switched it to another echo in the house and it worked fine. The broadcast test messages in the app would play fine and when playing tts in the device handler menu it worked as well. It wasn't until I rebooted the hub that it would start playing again.

Has anyone else seen this scenario? I hope it was just a fluke and I don't have to reboot the hub frequently to get this to work?