SmartThings Community

[RELEASE] Echo Speaks

echo
smartapp_voice
project_alerts
project_voice

(Anthony S.) #1

Current Features:

  • Creates virtual Echo Devices for every physical device.
  • Make Alexa announcements based on any ST event.
  • Play music/sounds based on an event (eg, when someone arrives)
  • Trigger weather/traffic reports, jokes, fun facts, sing songs, stories, get calendar events.
  • Create Alarms or Reminders based on any ST event.
  • Many other Alexa features.
  • There are tons of possibilities.
  • There is ~50 custom commands available.
Notice:

Apps like WebCoRE are “currently” the only app to be able to utilize the more advanced features like music searching and creating Alarms/timers.


Links

Documentation:

https://tonesto7.github.io/echo-speaks-docs/

Installation Instructions:

https://tonesto7.github.io/echo-speaks-docs/#/docs/installation/appInstall

Device Attributes:

https://tonesto7.github.io/echo-speaks-docs/#/docs/devices/deviceAttributes

Device Commands:

https://tonesto7.github.io/echo-speaks-docs/#/docs/devices/deviceCommands

Troubleshooting:

https://tonesto7.github.io/echo-speaks-docs/#/docs/support

Developers:

Please contact us if you have any questions about how the devices work or integrating
into your work.



[BETA RELEASE - FULL] Echo Speaks
Using Contact and Motion Sensors to Trigger Alexa Routines (DTH in post 97) (Official Amazon Feature)
How to use TTS to report what windows/doors are open when I ask Alexa?
Notifications of Door Open eg Alexa?
Using Contact and Motion Sensors to Trigger Alexa Routines (DTH in post 97) (Official Amazon Feature)
[RELEASE] Honeywell / Ademco Vista 20P Integration
[Release] BigTalker 2.x
Voice interface for SmartApp?
Alexa, stop
Iris User - Looking for info
What is everyone using lately? (February 2019)
Echo Dot as a Switch to play music when a virtual switch is activated?
I can’t get the Echo Speaks smartapp to work—Help needed
Announce “Smoke Detected” in a specific room?
Getting there from fresh install. ADT Smartthings app and configuration advice sought. Iris orphan needing to get to speed
(Anthony S.) #2

Updates


V2.4.0 (January 26th, 2019)

App

  • FIXED: Echo Device Filter not stopping selected devices from being created.
  • FIXED: Updated the UI some for devices. It’s easy to distinguish between unsupported and devices ignored by user.
  • UPDATED: Rewrote the broadcast test logic it works extremely well now. Devices that are shown to not support TTS are not selectable in the list.
  • UPDATED: Also rewrote the announcement test logic it works extremely well now. Devices that are shown to not support TTS are not selectable in the list.
  • UPDATED: Echo Device Filter not stopping selected devices from being created.
  • UPDATED: Streamlined the new install flow in the app to reduce page changes. (Update the documentation as well)

Device

  • FIXED: Speaking long text on ST would throw exception
  • FIXED: fixed broken attributes lastVoiceActivity and lastSpokenToTime from last update.
  • FIXED: wait sequence command was breaking the whole sequence (Multiple waits are having issues).
  • FIXED: Made changes to address the random exception errors on async responses.
  • UPDATED: Speak commands now handle long strings but splitting them into multiple sequence commands and playing them 1 by 1
  • ADDED: Music search available in the sequence commands.
  • ADDED: Speak command now cleans the strings of unnecessary characters.
  • ADDED: Speak command will attempt to transform items like temperature 19F to 19 degrees and directions SSW to south southwest. (This can be disabled under each device)

V2.3.2 (January 23rd, 2019):

App

  • FIXED: Echo Device Filter not stopping selected devices from being created.
  • FIXED: Made changes to address the random exception errors on async responses.

Device

  • FIXED: Broken sequence commands from v2.3+
  • FIXED: wait sequence command was breaking the whole sequence.
  • FIXED: Made changes to address the random exception errors on async responses.
  • UPDATED: Speak commands now handle long strings but splitting them into multiple sequence commands and playing them 1 by 1

V2.3.1 (January 23rd, 2019):

App

  • FIXED: Remove duplicate documentation and settings inputs
  • FIXED: Significantly reduced the icon sizes by 80-90% to speed up image loading
  • UPDATED: Support for the new required executeSequenceCommand() split character from , to ,,
    Important Note: I’ve been seeing more Async Function errors on the Hubitat recently. I will continue to investigate the issue.

Device

  • FIXED: Broken tile buttons fixed
  • FIXED: Significantly reduced the icon sizes by 80-90% to speed up icon and tile image loading.
  • ADDED: sayCompliment button
  • UPDATED: Modified the required executeSequenceCommand() split character from , to ,,

V2.3.0 (January 22nd, 2019):

App:

  • FIXED: Lot’s of little bugs squashed and some minor UI tweaks.
  • FIXED: Metrics collection was broken in the last release.
  • FIXED: Broadcast test page should now work correctly again.
  • UPDATED: Overhauled the device detection logic. You will see more devices shown now.
  • UPDATED: Modified the Device Test page to include testing of Broadcasts, Announcements, and Sequence Commands.
  • ADDED: New Unrecognized devices section in the app. It will show you which devices are being ignored and why.
  • ADDED: Ability to override and install blocked (unsupported) devices.
  • ADDED: Notification option for successful cookie refreshes.

