S

Smarthome Ideas

17.03.20183 Min Read — InLinux

Smart Home - Schöne Aussicht 10a

I've begun assembling the beginnings of a nice little smart-home implementation here at my familys house in Germany. It consists mostly of lights / motion sensors and some voice assistants mixed in. However, its a nice start and has tought me a lot!

openHAB

OpenHAB is the software I've decided to go with for this project. It supports a ton of smart home devices and integrates them all into one coherent system.

No more messing with various provider clouds and trying to orchestrate actions between multiple smart phone apps from different manufacturers.

Here is the list of openHab supported "addons", as they call them: openhab.org/addons

The creator also has a fantastic 1hr long talk from 'Froscon 2018' describing its capabilities and the work that has gone into a major community project like this:

@youtube

Hardware

This is not exhaustive, but I have integrated some of the following items into my smart home:

  • MiLight 6W E27 Lightbulbs Source
  • DLink DCH-S150 Motion Sensor Source
  • Nanoleaf Triangular Lightpanels Source
  • MiLight RGBW LED WiFi Controller Source
  • Eastlion LED Strips Source
  • MiLight Wall Panel Source
  • MiLight iBox WiFi Controller Source
  • TP-Link Kasa HS100 Smart Plug Source

When buying hardware, I try to get things where you don't have to buy an extra "hub" to connect it to your wifi network. Such as the aforementioned smart plugs and motion sensors. This makes integration even easier.

Example Actions

openHab has its own scripting language whereby you can create extremely complex rules / scenarios with your devices and many other external data sources. For example, I have the suns position linked as an external source. This is used to calculate when it gets dark every day and automatically activates the motion sensor / light rules then. That way I never have to adjust the timing of this throughout the year. Whether its summer or winter, the motion sensors will begin turning on the lights at the exact correct time each night.

I also have some other basic rules such as before bed, turn the lights in my room rgb(255,0,0) to stimulate sleep. Conversely I have the LEDs come on as rgb(0,0,255) in the morning to stimulate waking up.