We manage hundreds of different smart home devices with voice and text from a smartphone. Alexa Echo in messenger

Published on October 17, 2018

We manage hundreds of different smart home devices with voice and text from a smartphone. Alexa Echo in messenger



    The number of smart home devices is growing every day.
    More and more manufacturers are starting to release their devices.
    All this is wonderful, but at the same time there is one problem - software for managing such devices.

    Imagine buying TP Link smart outlets, a switch from Sonoff, iRobot Roomba smart vacuum cleaner, Philips Hue smart light bulbs, Smarter smart coffee maker, Kenmore air conditioner, smart locks, smart garage doors, etc.

    This means that to manage each device you need to install your application.
    If you have 20 smart devices from different manufacturers, then you need to install 20 different applications!

    How to manage with such a zoo Internet of Things?


    In general, if you look at the emergence of such a large number of clever things, you can see that all of them did not appear by themselves, but as a result of the appearance of voice assistants, which are the forming center of IoT control.
    And number one here, without a doubt, is Alexa Echo.
    Exceptionally thanks to this column and inexpensive smart sockets, lamps, refrigerators, etc. appeared as mushrooms.
    At the very beginning, even Google on its website had a description of how to manage devices from its Assistant via Amazon's Alex.

    But in order to manage different devices, you need to buy Alexa Echo, and we do not want to spend money.

    And then our application can come to the rescue - M1 Messenger .

    In addition to managing voice commands, as in Alexa Echo, we made it possible to send text messages to devices (for example, if you need to keep quiet), as well as to make pre-configured buttons with specific commands, to call them only on tapu from the screen.

    So, a small tutorial on how to manage different devices, different vendors, through one application - M1 Messenger .

    If you are going to buy any smart device for home on Aliexpress, then just look in the description of any device for the phrase - works with Alexa.

    If you plan to make a purchase in the store, then pay attention - not all sellers know that this or that device can work with Alexa - in this case you need to google this opportunity.

    Consider the step-by-step process of connection and configuration on the example of a Wi-Fi socket TP Link HS100.

    1. Configure the TP Link HS100 smart socket

    image

    There is nothing complicated here - download the Kasa application, register and follow the instructions.

    The most important thing - remember the login-password for this application - it will be needed in the future.

    2. Download and install M1 Messenger

    Also nothing complicated - download, register (without a phone number), then click the icon with the letter “a” - launch Alexa Echo in the messenger:

    image

    After the very first click on the icon “a”, the application will open a page on
    Amazon website with a suggestion or enter an existing login / password, or register an account:

    image

    Enter the existing data or register and then you need to allow access to the application to the Alexa Voice Service:

    image

    After that, the screen with Alexa in the messenger opens and you can already communicate with the voice assistant from Amazon with voice or text:

    image

    3. Bind the smart socket to your account in Alexa Alexa

    Now we need Attach the smart socket to Alexa and assign an activation word to it, for example, Kitchen.

    To do this, go to alexa.amazon.com.

    Here there are several life hacking.

    Firstly, if you are in a country where Alexa Echo is not sold officially, then do not open this page on your mobile device - you will be transferred to the mobile store where you will be offered to download the application, but you will not be able to download the application - it will not be available in your country .

    Therefore, open this page on the desktop.

    Secondly, if you didn’t do point 2, that is, you didn’t download or install the M1 Messenger application, even if you have an account on Amazon, you will

    image

    see this page: This is not what we need - since there is the ability to configure only official products from Amazon, and we do not want to buy Echo.

    Only after installing M1 Messenger, you will get this page:

    image

    Thus, if you see the phrase:

    Welcome!

    Amazon is one of the Mobile One Alexa Service.


    That means you did everything right and you can attach smart devices.

    Go to the section Skills.
    In the search we type the name of the device vendor - in our case it is TP Link Kasa:

    image

    Select the appropriate item and get into the section with the activation of this skill:

    image

    Click Enable and get to the next window (note that the opening will take place in a new window and you need to allow pop-ups to be shown if you have a blocker):

    image

    This is where you will need to enter a login / password , which you got as a result of setting up your Wi-Fi outlet in step 1.

    If you have entered the correct data, the confirmation page will open:

    image

    Next, go to the Smart Home section and start detecting devices (the socket must be plugged in at that time):

    image

    Then the page with the device name that you specified when registering the Wi-Fi outlet in Kasa will open :

    image

    Then go to the configuration of Smart Home:

    image

    We go in the Groups and prescribe an outlet called for example Kitchen:

    image

    Now, if you say to the messenger Turn kitchen On or Switch kitchen off,
    then your outlet will turn on / off.

    It should be noted that this is a general principle of attaching smart things to Alexa Echo - whether it is a smart socket, a watering system or a car - you will need to do the exact same steps.

    We can also not only say, but also write Turn kitchen On or Switch kitchen off and also your outlet will work.

    4. Programming of virtual buttons

    To program virtual buttons, you need to click on the icon of the control panel:



    Next, a field will appear to which you can enter any command:



    After saving, virtual buttons will appear, according to which your devices can execute frequently called commands:



    At any time, you can either edit such buttons or delete and create new ones.