With Amazon only supporting a few countries with Alexa, being the UK, Germany and the USA, you may get timeouts on the java app with an error of: java.util.concurrent.TimeoutException It’s a pain when this happens as you have to login with VNC and click the OK button to reset the application. To help prevent it, you can alter the timeout threshold in the java file located at: /home/pi/Desktop/alexa-avs-sample-app/samples/javaclient/src/main/java/com/amazon/alexa/avs/http/AVSClient.java#L69 You can edit this with: sudo nano /home/pi/Desktop/alexa-avs-sample-app/samples/javaclient/src/main/java/com/amazon/alexa/avs/http/AVSClient.java You’re after line 69, it looks like this, alter the timeout as below: Restart your Alexa and job done!
This is the next post in my multipost of using a Raspberry-Pi 3 as the center of my Home Automation world. Firstly I set a Raspberry-Pi 3 up in headless mode, then installed Pi-Hole to block adverts at local DNS level, so saving you much needed bandwidth. Next, I installed Home-Assistant, and then Homebridge, which allowed me to use Siri to access my various bulbs in the house. Lastly I installed Amazon AVS but all it does is tell me the time, weather, flash forcast, todo lists etc. Here’s the previous posts: Part 1, Headless Pi Part 2, Pi-Hole, HomeAssistant, LimitlessLED Part 3, Homebridge, Siri, Apple Home Part 4, Alexa AVS on a Pi Config files Using IFTTT Now due to it’s limitation, I can’t simply say “Alexa, find my devices” to find the lights that I can control in my home. So I need IFTTT. If you’ve never used […]
Welcome to Part 4 of my multipart blog of setting up a Raspberry-Pi to be the center of your homeautomation world. To recap what I’ve done so far: Set the Pi in headless mode, ie it’s never going to be connected to a monitor Installed HomeAssistant so I can control lights in my apartment, set automation like lights on at sunset if i’m home. Installed Pi-Hole for network wide advert blocking. Setup Homebridge, to link HomeAssistant to Apple Home on my IOS devices, so Siri can control my lights, show me temperatures in the apartment etc. Here are the previous posts: Setting up a Raspberry-Pi, with Pi-Hole, Home-Assistant, Homebridge, Siri and Alexa. Part 1, Setting up a headless (monitorless) Pi http://www.pukit.com/2017/04/05/setting-up-a-raspberry-pi-with-pi-hole-home-assistant-homebridge-siri-and-alexa-part-2-installing-pi-hole-and-home-assistant-using-limitless-led-lamps/ http://www.pukit.com/2017/04/07/setting-up-a-raspberry-pi-with-pi-hole-home-assistant-homebridge-siri-and-alexa-part-3-installing-homebridge-and-using-siri-and-apple-home/ And now for making my Pi into a cheap Amazon Echo. Now know from the outset, that a RaspberryPi with Alexa cant do all the things an Echo […]