/smarthome-openhab

My smart home configuration (OpenHAB 2)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Peter's Smart Home

My smart home configuration, based on OpenHAB 3

Features

  • All lights in the house are smart-controllable
  • All heating is smart-controllable
  • Automatic scenarios and rules
  • Smart-vacuum-cleaner is smart-controllable
  • Climate control and information for all rooms

Control panel

Panel screenshot 1 Panel screenshot 2

Used devices

I have 2 general groups of devices. Main light in rooms mostly controlled by WiFi wall switches. Sensors, addional switches, decorative lamps and etc, are Zigbee.

Zigbee

Network controlled by Electrolama zig-a-zig-ah! (zzh!).

Electrolama zig-a-zig-ah! (zzh!)

3rd party software

Dark sky weather animated icons

Used package from https://github.com/basmilius/weather-icons

Player icons

Part of FontAwesome project: https://fontawesome.com/license

Openhab

Send command to device via CLI

docker exec -it  Openhab /openhab/runtime/bin/client
openhab:send g_zigbee_ota OFF

Code model

Configuration model.

Rooms and places

  • TR - Ladder (german "TReppehaus")
  • EG - Ground floor
  • KS - Cinema room (german "KinoSaal")
  • BZ - Bathroom (german "BadZimmmer")
  • KU - Kitchen (german "KUeche")
  • WZ - Living room (german "WohnZimmer")
  • SZ - Bedroom (german "SchlafZimmer")
  • KG - Underground floor
  • BK - Balcony

Naming

Items, groups: <location>[_<sub-location>]_<type>:

  • sz_bed_light
  • eg_light
  • wz_main_remote
  • wz_climate

Stats

Drop measurment, if group type is changed:

docker exec -it -u 0 Openhab-influxdb influx -database openhab3_db -execute 'DROP MEASUREMENT g_all_leak'