Skip to content

HomeAssistant custom component to control your SONOS Alarm

License

Notifications You must be signed in to change notification settings

AaronDavidSchneider/SonosAlarm

Repository files navigation

OUTDATED: Merged into Homeassistant

Logo

Sonos Alarm

Custom component for Home Assistant to control your SONOS Alarm

Example

Features:

  • Switch your alarms on/off
  • no configuration needed
  • information about you alarms, like time, volume, etc in attributes

Installation

Install via HACS

The custom component will soon be available via

hacs_badge

Manual Install

If you want to install the custom commponent manually, add the folder sonos_alarm/ to YOUR_CONFIG_DIR/custom_components/.

Configuration

As Integration:

Go to the Integrations pane on your Home Assistant instance and search for Sonos Alarm.

Advanced Use:

You can also use configuration.yaml configurations to specify your specific network requirements.

Here is an example configuration:

sonos_alarm:
   switch:
      hosts:
        - 192.168.178.22
        - 192.168.178.29
        - 192.168.178.24

For more information see: https://www.home-assistant.io/integrations/sonos/#advanced-use (same idea, just use sonos_alarm and switch instead of sonos and media_player)

Many thanks for bringing this up @Schmandre!!!

Exposed entities

  • switch.sonos_alarm_[id of your alarm] for each of your SONOS Alarms

Example Usage

Have a look at https://github.com/AaronDavidSchneider/SonosAlarmAutomation for automations using sonos_alarm