[RELEASE] Echo Speaks V4

While it is waiting for the OTP, the screen flashes like it is reloading. I try to get the OTP in more quickly, but it flashes and clears the field. Then I enter the OTP and get that message.

As I said, I feel like I did something wrong with the install. I just don't know what.

Try doing it in an inCognito/inPrivate browser, maybe you have an extension that is messing with that page causing it to refresh. Mine did not refresh as you describe.

Thanks so much for your quick responses. I figured it out. You actually have to have OTP turned on. The one-time OTP that Amazon sends when you log in from a new location does not work.

That might have something to do with another thing I was investigating, the library being used has had a few updates to adjust things for changes from Amazon. Possibly some new login methods that the old library is not handling. Unfortunately it is not as easy as dropping in the new library file to update it.

1 Like

Let me know if you need any testing.

Basically, if I can do it, you will then know that a monkey will also be able to do it :stuck_out_tongue:

1 Like

@junk2 Deploy :monkey_face: :monkey: for testing. I posted a guide on a separate post.
This includes a code patch for the app on HE so you can set the correct server URL.

@tonesto7 @john022662k @Kvothe

@marcusvrsilva Okay, in regards to the problems with the ES dashboard tile - this post is 5 days old, but I ran into the same issue today. Updating the hub to v2.3.6 breaks the tile because of the UI changes in that release. @thebearmay seems to have fixed it. Try updating to his latest driver. That fixed the problems for me.

I see the issue with the Heroku hostname and will get a fix out for it asap

2 Likes

:+1: I tried and tried to figure out a quick fix to patch on the server but could not track anything down. You may already know all this but this is what I found out digging into it last week. I think you will have to get the server to properly detect and use the new host url first. I found that it is actually trying to do this but the proxy stays running and I could not figure out how to make it actually restart with the new host url setting. I had the new url saved to a variable, was able to display it, but the proxy service would hang onto the old one no matter what I tried. If I restart the dyno then the updated url I had saved is lost and it starts the proxy with the wrong url again. Once that's working, the new URL needs to get passed back to the Hubitat app and saved similar to how it works for a local server.

I appreciate you looking into this... I just haven't had the mental energy lately after all the stuff I do at work...

I have an idea on how to handle the new name convention automatically, but it might take some time to implement. I will try my best to get something done about it tonight/tomorrow :expressionless:

2 Likes

@tonesto7 : Thanks so much for working this. My Echo Speaks is functional after help from @jtp10181. He has also posted a change to the Echo Speaks Code.... should I do that or wait for your updates and then install via HPM?

1 Like

Thanks a lot for the tip @WindowWasher, but the problem was between the keyboard and the chair: it was me! :grin:

I made a mistake when editing the code, but @thebearmay helped me pointing the solution.

Thanks anyway!

2 Likes

I must be missing a step or something. When I try the 'Amazon Login Page' all I get is this 'Nothing here yet' page. The Echo Speaks docs seem to be outdated. Any ideas?

Workaround until the dev figures out a fix:
-- Echo Speaks - Heroku new deployment workarounds

2 Likes

@bptworld: I'm using the Work around developed by @jtp10181 and it's working flawlessly.

Good morning friends, the same thing happens to me, the cookies appear like this but my data works fine, is there something I should worry about?

Essentially, yes.

That means your Echo Speaks instance in not able to refresh the cookie. How long it will continue to work for you is an unknown. You need to get your local ES server or Heroku ES server working.

I am paying 5 euros for the Heroku service, which I don't understand because the cookies are not updated, I just realized now.

@diegodelprat : Heroku is no longer a free service. It is used by Echo Speaks to host a routine that allows update of the Amazon Cookie. Along with that, there are naming convention changes that @tonesto7 is working to get into the Official Code and placed into HPM.

I'm using the Heroku paid service and @jtp10181 has worked a ton to develop work arounds so that Heroku can be used while the main code is getting sorted out.

There is another route to set up a server of your own. I chose not to use that route as my coding/programming skills are non-existent.

My Echo Speaks was working fine but the Cookie refresh was 275 days old and Hubitat was gettng errors from the Echo Speaks App every 15 minutes. I chose to pay the fee and install the Work Around.

At the moment, since my echo works well for me, I will leave everything as it is, when it fails one day I will do the solution, since I am lazy I have to delete everything and recreate my routines with the echoes from Hubitat, etc.