Being able to design your own custom smart home device is a great way to both have fun experimenting with various hardware/software and to escape the walled IoT device ecosystems that so many users find themselves trapped within. One maker who goes by mrdesha came up with a smart heater solution that utilizes the new Arduino Oplà IoT Kit to provide voice functionality to their room heater.
In terms of hardware, mrdesha’s project is quite simple as it just needs a few parts to function. The main component is the MKR IoT Carrier board from the Oplà Kit, along with the MKR WiFi 1010 that fits into it. Because the Oplà has two relays onboard, a pair of buttons on the heater’s remote were connected to the common (COM) and normally closed (NC) terminals, allowing for a single GPIO pin to digitally “press” each button.
Over in the Arduino Cloud, three variables were created that control various aspects of the heater, including on/off, set high-power mode, and set low-power mode. These variables are also all compatible with the Alexa integration, meaning that a user can simply tell their smart home speaker to adjust the heater automatically.
There are dozens, if not hundreds of amazing Arduino Cloud features. So it’s perfectly understandable if you’ve missed some of them.
So we’ve put together a list of our favorite Arduino Cloud features that you might not know existed.
1) Auto-Generate Sketches
We’ve talked elsewhere about getting an understanding of what cloud computing really is, and how it’s not just the domain of experts. The cloud is how total beginners can get started much more easily. There’s no better demonstration of that than our first top Arduino Cloud feature; auto-generated sketches.
When you create a new “Thing” in your Arduino Cloud, you add various bits of info to it. Wi-Fi connection credentials, and any variables you want to control or monitor. The Cloud automatically generates a starting sketch from this info. That sketch can then be sent to your boards, so all your initial configuration is taken care of, without a single line of code.
2) Device-to-Device Communication
There’s simply no easier way to make two microcontroller boards talk to each other than Arduino Cloud. We’ve covered in detail how easy it is to wirelessly connect your boards.
This isn’t just for Arduino devices either. If you want any combination of Arduino, ESP32 and ESP8266 devices to work together, this is how you do it.
3) Over-the-Air Updates
Working through your Arduino Cloud means you don’t have to disconnect any Arduino boards when updating them. If you want to edit or add a new sketch, it can all be done wirelessly, over-the-air.
Anyone who’s had to dismantle a project or device to get to a board’s USB socket will appreciate the simple, vital value of this feature. It’s one of those things that you’ll wonder how you ever lived without.
4) Support for ESP Boards
There’s a reason we call it the Arduino IoT Cloud. This is an all-encompassing platform for Internet of things, home automation, and electronics project control and management. So first we added support for ESP8266 devices. More recently, experimental support for ESP32 boards became available.
So even if your project doesn’t actually have any Arduino products in there, the Cloud is just as useful. Secure, private, and accessible to all kinds of IoT and maker devices.
5) Trigger Actions on Cloud Events
Arduino Cloud makes it super easy to do things that you might normally need the IDE for. But it’s also got lots of exclusive features that you only get in the Cloud.
For example, there are actions that can be triggered based on your board’s interactions with your Arduino Cloud. You can include actions within your sketches when a Cloud connection is successful, and when the Cloud has synced with a device. Or perhaps most useful of all, trigger an action if Cloud connectivity is lost. Getting an indication that a project has disconnected could be incredibly useful!
Dashboards are control panels within your Arduino Cloud. It’s one of the most powerful Arduino Cloud features, and essential to making full use of Cloud control. But what’s often overlooked is that you can share dashboards with anyone you want.
For example, let’s say you’re using Arduino Cloud to control your home automation. You can set up a dashboard for a tablet in the living room that the whole family can use, but doesn’t have sensitive admin controls in there. And then another for people to use on their phones.
All Cloud plans include unlimited dashboards. And anyone can have a free Cloud account. So you can create as many dashboards as you like, and share them with literally anyone, anywhere.
7) Alexa Integration
Natural language voice control is genuine Star Trek stuff. So it’s no wonder people love the functionality of Alexa. Did you know it’s incredibly easy to connect your Arduino Cloud to Alexa? And once you have, it effectively adds voice control to every board, and every project. Nothing else needed.
There’s literally no easier way to make an Alexa-controlled device or project than with your Arduino Cloud. You’ll never look back, and you’ll always have someone to talk to.
For the engineers, coders, developers and those among you who’ve been using Arduino for a long time, API integration is the powerhouse secret feature you’ve been looking for.
The API can be called with any HTTP client, or with languages like Javascript, Python, Golang and more. It’s what you need to incorporate the power of Arduino Cloud features into your systems, platforms and projects.
9) Use IFTT, Zapier and More with Webhooks
There are lots of reasons you might want to include control platforms outside of your Arduino Cloud. Like sending an email or a Tweet when you press a button on a Nano, or a device disconnects from the Cloud (see above).
That’s what webhooks are for, and they give you a universal way to send commands out of Arduino Cloud, and into… well, anything!
IFTTT and Zapier are great examples of services that can do almost anything from a webhook. Get to know this feature, and connected projects suddenly have easy access to the whole web.
10) Easy Firmware Updates
When you connect a new Arduino board, your Arduino Cloud automatically checks its firmware version. If there’s an update available, it offers you the option of applying that update.
Very easy, and you don’t have to worry about finding the correct/latest firmware version yourself. This simple, background function makes sure your boards and projects always have the latest features, security updates and bug fixes.
For people who use a lot of Arduino devices, it’s worth adding them to the Cloud for this feature alone.
11) Full Dashboard Customization
We’ve already talked about unlimited dashboards in your Arduino Cloud. Creating them is easy, but did you know you can customize them too?
Anyone who’s dipped their toe in the home automation waters knows how essential dashboard editing is. Some platforms work great, but offer very little when it comes to controlling your dashboard layout. For many people, that’s a deal breaker.
Your Arduino Cloud widgets can easily be added, edited, removed, repositioned and resized in any configuration you want. It’s as simple as drawing and resizing boxes, but the result makes your Cloud projects infinitely more useable.
12) Watchdog Timer
The Arduino Cloud automatically runs a watchdog timer that will reset your board, hardware or project if it crashes. This is a small feature, but a powerful one that can keep your projects running while unattended.
It means you never have to manually reset it when you eventually realize it’s not been running all day. You can have devices running remotely (very remotely, with SIM or LoRa connectivity) and be sure they’re robust enough to keep on ticking.
It’s included and running automatically, but can easily be disabled if you don’t need it.
Arduino provides a super easy way to use Node-RED for IoT automations. This is a powerful, but very easy-to-use visual programming platform specifically designed for IoT projects.
Complex automations using advanced triggers like sunrise or sunset, presence detection, combined actions or sensor readings and so much more. The possibilities are endless, and learning Node-Red is incredibly easy. Get to grips with this feature, and you’ll be creating IoT automations that would otherwise need an experienced coder.
13A) Fully Functional Free Account
One of the best kept secrets of the Arduino Cloud is that if you’re registered on the Arduino website or forum, you already have a free Cloud waiting for you. Simply head on over to the Cloud site and get started with unlimited dashboards and unlimited sketches. The free tier of Arduino Cloud is fully functional, and it’s ready and waiting for you to give it a try.
In fact, it’s the perfect option especially if you haven’t used Arduino before! Give it a shot and let us know what you think. No credit card required; just your creativity and a passion for connected projects.
Remote working with Arduino: Alexa and the Arduino IoT Cloud
Arduino Team — May 13th, 2020
We’ll certainly remember this year, with many of us learning how to adapt and live a safe life-style under the pandemic. As many countries begin to initiate a relaxation of restrictions and we are starting to be able to leave our houses, arrange shifts to get into work (still observing safety measures), we might find ourselves with different needs.
Perhaps we got used to having the TV on more often than usual, letting the voices of shows we don’t really watch keep us company in the background while home alone… working. Maybe we just like to have a corner light up with colors which soothe our moods, or give a fancy background tint to a remote disco party as we dress with big shades and wigs.
Many of these things can easily be automated using Alexa and Arduino IoT Cloud, so when we (finally) leave the house and are not sure if the TV is still on, or if our living room corner is still purple! we can simply ask “Alexa, turn the TV off” or “Alexa, turn the living room off” and a series of smart devices and software will take care of it for us.
Let’s give it a shot…
Getting the Alexa skill: Learn how to use Arduino IoT Cloud and Amazon Alexa to interact with your sensors.
Durch ein Softwareupdate werden die Sprachbefehle für Amazon Alexa über die Logitech Harmony-Fernbedienung intuitiver und natürlicher
Dank eines Softwareupdates des Logitech Harmony Skills für Amazon Alexa werden Sprachbefehle künftig noch einfacher. Nutzer müssen beispielsweise nicht mehr „Alexa, schalte den Fernseher ein mit Harmony“ sagen, wenn sie eine Logitech Harmony Hub-basierte Fernbedienung zur Steuerung ihrer Alexa-fähigen Geräte mit ihrer Stimme verwenden. Mit dem neuen Harmony Smart Home Skill kann der Zusatz „mit Harmony“ künftig weggelassen werden und Alexa versteht den Befehl trotzdem.
Auch Folgebefehle mit Kontextbezug sind durch das kostenlose Softwareupdate möglich. Nachdem sie beispielsweise ihren Smart TV mit der Logitech Harmony und ihrer Stimme gestartet haben, können Anwender mit einfachen Befehlen fortfahren wie „Alexa, mach lauter“ oder “Alexa, schalte auf Kanal 3“.
Das kostenlose Softwareupdate optimiert die Kommunikation über den Sprachassistenten von Amazon mit der Logitech Harmony Fernbedienung und ermöglicht es Nutzern und allen Familienmitgliedern, ihr Heimkino und ihre Unterhaltungsmedien mit intuitiveren Sprachbefehlen zu steuern.
Ab dem 12. Juni können Logitech Harmony-Besitzer den neuen Harmony Smart Home Skill im Amazon Alexa App Store aktivieren. Der neue Skill wird unter der Bezeichnung „Harmony“ mit einem blauen Logo zu finden sein. Der bisherige Skill wird in „Harmony-Zweites Hub“ umbenannt. Logitech empfiehlt seinen Kunden, immer die aktuellste Software-Version zu nutzen und den neuen Harmony Smart Home Skill zu aktivieren. Für weitere Informationen besuchen Sie www.myharmony.com/de-de
As more and more digital home assistants are appearing on the consumer market, it’s not uncommon to see the towering Amazon Echo or sleek Google Home when visiting friends or family. But we, the maker community, are rarely happy unless our tech stands out from the rest. So without further ado, here’s a roundup of some fantastic retrofitted home assistant projects you can recreate and give pride of place in your kitchen, on your bookshelf, or wherever else you’d like to talk to your virtual, disembodied PA.
Turned an 80s Tomy Mr Money into a little Google AIY / Raspberry Pi based assistant.
Matt ‘Circuitbeard’ Brailsford’s Tomy Mr Money Google AIY Assistant is just one of many home-brew home assistants makers have built since the release of APIs for Amazon Alexa and Google Home. Here are some more…
Teddy Ruxpin
Oh Teddy, how exciting and mysterious you were when I unwrapped you back in the mideighties. With your awkwardly moving lips and twitching eyelids, you were the cream of the crop of robotic toys! How was I to know that during my thirties, you would become augmented with home assistant software and suddenly instil within me a fear unlike any I’d felt before? (Save for my lifelong horror of ET…)
Please watch: “DIY Fidget LED Display – Part 1” https://www.youtube.com/watch?v=FAZIc82Duzk -~-~~-~~~-~~-~- There are tons of virtual assistants out on the market: Siri, Ok Google, Alexa, etc. I had this crazy idea…what if I made the virtual assistant real…kinda. I decided to take an old animatronic teddy bear and hack it so that it ran Amazon Alexa.
Several makers around the world have performed surgery on Teddy to install a Raspberry Pi within his stomach and integrate him with Amazon Alexa Voice or Google’s AIY Projects Voice kit. And because these makers are talented, they’ve also managed to hijack Teddy’s wiring to make his lips move in time with his responses to your commands. Freaky…
Speaking of freaky: check out Zack’s Furlexa — an Amazon Alexa Furby that will haunt your nightmares.
Give old tech new life
Devices that were the height of technology when you purchased them may now be languishing in your attic collecting dust. With new and improved versions of gadgets and gizmos being released almost constantly, it is likely that your household harbours a spare whosit or whatsit which you can dismantle and give a new Raspberry Pi heart and purpose.
Take, for example, Martin Mander’s Google Pi intercom. By gutting and thoroughly cleaning a vintage intercom, Martin fashioned a suitable housing the Google AIY Projects Voice kit to create a new home assistant for his house:
This is a 1986 Radio Shack Intercom that I’ve converted into a Google Home style device using a Raspberry Pi and the Google AIY (Artificial Intelligence Yourself) kit that came free with the MagPi magazine (issue 57). It uses the Google Assistant to answer questions and perform actions, using IFTTT to integrate with smart home accessories and other web services.
Not only does this build look fantastic, it’s also a great conversation starter for any visitors who had a similar device during the eighties.
…and then I’ll put that box inside of another box, and then I’ll mail that box to myself, and when it arrives…
A GIF. A harmless, little GIF…and proof of the comms team’s obsession with The Emperor’s New Groove.
You don’t have to be fancy when it comes to housing your home assistant. And often, especially if you’re working with the smaller people in your household, the results of a simple homespun approach are just as delightful.
Here are Hannah and her dad Tom, explaining how they built a home assistant together and fit it inside an old cigar box:
My 7 year old daughter and I decided to play around with the Raspberry Pi and build ourselves an Amazon Echo (Alexa). The video tells you about what we did and the links below will take you to all the sites we used to get this up and running.
And now it’s your turn! I challenge you all (and also myself) to create a home assistant using the Raspberry Pi. Whether you decide to fit Amazon Alexa inside an old shoebox or Google Home inside your sister’s Barbie, I’d love to see what you create using the free home assistant software available online.
Check out these otherhomeassistants for Raspberry Pi, and keep an eye on our blog to see what I manage to create as part of the challenge.
Before you get started, let’s review what you’ll need.
Raspberry Pi 3 (Recommended) or Pi 2 Model B (Supported) – Buy at Amazon – Pi 3 or Pi 2.
Micro-USB power cable for Raspberry Pi.
Micro SD Card (Minimum 8 GB) – You need an operating system to get started. NOOBS (New Out of the Box Software) is an easy-to-use operating system install manager for Raspberry Pi. The simplest way to get NOOBS is to buy an SD card with NOOBS pre-installed – Raspberry Pi 8GB Preloaded (NOOBS) Micro SD Card. Alternatively, you can download and install it on your SD card (follow instructions here).
USB 2.0 Mini Microphone – Raspberry Pi does not have a built-in microphone; to interact with Alexa you’ll need an external one to plug in – Buy on Amazon
External Speaker with 3.5mm audio cable – Buy on Amazon
A USB Keyboard & Mouse, and an external HDMI Monitor – we also recommend having a USB keyboard and mouse as well as an HDMI monitor handy if you’re unable to remote(SSH) into your Pi.
Internet connection (Ethernet or WiFi)
(Optional) WiFi Wireless Adapter for Pi 2 (Buy on Amazon). Note: Pi 3 has built-in WiFi.
For extra credit, we’ll show you how to remote(SSH) into your device, eliminating the need for a monitor, keyboard and mouse – and how to tail logs for troubleshooting.
Let’s get started
The original Alexa on a Pi project required manual download of libraries/dependencies and updating a series of configuration files that were prone to human error. To make the process faster and easier, we’ve included an install script with the project that will take care of all the heavy lifting. Not only does this reduce setup time to less than an hour on a Raspberry Pi 3, it only requires developers to adjust three variables in a single install script –
Step 1: Setting up your Pi
Unless you already have Raspbian Jessie installed on your Pi, please follow our guide – Setting up the Raspberry Pi – that will walk you through downloading and installing Raspbian Jessie, and connecting the hardware (if you’re unfamiliar with Raspberry Pi, we highly recommend you follow the guide above to get your Pi up and ready before moving further).
Step 2: Register for an Amazon developer account
Unless you already have one, go ahead and create a free developer account at developer.amazon.com. You should review the AVS Terms and Agreementshere.
Step 3: Create a device and security profile
Follow the steps here to register your product and create a security profile.
Make note of the following parameters. You’ll need these in Step 5 below.
ProductID (also known as Device Type ID),
ClientID, and
ClientSecret
Important: Make sure your Allowed Origins and Allowed Return URLs are set under Security Profile > Web Settings (see Create a device and security profile):
cd Desktop
git clone https://github.com/alexa/alexa-avs-sample-app.git
Step 5: Update the install script with your credentials
Before you run the install script, you need to update the script with the credentials that you got in step 3 – ProductID, ClientID, ClientSecret. Type the following in terminal:
cd ~/Desktop/alexa-avs-sample-app
nano automated_install.sh
Paste the values for ProductID, ClientID, and ClientSecret that you got from Step 3 above.
Let’s walk through the next few steps relevant to Window 2.
When you run the client, a window should pop up with a message that says –Please register your device by visiting the following URL in a web browser and following the instructions: https://localhost:3000/provision/d340f629bd685deeff28a917. Would you like to open the URL automatically in your default browser?
Click on „Yes“ to open the URL in your default browser.
If you’re running Raspbian Jessie with Pixel desktop (and with Chromium browser), you may get a warning from the browser. You can get around it by clicking on Advanced -> Proceed to localhost(unsafe).
You’ll be taken to a Login with Amazon web page. Enter your Amazon credentials.
You’ll be taken to a Dev Authorization page, confirming that you’d like your device to access the Security Profile created earlier.Click Okay.
You will now be redirected to a URL beginning with https://localhost:3000/authresponsefollowed by a query string. The body of the web page will say device tokens ready.
Return to the Java application and click the OK button. The client is now ready to accept Alexa requests.
Terminal Window 3
Note:Skip this step to run the same app without a wake word engine.
This project supports two third-party wake word engines: Sensory’s TrulyHandsFree and KITT.AI’s Snowboy. The -e parameter is used to select the agent and supports two values for {{engine}}: kitt_ai and sensory.
Open a new terminal window and use the following commands to bring up a wake word engine from Sensory or KITT.AI. The wake word engine will allow you to initiate interactions using the phrase „Alexa“.
To use the Sensory wake word engine, type –
cd ~/Desktop/alexa-avs-sample-app/samples
cd wakeWordAgent/src && ./wakeWordAgent -e sensory
or, type this to use KITT.AI’s wake word engine –
cd ~/Desktop/alexa-avs-sample-app/samples
cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai
Now you have a working hands-free AVS prototype!
Use the following resources to learn more about available wake word engines:
You can now talk to Alexa by simply using the wake word „Alexa“. Try the following –
Say „Alexa“, then wait for the beep. Now say „what’s the time?“
Say „Alexa“, then wait for the beep. Now say „what’s the weather in Seattle?“
If you prefer, you can also click on the „Listen“ button, instead of using the wake word. Click the „Listen“ button and wait for the audio cue before beginning to speak. It may take a second or two before you hear the audio cue.
Um dir ein optimales Erlebnis zu bieten, verwenden wir Technologien wie Cookies, um Geräteinformationen zu speichern und/oder darauf zuzugreifen. Wenn du diesen Technologien zustimmst, können wir Daten wie das Surfverhalten oder eindeutige IDs auf dieser Website verarbeiten. Wenn du deine Einwillligung nicht erteilst oder zurückziehst, können bestimmte Merkmale und Funktionen beeinträchtigt werden.
Funktional
Immer aktiv
Die technische Speicherung oder der Zugang ist unbedingt erforderlich für den rechtmäßigen Zweck, die Nutzung eines bestimmten Dienstes zu ermöglichen, der vom Teilnehmer oder Nutzer ausdrücklich gewünscht wird, oder für den alleinigen Zweck, die Übertragung einer Nachricht über ein elektronisches Kommunikationsnetz durchzuführen.
Vorlieben
Die technische Speicherung oder der Zugriff ist für den rechtmäßigen Zweck der Speicherung von Präferenzen erforderlich, die nicht vom Abonnenten oder Benutzer angefordert wurden.
Statistiken
Die technische Speicherung oder der Zugriff, der ausschließlich zu statistischen Zwecken erfolgt.Die technische Speicherung oder der Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Zustimmung deines Internetdienstanbieters oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen allein in der Regel nicht dazu verwendet werden, dich zu identifizieren.
Marketing
Die technische Speicherung oder der Zugriff ist erforderlich, um Nutzerprofile zu erstellen, um Werbung zu versenden oder um den Nutzer auf einer Website oder über mehrere Websites hinweg zu ähnlichen Marketingzwecken zu verfolgen.