Shelly Image

Shelly & Home Assistant: advantages and integration

Reading time: 2 min

Shelly is a small and inexpensive hardware platform. It allows you to intelligently control various devices in your home. By combining Shelly with Homeassistant, you can make your home even smarter and more flexible. Shelly offers various devices that can be integrated into your home. These include, for example, the Shelly 1, a small socket that can be controlled by app or voice, and the Shelly H&T, a sensor for temperature and humidity.

Integration

At first, you simply have to integrate Shelly’s devices into the local WLAN so that they get an IP address. I always recommend assigning a static IP. In the next step, simply install the official Shelly plugin from Home Assistant and you can easily integrate the devices into Home Assistant. The official page is a great guide here: Integration

Example of automation

A simple example: You can set the blinds in the living room to go up and the lights to come on automatically every morning at 7am. Or you can set the heating to turn down to a lower temperature when you are away to save energy.
Another example is controlling lights based on motion detection:


alias: Office Light Turn on
description: ""
trigger:
  - platform: state
    entity_id: binary_sensor.motion_sensor
    from: "off"
    to: "on"
condition:
  - condition: and
    conditions:
      - type: is_illuminance
        condition: device
        device_id: 12345
        entity_id: sensor.light_level
        domain: sensor
        below: 15
      - condition: state
        entity_id: device_tracker.desktop_pc
        state: not_home
action:
  - type: turn_on
    device_id: 12345
    entity_id: light.shelly
    domain: light
  - delay:
      hours: 0
      minutes: 0
      seconds: 30
      milliseconds: 0
  - type: turn_off
    device_id: 12345
    entity_id: light.shelly
    domain: light
mode: single

Conclusions

From my point of view, Shelly in combination with Home Assistant makes for super smarthome control. The devices themselves are cheaper, have a high reliability, are very easy to integrate with Home Assistant and are therefore perfectly suited.

Further outlook

More articles on the topic of Home Assistant as well as the many possibilities.

I hope you continue to enjoy reading!
Matthias


Persönliches Foto

Matthias Suttner

As a smarthome enthusiast, I am happy to present you some interesting possibilities on my blog.