A typical day under the supervision of Alice

Recently released a new version of MajorDoMo complex, which habré was review article, and I decided that it would be good to show a living example of how it works. We take the most ordinary day, and see how Smart home behaved in the course.

Picture for engaging of attention



To begin, I present to you Alice. Alice is a character that was invented so that communication with Smart home was, shall we say, somewhat more humane. The identity of Alice, so to speak, is quite simple, but, nevertheless, my three-year-old son of her just as a person perceives, giving her those human qualities, which, of course, in reality does not exist, but the times are successfully simulated — for example, care, courtesy, thrift.

But back to our day... so, a country house, a family of three, the beginning of the day.

00:51 Alice: I think no one is home...
00:51 Alice: Although probably all asleep :) Night after all!
00:51 Alice: shifting into eco mode
00:51 Alice: the Temperature is higher than target, close the valve heating


Multiple wireless motion sensors home monitors the activity of the inhabitants and after a while the lack of thereof comes to the conclusion that no one is home, well, or all asleep :) This event triggers the script disable unnecessary users (now it is the hot water heater and associated circulation pump) and also changes the configuration of the desired temperature in the house. The latter, in turn, leads to the fact that heating controller closes the valve, so as not to waste energy on unnecessary heating.

image

05:33 Alice: the Internet is not available
05:38 Alice: Internet Access provided


Unfortunately, the Internet at my house is only 3G so that failures happen sometimes. In night mode, it's just a recording for history, and Alice does not announce such things in the house, though if there was some emergency situation (for example, exceeding the permissible temperature in the heating circuit), the notification would be at least uttered out loud.

image

06:30 Alice: Soon masters should Wake up, warm up
06:30 Alice: get out of save mode
06:30 Alice: the Temperature is below the desired open valve heating


At 6:30 a timer forced-exit economy mode — reaching a comfortable temperature need to be taken care of in advance.

07:39 Alice: motion Detected.
07:39 Alice: Good morning!
07:39 Alice: Now 7 hours 39 minutes
07:39 Alice: remind about missed tasks. 1. To take out the trash.


The alarm started to ring, and the awakening was detected by the motion sensor in the hallway. In the bathroom find out that, as usual, yesterday I forgot to take out the trash. The music began — a random folder from favorites in my media collection.

08:27 Alice: must be light...
08:30 Alice: the Temperature of 3.3 degrees Celsius. It seems to me, quite cold. Sunrise today at 08:57 and sunset at 16:54.


The morning rush, Breakfast, taxes. Between to know what is out there and how to dress your baby. Walking in the corridor, glanced at the terminal screen — the nameless Android tablet always on and showing basic information about the state of home systems, the weather, the temperature of the home of the events. This same information is available from any other device both at home and outside it (the last closed by the password, of course). Honestly, though, it is always available, but I prefer to climb anywhere is not necessary — just to name the house "smart", then, be so good as yourself, if possible, you do it.

The weather conditions, by the way, ensures that such a weather station installed on the roof.
image

Struggled a little bit, so it had data, but in the end, Alice has acquired additional senses.

image

08:39 Alice: Attention! Open the gates.
08:39 Alice: the Gate will be closed in 1 minute
08:40 Alice: the Gate is closed.


It's time to work. We leave the house, pack up the car, open your phone's "home" control menu, choose the item "Temporarily open the gate" go. Some time standing near the house, waiting for when the gates are closed — the automation did not fail, but, as the saying goes, "an ounce of prevention..."

08:57 Alice: the sun Rises
09:00 Alice: Now 9 hours exactly.
09:05 Alice: Sergey leaving home
10:46 Alice: Sergey arrived at the office


You think you can get rid of the caring of Alice, left at home? As it is not so! The phone periodically sends the GPS coordinates of the owner on a home server and Alice keeps tabs on who is where. When leaving or entering the defined hot-spot, the event fires to which they can respond.

image

10:00 Alice: Now 10 hours exactly.
10:16 Alice: I think no one is home...
10:16 Alice: shifting into eco mode
10:16 Alice: the Temperature is higher than target, close the valve heating


Alice discovers that there is one — why not oeconomicae. Incidentally, in the first month of testing, economy mode, I paid 30% less for electricity, so it makes sense.

11:00 Alice: Now 11 hours exactly.
12:00 Alice: Now 12 hours exactly.
13:00 Alice: Now 13 hours exactly


Day Alice entertains himself with the precise time signals :)

