 Willkommen auf das Siebel. Ist virtuell. Auch rein. Na, ich hoffe aus dem guten Brandenburg habe ich nicht zu viel Package los. Wie alle wahrscheinlich auch oder die meisten von heute bin ich in meinem Wohnraum gefangen und möchte heute ein bisschen über Home-Automatisierung erzählen, angefangen von Einsteiger-Level bis hin für die Hardcore-Nurst, die deutlich tiefer und deutlich mehr damit machen wollen als die Standard-Anwender. Und dazu habe ich euch heute einen kleinen Mini-Talk plus im Anschluss noch einen Workshop vorbereitet, den ich gerne mit euch machen würde. Eingetragen war das alles jetzt leider auf Englisch, obwohl ich es auf Deutsch machen wollte. Ich würde mich jetzt in Englisch durchsteuern. Ich hoffe, das ist okay. Und so wir starten zu switch in die Englisch-Englisch und starte ich zu präsentieren meine Slides. Nach den Slides gehen wir in ein bisschen Workshop und mit euch zusammen, hoffentlich. Und wir haben Spaß auf die Devices. So, etwas über mich. Mein Name ist André Helvich. Mein Name ist Tiko. Ich war in der 80er-Jahre in Berlin. Und ich bin ein Teil dieser T-Base seit 2001. Und seit ein paar Jahren auch auf der Bord der T-Base. Ich arbeite als System- und Cloud-Engineer. Das bedeutet, ich habe sehr viele Dinge zu tun mit Automationen. Und Home-Automation ist mein persönlicher Favorit hier. Ich bin ein Ethical-Hacker, der nur seine eigene Dinge bricht. Ich mache keine wirkliche Batsche. Das ist nur ein Exzettent. Ja, ich begann in 2014 mit einfachen Dingen, wie meine Digital-Lichtbarzen auf- und-offen und die Farbe zu verändern. Das war ganz einfach in dem Beginn. Aber später begann ich, mehr Dinge zu machen, von den Wendel-Applikationen. Und ich würde mich heute mit Ihnen erinnern, das Gleiche zu machen. Was wir erwarten, ist, dass ich mit einem 30-Minute-Initial von Home-Automationen, some software aspects, I would like to do some definitions and wording, because this can be getting very confusing later. Then after this small talk, we will have hands-on. Hopefully we will have one and a half hour or more and we will integrate together if you already have existing hardware that is capable to be integrated. We can do this. Or if you don't have any hardware yet, don't be set. We can fake them or find other interesting digital stuff that we can integrate into your home automation. And yeah, we will for sure chat about automation in general, share our experience with each other. So smart what, what means smart or what people think is smart is a really huge gap usually. Because people think it's not the thing, most stuff is plug-and-play and everything you need you can get from a single vendor. But this is not true. We are far away from this. If you really want to get things smart, you have to choose different vendors and we have tons of them. Everyone has another kind of implementation somehow. Some of them are also locked into the cloud. So then you have to free the firmware somehow or free your device from this evil firmware that by default connects to the Neuland. And yeah, for sure you have incompatibilities between different vendors and they don't like it if you integrate stuff from other vendors into their solutions. That makes everything more complicated than it should be. So, yeah, how to start. Usually people get started quite easy and simple as I started with some simple light bulbs. These Philips Hue are very common or Ostrom Lightify. Yeah, and in the beginning it's okay for them if they only do controlling the lights or they want to see the status. It means in the beginning it's okay for you if you turn on your lights, changing the color or see from remote if it's on or off. When you leave the house quickly and on the way to somewhere and take a look on your mobile to see if you forgot to change some lights off or I don't know what. This is for the beginning quite simple and you can start very easily with this. So, what you get out of the box in the beginning from the vendors directly. I'm staying at these light bulbs because this is the most easy example to show you what the vendors does or what the vendors give you and an easy way to get started somewhere. Later we will try to find some more interesting examples but these are reserved for the workshop so if you want to get in touch and talk about more specific things like sensor etc. This will be done later. If you don't wake up, it's quite nice. I want to wake up at 6 o'clock so start in the lights 10% and then very soon before 10. Okay, Teko, du hast massive Bandbreitenprobleme anscheinend. Der Sound ist hier sehr, sehr schlecht gerade. Man versteht es wirklich nicht. Ich würde sagen, du guckst mal kurz in deinen Sound-Entstellungen oder sagst du ihnen dann, dass sie aufhören sollen zu spielen und dann Okay, ladies and gentlemen das ist das nächste Ding, das ist live und der Bandbreiten von Teko ist irgendwo, ich weiss nicht. Ja, was wir jetzt machen. Ich denke, das Gespräch ist gut und wir werden nur ein paar Sekunden warten oder eine Minute damit wir starten können. Vielleicht, ja, ich kann ein Teko für Teko und hoffentlich wird es jetzt besser gehen. Können wir weiter? Ist es besser? Ja, okay. Okay. Ab wann war das abgehackt ungefähr? Genau. Danke. So, take a deep breath. Keep calm and here we go again. So, most of the things are not really smart of the box except from kinds like wake up scenes when you want to wake up by light over a specific amount of time means when you want to wake up at around six, just configure your light that it starts increasing the percent of lightage over a couple of time and when you wake up at six, ten minutes before six it starts to increasing the lights ten percent per minute and after ten minutes the light is on 100 percent and you have a very smooth wake up this is nice but that's not what I understand of smart things this is just, yeah, dimming or increasing the light over a specific amount of time. Another thing that came out of the box is a delayed shot of timer if you go to bed something like that and you are far away from your digital switch just push the button shut down in ten minutes and after ten minutes the light goes off another thing that come out of the box if there is supported hardware is turning lights on and off by movements detected in general you have just the movement sensor which lights to get on and after a couple of minutes when no movement was detected it turns off again this is quite nice when you go through a room where you are just passing by and you want to enable the lights without touching anything this is fully automated this is nice, this is kind of smart or what I think what could be smart but the problem is this only works with supported hardware when you stick on a window so usually some windows don't have movement detectors other have them but they are quite expensive so what is on my personal wishlist to have things more smart is to combine way more things than just a light with a movement sensor for example I have a window open detection so I can detect if a window is open or not and if a window is open more than 15 minutes because this is way enough to get fresh air into the room then start blinking indicator in the living room for example to notify me to close this window or send me a message to my mobile over I don't know telegram push message whatever you name it and I would like to know that I have to close the window yeah you can or I would like to implement also unsupported hardware I would like to combine lights with movement sensors because usually you can get this developer board with a wireless chip on it putting a movement sensor on it and just use this for your movement detection and you can save a lot of money instead of buying very expensive things from the vendor itself but this won't happen the easy way because you stay in the vendor lock in and the vendor don't want you to use other things so all in all ist this an easy piece of cake? yes but no I would say it depends on or depends on what you really want to do if you have some simple things that you want to do you usually can do this out of the box with vendors but when you want to like to have more advanced tasks when combining things from different vendors or building your own sensors or Actors or whatever you can't do this the easy way usually yeah combination with other devices is not possible the easy way or not with what you get shipped by the vendors so we need to close the gap by ourselves we will do this later so for now we will talk a bit about Sensors, Actors, what the fuck and yeah, Sensors I gave you some example already we have for example movement sensors we can measure temperature we can measure the light and looks anything that can be interesting for you can be measured for example the actual Bitcoin price or some people I heard it's quite interesting to know the actual Bitcoin price and with smart home automation you can also send notifications to your TV or whatever to give you an information about the actual Bitcoin price yes, if you load of a host is just an example to show you what you can use as a sensor because you can vary web page you can send shell commands whatever you want as a sensor and the result of it can be used later for other things and we mostly talk about Home Assistant today later I will present you some other alternates or what I've seen in the past but don't like to use and that's why I linked here the Home Assistant integration of the available sensors that came out of the box if you go there have a look you will find a lot of sensors that you can use even things like sensor type REST where you can send REST API calls to whatever you name it so these are sensors you also have sensors Actors usually just simple relays means when you want to start a heating pump the temperature is to low start heating pump or start heating whatever this is your actor you can also switch power socket shutter actors are switched on and off because usually when you close a shutter you need the power for a specific amount of time means shutter actor is a bit more than just switching because it's switching over a time span and usually actors are everything that can be switched somehow next thing would be automations if a sensor has a specific state do something this is quite easy if you push the button turn the light on this is the most simple automation you can have but for sure you can extend these automations far far far beyond that another thing when pushing button the light goes on the example from before if a bitcoin price is over 90.000 send a message and let all lights in the house blink like insane because you can do a party or I don't know and these are things you can do with automations so now we will have a short look about types of hardware you will find on your way I will give some not really recommendations but what I've used in the past and for sure there are always way more examples than just the shown one in general you have lights for sure as I told you the most common are Philips Hue or Ostrom Lightify and the less expensive version is Luminea but you need to know that some of them are working on a ZigBee standard and maybe needs an old bridge or something like that and others are just with these ESP with these small ESP chips on it to be able to use wifi and then you can simply connect it to your wifi and it's a client in your wifi and for sure if you have a look at Aliexpress you will find many many more Vendors but in general you have usually ZigBee in it or Bluetooth or wifi that's it another thing that you for sure will be need is switches for switches you can have again Hue you have nice switches put on a plate on the wall or on a magnetic on some you can put it on metal and it keeps there or you move around and just use it like a remote Xiaomi also has switches same for Zonoff and Shelly these are used if you have a voltage that you want to switch or a power plug control these by Zonoff or Shelly's and for sure there are also many other switches available heating control is quite interesting if you have a house but if you live in a flat this can also be nice to heat up your bathroom or something like that in the morning if you don't like it to cold in there just two or three hours before you wake up start increasing the temperature by your automation this can be done home automatic is used for underfloor heating mainly Patado and AVM are for these a generic heater that is put to the wall and can be controlled by turning the vessels off and on yeah in general you can connect any device that can be connected somehow by bluetooth, wifi zb and some other standards but these are the most common things that you connect on the vendor side it's a bit sad from every window you get different applications and you can't combine them together as I told you before I don't like I like it on a single single page and have a general overview about everything without usually if you want to if you have lights and you have two lights from different vendors that are not compatible to each other and you have two of them in a single room and you want to activate both at the same time this is only possible if you open app one, say light on going to the second app turn light on and I think nobody wants to do this or the other way is stick at a single vendor but this is most of the time not the case yeah usually the source code of the vendor is closed so I'm very happy if there is a custom firmware built by hardcore nerds who generate new possibilities to the same hardware that the vendor wasn't able to send to the customer some also have XMN REST APIs but mostly they are just reverse engineered somehow and not really well documented online so what we need to close the missing gap put some glue in between this glue is called generally smart hub and there are some solutions for it that I would like to show you right now so the first thing that you may be already heard of and most people who looking into home automation finds it or if you have it in mind for a longer time I'm sure you already struggled about it the first thing is FHEM in German es freundlicher Hausautomation und Energiemessung and in English it is a friendly home automation and energy measurement this was developed in 2005 and written in pearl but I have to say pearl isn't my personal preference you can do very much things with it it's quite lightweight it would be run on a raspy but yeah I don't really like to do everything in pearl if you have affinity to pearl you can use it for sure it's nice there are a lot of things but you have to do very many things manually and yeah if you have something more exotic you always have to write your own code another thing that exists is openhub it was developed in 2010 and is written in java I don't know what you think about java but I think java is just a huge mess and my personal preference is always to have it as small as possible and it should be fit on a raspy or some small device but yeah in my personal preference I will show you in a second how why another thing is iobroker this was developed in 2014 in java was developed in python and this is my personal favorite I will show you in a second this was developed in 2014 and is written in java so it's mostly nojs applications somehow but to be honest I haven't tested it yet so I have no real experience with iobroker just read some stuff and I don't really like java so this is a no go for me personally and I like it way more in python world so my personal decision was in this case home assistant I started with FHEM in the beginning and had a very very very short look into open hub in between but since a couple of years for 3 years now I'm using no 2 years now I'm using home assistant and started quite simple and there are some reasons why first of all it's slim or lightweight enough to be run on a raspberry pi starting from version 3b plus I guess it has a focus on security it has the focus to keep your data at home because you don't want to publish all your home automations in other apps because I want to free the devices from the clouds not to give it back to the cloud I would like to have it at home it's pure open source written in python as I told you before and uses the young syntax for configuration and because I use it at work it's a personal plus I have to do it every day and I really much like the way of configuring things in home assistant and that's why I use it yeah it's very easy to start with so in the beginning you can get in home automations system quite fast but later if you want to get way more in detail you can also get way much deeper and develop your custom integrations or whatever you want but these are the same things you could do with FHM for sure as well if you want to write your own stuff you could do this with them as well but home assistant I think is the yeah in the middle of everything it's easy to start but good enough to get way way deeper they have really fast development and release cycles have a very active community um and I never had any problems with updates in the past so the good things about home assistant it's very easy to start the documentation is awesome so for every module you find a good overview page where you find examples for configurations and if you have to keep something in mind this is also noted on the documentation page it has a really nice performance depending on some things I will talk a bit later about um they continuously improving the user interface one year ago I guess there was a huge update for the loveless interface to be more available for beginners um that they are able to configure everything um the nice thing on home assistant as well is that you can configure things on the graphical user interface as well as in your configuration files by yaml yeah it's very easy to maintain if you need to do updates you get notifications updates and in the last two years I didn't have any issues with it yeah I also had to migrate once from a Raspberry Pi 3B Plus to a newer version and this also works like a charm um just doing backup of your actual system by pushing a button, download the file and import this backup into the new system and everything works again like before so this is quite nice but there are also some bad things or not so good things first of all sometimes it's a bit hard to find debugging information um I had a problem that I was looking for debugging information but at the end I found out there was no problem because it was just a broken wire or something in this cases it's a bit hard to find some errors, but there was no error for sure that's why it was not working but it could be better but I will show you in the workshop some overview about Home Assistant and guide you through the different levels of logings and then you maybe will see what I mean yeah the very important thing is that you don't choose a too small SD card in the beginning I was using an SD card and thought it would be enough but you have historical data that will be saved on a specific time and depending on number of sensors you have this can be increased very fast um so don't choose it too small but I think 64 128 GB should be way more than enough um another point is don't use too slow um because in the past it was only possible to have everything on an SD card and if the SD card is too slow this takes a much of time to boot the system it's always kind of laggy but yeah if you put a very old hard drive into a up to date computer you will get the same for sure so have a look on the performance of the SD card I can give you some recommendations later um but for now it's just the hint to take care of the speed of your card um yeah another thing that disturbs me is that you sometimes have duplicated items if you're using bluetooth tracking or something like that um yeah over time you get duplicated items or if you have multiple devices with the same account locked and you get duplicated items and it's quite a mess to delete this duplicated item afterwards um yes so a very very very short preview to the workshop that should be start really soon if you want to attend or to have you to want to attend I will give you a short preview i will you for the beginning so we will install some home assistant on a raspberry pi or if you want to use virtual box we can also install it in virtual box um I will give you an overview about the user interface we will create some sensors together um We will create some actions ist das Mini für deine Personalbedingungen zu bauen. Weil das große Problem ist, dass du einen bestimmten Punkt startest und alles öfter öfter öffnen willst, weil du sonst nicht alles planen kannst. Oder du hast nicht mehr Geld, um alles zu kaufen. Und du kannst es step-by-step machen. Und um Geld zu saven, ist es viel mehr wertvoll, um alles zu kaufen, was man handt. Ja, und für dich werde ich euch zeigen, wie man die Möglichkeiten bietet, indem man eine Community-Integration hat. Man hat schon viele Integrationen gebaut, aber manchmal braucht man ein bisschen mehr. Und deshalb ist die Community-Integration sehr schön. Und ich werde es in dem Workshop später zeigen. Ja, auch wir haben die ESPs. Ich werde es euch zeigen, wie man diese ESPs ganz einfach bietet. Ich werde es euch zeigen, ein paar Examples mit Bewegung und Temperaturzensoren. Ich habe auch ein paar Relays in meinem Haus, um die Garage-Store zu öffnen oder so. Das kann man später zeigen. Und ein interessantes Tool, das ich euch zeigen möchte, ist die ESP Home-Integration, weil die ESPs flaschen. Es ist ziemlich einfach mit ESP Home. Und auch die Konfiguration von verschiedenen Komponenten ist sehr, sehr einfach. So, jetzt können wir in den Workshop gehen. Wenn ihr Fragen habt, könnt ihr diese Fragen in der Workshop später fragen. Ihr könnt auf die Jitzy-Ruhm oder jitzy.cbase.org oder rc3.rg3.fu und der Super-Secure-Password 23.fu.42. Und ja, wenn ihr euch starten möchtet, könnt ihr einfach auf dieses Check-Out-Link auf den URL Home Assistant, IOHASIO Installation und einen Blick auf die Art und Weise der Installation. Wie gesagt, wir haben verschiedene Möglichkeiten, die man installieren kann, wie ein VM. Man kann es auf Raspy. Und auch auf Raspy gibt es viele Werte, um das zu machen. Das ist derzeitige, um die Generic HustOS-Image zu benutzen, wo man ein Home Assistant-Operation-System hat. Und alles ist installiert in ein Docker-Container. Man kann ein Recipe oder so. Installiert man es selbst via Docker oder direkt installiert. Okay, wir können sehen, dass viele Menschen ein Workshop von TECO attentieren. Wir werden jetzt mit TECO und TECO mit einem Workshop stoppen. Glückwunsch, Toi, Toi, Toi. Vielen Dank, wir sehen euch.