Important Note: I’ve been seeing more Async Function errors on the Hubitat side recently. I will continue to investigate the issue.

Device:

  • FIXED: TTS Queue has been broken for sometime apparently. Should work as designed now
  • ADDED: New executeSequenceCommand() see documentation for details
  • ADDED: last command spoken date/time attribute on the device in the attribute lastSpokenToTime.
  • ADDED: say****() commands for canned tts messages.
  • ADDED: added trackImgHtml attribute with html <img></img> for dashboards.

Server:

  • FIXED: Minor bugs fixed.
  • UPDATED: AlexaCookie library updated to v2.0.1.

V2.2.0 (January 15th, 2019):

App:

  • UPDATED: The Code is now 100% Cross-Platform ready for SmartThings and Hubitat!
  • FIXED: Update Notifications are now off when you disable them.
  • FIXED: Reduced missed poll notifications. The app will attempt to re-initiate the data updates 1 time before alerting you.
  • FIXED: Many, many bug fixes. So many that it leads me to wonder how the app even worked at all.
  • UPDATED: UI flow and layout updates and reorganization.
  • UPDATED: Added Device and Server Version to head section on the main page for easy viewing of installed versions.
  • ADDED: The supported device is now dynamic and the update process is now 100% remote. Meaning I can support remotely and your app will update it’s data every 6 hours or will update when you open the smartapp.
  • ADDED: Device Cleanup Option to remove unwanted devices or All devices on uninstall

Device:

  • FIXED: Volume logic fixes (Thanks to @RBoy)
  • UPDATED: playAnnouncement() changes… Added optional parameters Title, Volume, Restore Volume to playAnnouncement command. (Unfortunately playAnnouncementAll() does not support volume yet)
    You will see 2 playAnnouncement commands now. the new one excepts playAnnouncement(message, title, volume, restoreVolume)
  • UPDATED: playText* commands have been updated to provide better support for legacy smartapps (Thanks @RBoy)
  • UPDATED: sendTtsTest() command has been renamed to speechTest()
  • UPDATED: Device Tile UI has been overhauled with icons.
  • ADDED: Bluetooth Device Control. You can connected/disconnect as well as delete there pairing from the device.
  • ADDED: Account activity is now checked to determine if a device was that last device spoken to on your account. The value will be found in wasLastSpokenToDevice attribute. (Thanks @TonyFleisher)
  • ADDED: You can also get the last command spoken on the device in the attribute lastVoiceActivity.
  • ADDED: Command to Rename your alexa device on your Amazon account.
  • ADDED: Undocumented command that I will not explain how to use yet. :expressionless:

Server:

  • UPDATED: Minor tweaks to remove specifics for ST (This update is optional)

(Anthony S.) #3

Placeholder for future announcements…again


(Jimmy) #4

I’m loving it for our intro music!


(Frank Reymenants) #5

Tested it with a simple piston to warn when my office door is opened and I’m not home. It works great but the speed of which she says the message is way to fast to properly understand. Any way we can control the speed of the message she speaks?


(Jason "The Enabler" as deemed so by @Smart) #6

I have music start playing whenever someone goes into the restroom… lol


(Simon Tether) #7

Awesome, works great. Just deleted 21 Simulated Contact Sensors and Alexa Routines.
Thanks for all you efforts on this


(Ron Talley) #8

Awesome Sauce! Where’s that “Donate Button”?..


(Ian Bruce) #9

Awesome effort, just what I and I’m sure thousands of others have been waiting for!

Got it installed, had problems with it when I selected ‘amazon.co.uk’ kept getting error when logging in to Alexa through Heroku. I get "Cannot GET /ap/cvf/request"

When I change to “amazon.com” I can authenticate ok and it finds my echos but they all list as “Offline”

I’ve tried removing and reinstalling (a few times) but can’t seem to get anywhere.

Any advice would be gratefully received?


(Simon Tether) #10

Happened to me too, also.in UK. In the wiki it says you need to enable 2 part authentication in amazon. That sorted it.


(Ian Bruce) #11

I did read that but the error message for 2FA was slightly different.

But if that fixed it then I can do that!


(Ian Bruce) #12

Yup that works now :slight_smile:


(might be my fake name?) #13

My only question is this going to work with the new APp?

I think this sounds like a cool idea and I would probably do it but if it’s going to be defunct when classic app goes away what’s the point?


(Ian Bruce) #14

Right now if the old API and app goes away my whole smart home is defunct! I’m hoping they make the new app actually functional before deprecating the old.


(Eric Miller) #15

The pictures aren’t showing up for me on the tutorial. Anyone else have this problem?
http://thingsthataresmart.wiki/index.php?title=Echo_Speaks


(Ian Bruce) #16

Next question/feature request…

Is there anyway of grabbing the current volume before you alter it in a Piston so it can be reset to the previous volume after a (loud) announcement?


(Ian Bruce) #17

No problem this end…


(Steve ) #18

Same for me I presumed it was just because I’m using my mobile data.
I’ll try again when I get home.


(Anthony S.) #19

The wiki site doesn’t render properly and immobile I’m going to move the wiki page over to GitHub


(Kurt Sanders) #20

Awesome integration and excellent install instructions! Hats off!

Question: Is there a means to obtain the “switch” status (On/Off) of the Echo device(s) so I can tell when the Echo is activated, whether it was through this interface or awake word by the owner?