13:35 Alice: Attention! Open the gates.
13:35 Alice: Attention! Offers access to the garage.
13:36 Alice: Movement in the garage.
13:40 Alice: the Garage is closed.
13:42 Alice: the Gate is closed.


Normal episode — I'm sitting at work, calling the brother of his wife:
— Sergei, you want to take the mower open the garage?
— Yes, come, of course.

After a few minutes of calls and reports that drove. Start with a working computer to the "home" page, via menu open the entrance gate, garage. Using a network of cameras watching what is happening in the yard, then to close.

image

14:00 Alice: Now 14 hours exactly.
15:00 Alice: Now 15 hours exactly.
16:00 Alice: Now 16 hours exactly.
16:54 Alice: the Sun goes down
17:00 Alice: Now 17 hours exactly.
17:24 Alice: In the street it must be dark...


The time of sunset and sunrise taken from Internet, as well, and other useful information. Internet — universal info-sensor.

17:30 Alice: Soon masters should be off work, warm-up
17:30 Alice: get out of save mode
17:30 Alice: the Temperature is below the desired open valve heating


The same forced exit of austerity as early in the morning.

18:00 Alice: Now 18 hours exactly.
18:14 Alice: Attention! Open the gates.
18:15 Alice: motion Detected.
18:15 Alice: the Gate is closed.


The wife and kid usually come home before me. In passing notice this event by reading his Twitter feed, where I have "friends" account of Alice (public, of course), where she regularly writes about all events.

19:00 Alice: Now 19 hours exactly.
19:32 Alice: Sergey left the office.
19:55 Alice: Sergey rides in the store, "the Neighbors"
19:55 Alice: I Turn to the standby mode of arrival
20:00 Alice: Now 20 hours exactly.
20:00 Alice: Turn in night mode
20:03 Alice: Sergey rides auto market
20:12 Alice: Sergey pulls up to the house
20:12 Alice: the Automatic opening of the gate.
20:13 Alice: Attention! Open the gates.
20:14 Alice: Sergey's home. The gate can be closed.
20:14 Alice: the Gate is closed.

I come back home. First, passing a few Hot-spot-s, I fell under the system described in the behavior pattern and Alice herself has translated itself into a standby for my return. The latter meant automatic opening gates at my approach to the house — a trifle, but very convenient, especially when you come back on the motorcycle and to open the gate manually it is necessary to pull the gloves, look where this time put a remote operated gate. In addition, the system determined that it came I because constantly running the scanner for bluetooth devices spotted by MAC address, my phone range and it was decided that the newly open gate should be closed.

21:00 Alice: Now 21 hours exactly.
22:00 Alice: Now 22 hours exactly.
23:00 Alice: Now 23 hours exactly.
23:30 Alice: Alice wishes you a good night. Do not forget to ventilate the room before going to sleep.


That's all. The day was not marred by some emergency situations, all systems worked normally.

P. S. I take this opportunity to tell you a little about the news of the project MajorDoMo on which platform was implemented all of the above.

First, as I mentioned, the new version of the system with a whole bunch of not dramatically, but important changes and bug fixes. Despite the fact that the collected versions are released infrequently (every few months), the development of the system is constant, can be monitored through the GitHub. In addition, the latest version of the built-in mechanism for updates, which, if desired, to pull the latest stuff directly from GitHub.

Secondly, and most importantly, the project formed community — on the forum you can see how the system is being introduced in others, what (and how) going to the device, resolve issues, exchange experience in configuring and programming. The community is small, but very active :)

Third, for, say, educational purposes I have collected the set of prototype "Smart Apartment". It consists of several basic modules, each of which in one form or another are described on the project pages.

image

Read more here.

P. P. S. you Can consider, but the following message has to project a direct relationship :) In one of the articles on habré seen mention of Nootekhnika company — Belarusian manufacturer of home automation devices. I have had the opportunity to meet them and talk, because they are, as I am, in the city of Minsk. So, at the moment they have product line in order to implement the basic home automation and load control and illumination via wireless modules and remotes, but as you know, I'm more interested in devices that can be integrated into a common framework for Smart Home control and I am very interested in the information that Nootekhnika plans to release the device manage your modules using connected to the computer with a USB keychain. In General, I was assured that it will be released a prototype of this usroystva and I'll be one of the first who will get it for testing :) So, if all goes according to plan, soon the project will be integrated in another budget device for wireless lighting control.
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

Why I left Google Zurich

2000 3000 icons ready — become a sponsor! (the table of orders)

New web-interface for statistics and listen to the calls for IP PBX Asterisk