The difference between automation control (Automation) and situation control (Scene). Why is automation control the last mile of smart homes? Give you two use cases of Dankeju – Smart Home EP 3

exist Smart Home Smart Home EP 1 There are three major milestones in smart homes mentioned, the last of which is "Automation". So what is the difference between "automation" and "situational" control? Why is "automation" the ultimate goal of smart homes?

Let’s first understand what “situation control (Scene)” is

Scene control (Scene) is a method of linking multiple devices, which is called "scene" in some places.

Different situations can be set according to different family needs. You can imagine it as a "continuous skill" (just like playing a fast tornado 😂). Pressing a button can complete all the operations you want to complete in this situation. Here are a few common context setting examples:

  • Sleeping Situation: Turn off all lights and appliances, and set the air conditioner, dehumidifier or humidifier (some people may also want to turn on white noise).
  • Movie situation: adjust the light brightness, sound volume, and turn on the TV overflow light bar.
  • Situation away from home: Turn off all electrical appliances and lights, turn off the air conditioner, and turn on the monitor.

Sounds great already, right? Then let’s take a look at how “Automation” becomes more and more lazy!

"Automation" for smart homes

"Automation" is like an evolved version of situational control and is the ultimate form of smart home.

"Situation control" still needs to rely on "human" judgment. For example, when leaving home, you need to manually activate the "leaving home situation", usually through a smart home APP (Homekit, Home Assistant...) or voice control on your mobile phone. (Google assistant, Siri...), but this is still too much trouble, right? Is it possible to truly free your hands? Able to do everything completely hands-free? no problem! At this time, "automation control (Automation)" is needed!

How to set up "Automation"?

The most important role in achieving automated control is the "sensor". We will need to monitor or listen through the sensor (this does not refer to the real monitoring and monitoring like a private detective, but For example, you can see the indoor temperature on the air conditioner remote control🤣) various events that occur in family life.

Whether you use Home Assistant or Homekit like me, you can use similar settings to achieve automated control, but unfortunately, Google Home does not currently support sensor automation settings.

Next, let’s take a look at the automated controls currently in use in the two Eggshell Houses!

Taking "leaving home automation" as an example, what should be used to let the smart home system know that a member of the family has left home? Our home uses the Home Assistant APP's GPS to determine that when there are no family members within a 500-meter radius of the home, home automation will be activated. At this time, all lights, air conditioners, and other unnecessary appliances will be turned off.

離家自動化流程圖
Home automation flow chart

Taking "turn on the lights to welcome you home" as an example, I used a "door and window sensor" installed on the door, and a "human body sensor" installed in the living room facing the balcony to monitor the intensity of outdoor light. The setting of the automatic control is: when the "door and window sensor" senses that the door is open, check the "human body sensor" in the living room to monitor whether the outdoor light is too dark. If it is too dark, turn on the entrance light. In this way, when you return home at night When you get home, you will feel like someone has turned on the light to greet you, and you no longer have to turn on the light in the dark!

回家開燈迎接流程圖
Turn on the lights to welcome home flow chart

The above briefly introduces two automation control (Automation) setting cases actually used in Danke House. I hope it will be helpful to you in building a smart home!

Take away

Automation is the use of various sensors to replace human judgment and operation, and make different matching applications in response to different environments. The difference between automation control (Automation) and situation control (Scene) is that it is no longer necessary to manually trigger various situation modes. Instead, various sensors are used to monitor environmental changes for automatic triggering.

If you are also building or preparing to build a smart home system, you need to start observing the living habits of your family members to think about how to design your own automated control, replacing the normal steps of human judgment and operation by family members with appropriate ones. The sensor finally achieves the goal of "Set it, and forgot it!"! 😎

13 COMMENTS

  1. Hi Neil,
    I would like to ask about the GPS judgment when leaving home. Is your measurement stable now? And how do you check that the lights and air conditioners are turned off after leaving home? (Do you need to apply for a fixed IP to expose the HA to the Internet?)
    I'm thinking about getting a wireless switch, pressing One Touch before going out, and turning off those smart devices (air conditioner + light bulb + lights). GPS automation still makes me worry about whether Automation will be successful XD
    Thank you for your continued sharing^_^

    • Hi Aaron,
      It's quite stable. In the previous version of Android, positioning drift would occasionally occur, causing people to turn off the lights at home. However, after a certain version was updated, it has been performing perfectly for nearly half a year. I have subscribed to the HA Cloud service, and people can still see it outside. It operates through the HA APP, so you can also see the status of each device in your home. Some people don’t want to spend money on subscriptions and will get their own DNS and SSL, so they can check the status of their home devices from outside.

      If you don't want to do either HA Cloud or DNS yourself, you can also look at the device's history and compare the time you left and returned home to see if the automation is controlling the device correctly.

  2. Hello neil, I would like to ask you how to avoid pets accidentally triggering automation?
    For example, I want to automate lighting fixtures in the living room and turn on the lights when people are present and the outdoor brightness is lower than the set value. However, the human presence sensor seems to detect pets.
    thank you

    • Hi Paul, it is currently impossible to exclude pets simply by relying on human body sensors or human presence sensors. It may be possible to use a monitor to make visual judgments, but the cost is too high and I have not tried it myself.
      However, you can try adjusting the angle of the sensor a little higher so that the sensor cannot see the lower areas, which may improve things a bit.

  3. Thanks for sharing~ The implementation part of Knocking Bowl HA~~ At present, the new home has finally entered the decoration stage, and it is also planned to set up HA. I look forward to seeing more teaching articles~~

  4. Really practical automated control. Can you share how you structured your HA step by step in the future? Thank you.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

