Linux: Installing echo-speaks-server without Docker
You need Node.js and npm installed first (this may vary depending on your OS):
sudo apt install nodejs
sudo apt install npm
Install and Run the Server:
Log in with the user who will run the server (does not need to be root).
Change to directory you wish to run the server from (can be home folder, subfolders will be created).
sudo npm install -g pm2
npm i https://github.com/tonesto7/echo-speaks-server
cd node_modules/echo-speaks-server
pm2 -n echo-speaks start index.js
pm2 startup
pm2 save
pm2 list
Complete the setup through the Echo Speaks app on Hubitat!
If your server is not detecting the correct IP address. You can manually set it to the LAN IP of the host machine this server is running on with the command below. You only need to run this once.
ipAddress=192.168.X.X pm2 restart echo-speaks --update-env
If you need to change the Amazon domain or Locale use these commands
(adjust the domain/locale as needed)
amazonDomain=amazon.com pm2 restart echo-speaks --update-env
regionLocale=en-US pm2 restart echo-speaks --update-env
Links to Other Helpful Posts
Other Helpful Guides
Docker on Synology: [GUIDE] Synology docker for echo-speaks-server ( echo-speaks)
Directly on Node.js Linux without Docker, should work for RPi: [RELEASE] Echo Speaks V4 - #629 by user2305
How to manually specify ipAddress when NOT using Docker: [RELEASE] Echo Speaks V4 - #1229 by jtp10181
Other Posts with Tips
Setup using Portainer without Stacks config: [RELEASE] Echo Speaks V4 - #1286 by dJOS