[RELEASE] Echo Speaks V4

Okay so I have the server code and a functioning rPi. Is there anything special that needs to be done other than getting this running as a service?

You’ll want to run it through WSL. I haven’t personally done that, but it should be possible.

Thanks for that, I now have the server on my Desktop...

I got this far...

pi@raspberrypi:~ $ cd /home/pi/Desktop
pi@raspberrypi:~/Desktop $ cd echo-speaks-server
pi@raspberrypi:~/Desktop/echo-speaks-server $ sudo npm install
npm WARN http-proxy-middleware@2.0.6 requires a peer of @types/express@^4.17.13 but none is installed. You must install peer dependencies yourself.

audited 365 packages in 12.65s
found 0 vulnerabilities

I'm stuck getting the server up and running on the Pi, has anybody got any ideas what I'm missing please? Still can't access via http://RPI_IP_ADDRESS:8091...

The Pi is all up to date.

pi@raspberrypi:~/Desktop/echo-speaks-server $ git pull
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/tonesto7/echo-speaks-server
 * [new branch]      dependabot/npm_and_yarn/minimatch-3.1.2 -> origin/dependabot/npm_and_yarn/minimatch-3.1.2
Already up-to-date.
pi@raspberrypi:~/Desktop/echo-speaks-server $ sudo pm2 restart index
[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
[PM2] PM2 Successfully daemonized
Use --update-env to update environment variables
[PM2][ERROR] Process or Namespace index not found
pi@raspberrypi:~/Desktop/echo-speaks-server $

From express - npm, you need to do
sudo npm install express and then redo the sudo pm2 restart index You will probably find some additional npm packages to install - just google the name + 'npm' to find the npm doc page with the install instructions.

What is the expected behavior for mute and unmute? I have a rule that mutes it, sets a series of alarms using voice command as text, and unmutes it, so I don't wake up my partner with ALARM SET FOR X AM four times in a row. Weirdly mute really just lowers the volume to the lowest volume setting rather than actually silencing it

I’m glad you guys are sharing how to install the current server locally.
I need to be honest, I haven’t made it as far as I hoped on the new version.
Work and family have been dominating my time.
I’m not saying I won’t have a new version by the 28th,
But it’s possible it will only be in beta form on the 28th.
Once I'm ready for testers I will make a post here.
Anyone who knows me will tell how well I work under pressure!!!

34 Likes

There's no obligation here. Family and a job that pays the bills comes first. Full stop.

6 Likes

Everything else is more important; family, paying bills and your sanity. :crazy_face:

4 Likes

You’ve done so much for this community. Thanks again. We will be fine waiting for it to be ready. For me I’ve temporarily switched to using Sonos TTS which works fine but I like have all the bells and whistles of ES - worth waiting for.

2 Likes

Thanks for all your hard work on this.

Flightcontrol.dev may be an option. It says free for individuals. Heroku dx competitor

2 Likes

This sounds very interesting. It would be great if someone could post a step by step on how to configure the server at Flightcontrol!

1 Like

Family first for sure! Thank you for all you do for this community.

Thank you sir! In my case, I don't have anything critically using ES, so I just deleted and deleted the heroku app. Once the docker container is up and going, I'll recreate. =)

Take care, and happy holidays (soon)!

Thank you! The local server on raspberryPi is working perfectly.

I deleted my Heroku account and unsubscribed from all their emails to pay up!

Also deleted both our family Twitter accounts! Freedom from both platforms that are melting down!

2 Likes

Glad it worked for you. I have had it running on my Pi locally since I set it up with no issues.

1 Like

I re-read their payment agreement, and the $7 a month fee is the "max" they would charge if your app was running 24 hours a day 7 days a week. The actual charge is 1 penny per hour. Does this app count as continuously running? Or does it only run when the cookie needs updating? If the latter, then the total costs will be pennies a month, which to me means it isn't worth jumping through a lot of hoops to replace it. My guess is because it's a node app Heroku considers it as always running, looking for changes. Anyone know for sure? Here's the language we need to understand in their billing:

Heroku computes usage from wall-clock time, not CPU time. Any dynos scaled above 0 accrue usage, regardless of traffic or activity. Heroku prorates all costs to the second. You can scale down your dynos when they’re not in use.
For example, a Hobby dyno costs $7/month. Running 1 Hobby dyno costs roughly $0.01/hour. If you scaled your formation to 1 Hobby dyno starting on 2022-01-01 00:00:00 and scaled down to zero at 2022-01-01 02:00:00, it would cost you approximately $0.02 for those two hours.

2 Likes

Hi everyone!

Sorry to ask instead of reading all posts regarding this subject, but since there are a lot of posts, it's difficult to identify a solid and reliable solution for a Docker installation of ES4.

As the final days of the Heroku saga, I'd like to ask our fellow users if a Docker image is running ok and where can I get a reference to a Docker image at Docker hub?

Thanks in advance!

These instructions worked for me:

1 Like

interesting, if it is worth that price I would continue since, I do not have rpi or time to do the whole process, I was looking forward to another method, before using an rpi, but if it is for that price, I prefer to pay