Automatic execution of scenarios when approaching the house

    A smart home can independently turn on the lighting of the courtyard and the facade of the house when you drive up to it at night. Of course, other scenarios can be executed, but in this article we will look at an example with lighting.

    We will need the SE 6i5o Light lighting control module, the AlphaSE Hub2 Internet gateway, and a smartphone.

    First of all, go to your personal account on the website alice.smart-elec.ru and go to the devices of the hub.


    Next, go to the "Automation" section.




    Click the "Add" button and create a script with all the actions that will need to be performed when approaching the house. In our case, we will turn on the front lighting and open the shutters.


    After saving the script, we get a link to activate it. To do this, in the "Automation" section, click the "Get link" button next to the required script.


    There is very little left — to make the phone open this link when approaching the house. On Android devices (using Samsung in our example), go to Settings ->Modes and Scenarios and add a new one.


    We select the condition for running this scenario by selecting the geo-position of the house on the map.


    We set the trigger radius and tick the box "After arrival". 


    Click "OK". 

    Setting up the "Then" section. We search for the item "Functions" → "Go to the website" and insert the link received on the website alice.smart-elec.ru .


    Click "Done" and "Save". 


    Now, every time the phone gets closer to home, it will run the script we configured.

    If the script needs to be executed only when no one is at home and after sunset, then the setup will be a little more complicated. In addition, you will need the SEQUENTATUS module.

   After creating the "Coming up" script, you need to create an "Internet request". Unlike a script, you can add additional conditions to it for execution.

   In the Internet request, we will execute the "Fit" script under two additional conditions. First, the SE HomeStatus module is in the "No one at home" state (the Point4 output of the SE HomeStatus module with address 41 is turned off). Secondly, the current time is longer than the sunset time and shorter than the sunrise time.


   After creating an Internet request, we receive a link to its execution by specifying it in the phone settings according to the instructions given above.

   Congratulations! The setup is complete.