[BETA] Echo Speaks V4

RELEASE V4.0.X.X BETA

We wanted to get this release out there for you guys to test.

Note

I've changed the file structure some so I recommend you use Hubitat Package Manager and select the new entry for Echo Speaks (Beta) to install the code.

I highly recommend using Hubitat Package Manager to update your existing install.
If you are using HPM now you will need to uninstall HPM and reinstall HPM again and when detecting packages select the Echo Speaks 4.0 beta instead of V3 and it will update your existing code.

I also want to give a big thanks to @nh.schottfam for all his work on this release it's been nice working with him again since we did Nest Manager for SmartThings.

Echo Speaks App

  • [UPDATE] Optimizations to significantly reduce platform resource usage

  • [UPDATE] New UI Layout

  • [NEW] Centralized speech command queuing to eliminate amazon rate limiting

  • [NEW] Control Alexa Guard with the state of a single switch (On=Armed | Off=Disarmed).

  • [FIX] Alexa Routine Executions

  • [UPDATE] Reduced accesses to AWS Alexa APIs by caching results for re-use

  • [UPDATE] Removed a lot of state and atomicState accesses

  • [UPDATE] Many JVM optimizations to reduce memory use in HE

  • [UPDATE] More use of async HTTP calls

  • [UPDATE] UI improvements

  • [UPDATE] Improved status reporting and descriptions

  • [UPDATE] Cleanup of use of local server deployments

  • [UPDATE] Improved cookie refresh operations (in conjunction with server updates)

  • [UPDATE] Fixes for conditions, restrictions handling, time-based conditions, and restrictions

  • [UPDATE] Updates for operation with HSM,

  • [ADDED] Restored Zone and Action duplications.

  • [UPDATE] Added support for new Echo devices

Echo Speaks Actions

  • [UPDATE] Integration with lock codes and security keypads, humidity sensors

  • [UPDATE] Ability to filter actions on specific security code usage

  • [UPDATE] Updates for operation with HSM

  • [UPDATE] Integration with webCoRE

  • [UPDATE] Ability to execute pistons

  • [UPDATE] Ability to trigger based on piston executions

  • [UPDATE] UI improvements

  • [UPDATE] Improved status reporting and descriptions

  • [UPDATE] Fixes for conditions, restrictions handling, time-based conditions, and restrictions

  • [FIX] Fixed getAlexaRoutines Command.

  • [NEW] Added per zone volume when multiple zones are selected in the Action.

  • [UPDATE] Optimizations

  • [UPDATE] Removed a lot of state and atomicState accesses

  • [UPDATE] Many JVM optimizations to reduce memory use in HE

Echo Speaks Zones

  • [UPDATE] Optimizations

  • [UPDATE] Improved time handling and transitioning

  • [UPDATE] Improved UI

Echo Speaks Device

  • [UPDATE] Improved labeling for command inputs

  • [UPDATE] Less overhead

  • [NEW] Added new voiceCmdAsText() command to execute commands as if they are spoken to the device

Echo Speaks WebSocket

  • [UPDATE] Less overhead

  • [UPDATE] Improved operations with WebSockets

17 Likes

RELEASE V4.0.7.0

Echo Speaks App (v4.0.7.0)

  • [NEW] Moved to a centralized queue for all speech commands to eliminate Amazon rate limiting.

  • [FIX] Optimizations to allow for grouping of commands to multiple zones

  • [NEW] Control Alexa Guard with the state of a single switch (On=Armed | Off=Disarmed).

  • [FIX] Lot's of UI design updates

Echo Speaks Actions (v4.0.7.0)

  • [FIX] Lot's of UI design updates

  • [FIX] Fixed getAlexaRoutines Command.

  • [NEW] Added per zone volume when multiple zones are selected in the Action.

Echo Speaks Zones (v4.0.7.0)

  • [FIX] bug fixes.

  • [FIX] Lot's of UI design updates

  • [FIX] Optimizations to allow for grouping of commands to multiple zones

Echo Speaks Device (v4.0.7.0)

  • [NEW] Moved the individual device queue to a centralized queue.

  • [FIX] bug fixes.

Testing

Please put the new queue system through it's paces and report any issues here.

8 Likes

Getting an error through HPM on

https://raw.githubusercontent.com/tonesto7/echo-speaks/beta/drivers/echo-speaks-ws.groovy.

1 Like

Error in WS device is now resolved please try again

1 Like

That did it.

1 Like

Up and running this morning on my Development C4...thanks...

Works beautifully. Many thanks for this update.

New update seems to be working just fine. I am getting a weird error on two devices, but that error predates the 4.x update. Would be nice to get to the bottom of them though...

The message repeats periodically whether I try to send something to those two echos or not. And ironically though I do use Audible through my Echos, not on those two.

Applied the latest update, getting the following error for any speech test from the device screen.

I just updated and getting following error when testing in the device the "Good Morning" button:

2021-02-25 03:04:38.867 pm warn EchoApp (v4.0.7.0) | finishWorkQ | 400 | Bad Request | [extList:[[:]], nextOk:1614283481580]

No sound is produced on the Echo!

Also getting this error when using the Speak command in the device:

2021-02-25 05:01:30.650 pm errorEcho (v4.0.7.0) | postCmdProcess Error | status: 400 | Msg: null

image

I can't seem to get the "Echo Speaks Server" wont update.
I have it done, I have gone into each of the actions and hit done there as well.
I removed HPM and reinstalled to the setup.
image

Echo Speaks Server is on Heroku. You need to update there.

Upgraded and working great!

Where is the Google love

@tonesto7,

Thanks forr all your tireless work! I was able to get this new 4 Beta version to work after some additional investigation. I re-installed the Heroku sever, and at the same time followed the steps to enable automatic upgrades/deploy from my github fork of your master.

The Device Test worked!
dev:5592021-02-25 05:26:08.462 pm infoEcho (v4.0.7.0) | SpeakCommand Sent | (This is a speech test for your Echo speaks device!!!) | Length: (52) | Expected Runtime: (7 sec) | Execution Time: (865ms)

Only question I have is it looks like the Heroku stack will be upgraded on next deploy, and I'm assuming that will be ok?

I just tried "Speech Test" on a device and it worked.

So we are going to need more logs - you can PM them or PM us with more instructions on what you did to cause the error.

Do ensure you updated everything properly. All the files from beta need to be properly installed

Any idea on where I might have gone wrong? Speech test failed.

Please check that everything is installed properly. I did a "Set volume speak and restore" a couple different ways and they all worked...

Getting an error when installing via HPM

@tonesto7:

The server update instructions have a typo in the link of step 6.

  1. Once the pull app is configured head over to https://dashboad.heroku.com.

should be:

  1. Once the pull app is configured head over to https://dashboard.heroku.com.