prefixkit Ask an engineerAsk Support RU

Smart home

Home Assistant and Alice

How to connect Home Assistant to Yandex Alice: the Yandex Smart Home integration from HACS, cloud or direct connection, device names and rooms, with a config generator. Plus making a Yandex Station speak Home Assistant notifications.

Names are what you will say out loud. Rooms help with commands like “turn everything off in the bedroom”.

How to connect it

  1. Install HACS if you do not have it, then the “Yandex Smart Home” integration (by dext0r) from it. Restart Home Assistant.
  2. Settings → Devices & services → Add integration → Yandex Smart Home. Pick the connection: cloud is easier, with no domain or open ports; direct needs Home Assistant reachable from the internet over HTTPS (remote access).
  3. Add the block generated above to configuration.yaml (or pick devices in the integration settings) and restart.
  4. In the “Дом с Алисой” app: + → Smart home device → find the skill named in the integration settings and link the account. Devices appear in the app; then use your voice.

Making a Station speak notifications

The “Yandex.Station” integration (by AlexxIT, also from HACS) adds the Station to Home Assistant as a media player. Then it can speak text from automations:

- alias: "Leak: say it out loud"
  triggers:
    - trigger: state
      entity_id: binary_sensor.bathroom_water_leak
      to: "on"
  actions:
    - action: media_player.play_media
      target:
        entity_id: media_player.yandex_station
      data:
        media_content_id: "Attention! Water leak in the bathroom"
        media_content_type: text

FAQ

Alice does not see a device

Make sure the entity is in the filter (include_entities) and Home Assistant was restarted, then refresh the skill’s devices in the app. Alice does not show some types (such as sensors with an unsupported unit).

Do I need a Station

No: you can control devices from the app on your phone. A Station is for voice commands at home and spoken notifications.

Check the YAML: YAML checker.

Idea?