[DEPRECATED] Echo Speaks

I'm getting an exception in the logs for the device and TTS phrases are being repeated on that device when they occur.

dev:19912019-03-06 05:22:35.408 pm debugspeakVolumeCmd([cmdDesc:SpeakCommand, cmdId:16, newVolume:null, queueKey:qItem_1, oldVolume:null, message:audrey arrived., cmdDt:1551914552890, msgDelay:1])...

dev:19912019-03-06 05:22:35.037 pm errorjava.lang.Exception: No response data exists for async request on line 2420 (asyncSpeechHandler)

dev:19912019-03-06 05:22:34.367 pm debugspeakVolumeCmd([cmdDesc:SpeakCommand, cmdId:191, newVolume:null, queueKey:qItem_1, oldVolume:null, message:audrey arrived., cmdDt:1551914552890, msgDelay:1])...

Any ideas?

1 Like

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