What is my motivation to realize a smart home solution?
Ten years ago we bought a new kitchen and to have more place we tear down the wall between kitchen and dining room, so by now kitchen, dining room and living room are merged to one open room. Because some wires were installed in this wall we took the decision to use a wireless system switching the light in all three room parts. Our choice fell to FS20, it was cheap and widespread. But in the last years, while mobile companies established the standard LTE some of the switches made a little trouble, this is a well known problem. It is to change.
What do I want to integrate in my smart home?
- plug switches for aquarium and plant light
- colored LED switch for aquarium sun/moon imitation
- two built-in switches for ceiling light in the living room
- one switch for dining room
- three switches for the kitchen
By a view to well-known electronic shops I realized that I do not want to be dependent to a provider. Therefore the raspberry pi is choice #1 as base control unit, therewith it is possible connect to most smart home systems.
To be independent from wifi I started using zigbee for my starting project, the aquarium.
Zigbee is a radio standard build for devices transmitting low data volumes, it is made for IoT. In a Zigbee network the integrated devices are meshed and I have the impression that Zigbee belongs to the future. One indicator is that one of the biggest furniture shops (starts with I and ends with kea) supports this standard, but of course it can be something else.
To make rpi speak to zigbee you have the choice between hat or usb. I took a chinese CC2531 based usb stick prepared with newest firmware.
There are a lot of free smart home system that you can use on a rpi: openHAB, iobroker, home assistant and more. For me, the decision fell to iobroker.
A look to the list of supported devices of the zigbee adapter I found devices I need.
I ordered two Osram smart+ lightify plugs, a Paulmann switch and a Paulmann RGB LED switch. The first integration of the Osram plug was easy and the time-controlled plant light runs succesfully for first two weeks. Programming with the integrated graphical tool blockly makes it very easy to use. If you have ever used scratch, it feels right there quickly. After that I have integrated the next plug to control the Aquarium sun light successfully what else :-).
Further details you will find in logs. My plan for the next is to...
- integrate Paulmann switch
- use RGB LED switch of Paulmann
- integrate two other projects in my smart home network over MQTT: the glass board and the weather station