tonesto7 / echo-speaks

Integrate your Amazon Echo devices into your Hubitat environment to create virtual Echo Devices. These virtual devices will allow you to speak text, make announcements, control media playback including volume, and many other Alexa features.
https://tonesto7.github.io/echo-speaks-docs/
110 stars 178 forks source link

(BUG) #1125

Open xplane2165 opened 10 months ago

xplane2165 commented 10 months ago

Verify the following before opening an trouble issue

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!


About Your Setup

Expected Behavior

tell us what should happen finish installation

Current Behavior

What happens instead of the expected behavior? All the setup of your documentation goes well. But I can't get pass Echo Speaks Service Amazon login go to login page I get a 404 error

Steps to Reproduce (for bugs)

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

  1. I went thru setup 3 times same error

Context

How has this issue affected you? What are you trying to accomplish? control a media player play custome mp3 Providing context helps us come up with a solution that is most useful in the real world**


Please include a copy of any relevant log output to assist in tracking down the bug

xplane2165 commented 10 months ago

I have no problem accessing amazon.com from Google Chrome

snowyogi commented 9 months ago

I am getting the same issue on Echo Speaks Service v2.8.0. I am getting 404 error. Hubitat C-8 with 2.3.6.136 Installed with Package Manager. image

xplane2165 commented 9 months ago

Sorry Jamie. Can’t help went a different route and no longer use echo speak. Sent from my iPhoneOn Sep 26, 2023, at 5:02 PM, Jamie Morgan @.***> wrote: I am getting the same issue on Echo Speaks Service v2.8.0. I am getting 404 error.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AnilRh commented 7 months ago

I tried to setup Echo Speaks with a clean install and had the same issue. The root problem is that the Heroku url has changed.

In June Heroku started adding a random identifier to subdomains (see here so while Echo Speaks expects Heroku's url to be echo-speaks-esidentifier.herokuapp.com it is actually echo-speaks-esidentifier-20e376dff6x9.herokuapp.com

I hacked a fix just to confirm and get things working for me. Here's what you can do:

Change your Heroku settings Go to the /settings page In the Config Vars section press the "Reveal Config Vars" button Change the hostUrl value to include the heroku identifier (so it should be something like echo-speaks-esidentifier-20e376dff6x9.herokuapp.com)

I believe this is enough to get you going. The only thing that doesn't work at this point is that the Echo Speaks app cannot open the Heroku app. I don't think it needs to do this, but it's practical if you're in the apps settings and want quick access. If you want to hack around this you can try:

Repalce the Echo Speaks App In Hubitat, got to Apps, Echo Speaks Press the Gear icon in the Echo Speaks app Press the button at the top of the page "Export/Import/Clone" Press "Export Echo Speaks" and save the json file Open the json file in a file editor and search for @herokuName@. Replace append the identifier to the value (i.e. change "echo-speaks-esidentifier" to "echo-speaks-esidentifier-20e376dff6x9". Save the file On the same page in Hubitat, click the "Choose File" to import the file as a new app. Give it a name like "Echo Speaks Modified" Go to Apps in Hubitat, find the original Echo Speaks app and disable it.

Of course we really shouldn't have to import a new app, but I couldn't find a way to change the @herokuName@ setting in the app. I guess suggested changes to Echo Speaks would be:

  1. Extract the correct url from heroku while building the heroku app
  2. Allow the user to enter the heroku app url (not really needed, but nice to have).
xplane2165 commented 7 months ago

I avoid the Heroku nightmare like I avoid COVID. Sent from my iPhoneOn Dec 6, 2023, at 11:04 AM, Anil @.> wrote: I tried to setup Echo Speaks with a clean install and had the same issue. The root problem is that the Heroku url has changed. In June Heroku started adding a random identifier to subdomains (see here so while Echo Speaks expects Heroku's url to be echo-speaks-esidentifier.herokuapp.com it is actually echo-speaks-esidentifier-20e376dff6x9.herokuapp.com I hacked a fix just to confirm and get things working for me. Here's what you can do: Change your Heroku settings Go to the /settings page In the Config Vars section press the "Reveal Config Vars" button Change the hostUrl value to include the heroku identifier (so it should be something like echo-speaks-esidentifier-20e376dff6x9.herokuapp.com) I believe this is enough to get you going. The only thing that doesn't work at this point is that the Echo Speaks app cannot open the Heroku app. I don't think it needs to do this, but it's practical if you're in the apps settings and want quick access. If you want to hack around this you can try: Repalce the Echo Speaks App In Hubitat, got to Apps, Echo Speaks Press the Gear icon in the Echo Speaks app Press the button at the top of the page "Export/Import/Clone" Press "Export Echo Speaks" and save the json file Open the json file in a file editor and search for @@. Replace append the identifier to the value (i.e. change "echo-speaks-esidentifier" to "echo-speaks-esidentifier-20e376dff6x9". Save the file On the same page in Hubitat, click the "Choose File" to import the file as a new app. Give it a name like "Echo Speaks Modified" Go to Apps in Hubitat, find the original Echo Speaks app and disable it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>