you might like
recent discussions
  • Jerry 2025/04/14Thank you very much Neil for your selfless sharing. The websites you provided are of great help to me. I will save it first and digest it slowly^^ I also look forward to Neil's industry news and teaching articles in the futureHome Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Neil 2025/04/13Hi Jerry, I usually get information about HA from these places: Website: – Home Assistant official Release notes – Automata – Home Automation Community – Weijia Home Intelligence FB Group: – Taiwan Home Assistant enthusiasts exchange – Home Assistant YouTube channel: – Smart Home Solver – Everything Smart Home – Home Assistant Programming language: Strictly speaking, YAML is not really a programming language (let me make this clear in case some people mind 🤣), but if we include these data formats or style languages that “look like” programming languages, and sort them by depth of use in HA (the deeper the bottom, the deeper the bottom): – YAML (data format): a language for configuration files used in many places in the HA environment. – CSS (style language): used to adjust the interface style (font size, color, image, position, etc.). – JSON (data format): If you use Node-RED, you will probably come across it. – Jinja2 (Python template syntax): You may encounter it when you explore automation or Dashboard in depth. ※ But in fact, even if HA does not know the above, it can still make a smart home complete. You don’t have to put so much pressure on yourself, but if you are interested, it is also good to know more. It is actually difficult to generalize about the support of devices. Now, even if the home appliances themselves do not support it, there are still many different ways to connect traditional home appliances to HA. In addition, cases like Haier do require in-depth research. What I usually do is to crawl a lot of information on the Internet, and usually find attempts made by others. It just so happens that when I was looking up other information recently, I saw someone sharing how Haier water heaters were connected to HA. But it is indeed like what you said, if you get involved for a while, you will understand these details more and more. 🤣Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Jerry 2025/04/10Hello Neil: After observing for 1 or 2 days, everything seems to be normal. Maybe it’s because the system was not stable during the initial setup period!? The more I play, the deeper I feel. I also find that I still have many shortcomings. I wonder if Neil can share and teach everyone how to fish? For example, recommend good websites, forums, FB groups, youtube videos, or give some guidance. In addition to the YAML language, would it be helpful to know some CSS syntax? Do I need to know other languages? I can even start a new teaching direction. When I see non-big-name products that claim to support APP (such as products from mainland China), I can teach everyone how to identify whether they can be connected to HA and how to ask customer service? Where can I see supported articles or platforms? This kind of experience sharing, I think, will be very helpful to everyone. I am currently looking to buy a heat pump water heater from Haier. Haier is a big manufacturer in the world and has its own APP. I have also found Haier's kit from HACS, but it does not seem to support heat pump water heaters. Does that mean it cannot be connected to HA? Or is there any channel to check it? There are also many flat panel lights and fan function lamps on the other side of the strait, which also claim to support APP connection, but they are all small manufacturers and it is difficult to tell whether they can be connected to HA. These are the problems I am facing now. If the home appliances I buy are different from what Neil shared, I don’t know where to start. Maybe I'm still too inexperienced. If I play for a few more months, maybe the above problems won't be a problem anymore, haha^^Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Neil 2025/04/09Hi Jerry, I tested it myself and it was fine, but please note that because it is controlled through the cloud, there is an extra layer of brand mediation, so it is not suitable for fast switching. I tested it myself and it took about 1 second to complete the synchronization after clicking. Remember to put the entity in entities, otherwise the status display may have problemsHome Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Jerry 2025/04/07Thanks Neil for clarifying this. I tested it later and found that when using the "button panel" to control the switch of the Electrolux air conditioner (the same model as Neil), the device will respond to turning on or off in about 1 second, but the "status icon" for turning on is much slower, and it takes about 30 seconds. The "status icon" for turning off is normal, and the "status icons" of other negative ion switches and the "status icons" of the monitoring light switch are also normal, which made me think there was a problem with the synchronization. I'll test it again, maybe it's caused by the wrong setting.Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Neil 2025/04/07Hi Jerry, 1. This method is through cloud integration, which is actually using HA to call Xiaomi/Electrolux to control the device. 2. It is not normal. If this happens, you may need to check whether the entity you display on the floor plan can truly represent the status of the device. If not, you may need to try other entities of the same device.Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Jerry 2025/04/07The problem is solved. Thanks again to Neil for his help^^ I have two more questions about concepts. Neil, do I have any misunderstandings? 1. I connected Xiaomi and Electrolux devices to HA through HACS. Is it still connected through WiFi? Before connecting, you need to obtain API key and Access Token from the official. This means that the communication between HA and the device still needs to go through the official. It’s just that the official APP can be replaced and all integrated into the HA APP for control? 2. After testing, when controlling the device through physical operation or the original official APP, the HA app cannot know the status of the device synchronously, but it can know the opposite. Is this normal? For example, the Xiaomi electric fan at home was turned on by someone physically before going out, but when the person is outside, he cannot know through the HA app that the device was forgotten to be turned off. He has to connect to the Xiaomi app to know!?Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
  • Ghost 2025/04/07Xiaomi Home currently does not support Taiwan. For now, you can only use Xiaomi Miot Auto. As for Xiaomi Cloud Map Extractor, I currently have a 2FA problem. There seems to be no simple solution. I haven’t tried it successfully yet.Home Assistant must-install HACS plug-in installation steps detailed explanation – Home Assistant step-by-step tutorial EP 17
  • Neil 2025/04/07Jerry, it seems that the click action cannot penetrate the part where the picture changes because of the overlapping pictures. Try adding pointer-events: none to the style.Home Assistant Floor plan A new experience in smart home control with visual floor plan! – Home Assistant step-by-step tutorial EP 6
you might like