Giter VIP home page Giter VIP logo

fork_piotrmachowski_home-assistant-custom-components-smartthings-soundbar's Introduction

HACS Custom GitHub Latest Release GitHub All Releases Buy me a coffee PayPal.Me

SmartThings Soundbar

Adds support for SmartThings enabled Soundbar

Features

  • Turn on/off
  • Set volume
  • Step volume up/down
  • Mute/unmute
  • Select source
  • Show current volume level
  • Show current state: on/off/playing/paused/idle
  • Show if muted/unmuted
  • Show current source

Configuration options

Key Type Required Default Description
name string False SmartThings Soundbar Name of soundbar
api_key string True - SmartThings API key (see: here)
device_id string True - SmartThings device id (see: here)
max_volume positive integer False 100 Volume level that will be used as a maximum level in Home Assistant

Example usage

media_player:
  - platform: smartthings_soundbar
    name: Soundbar
    api_key: "YOUR API KEY"
    device_id: "YOUR DEVICE ID"
    max_volume: 30

Getting API key and device id

Make sure your device is connected to yout SmartThings account.

Obtain an API key from https://account.smartthings.com/tokens

Go here for your device id for each device. Click on the name of your device and the device id will be in the URL

https://graph-eu01-euwest1.api.smartthings.com/device/show/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX

Installation

Using HACS (recommended)

This integration can be added to HACS as a custom repository:

  • URL: https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar
  • Category: Integration

After adding a custom repository you can use HACS to install this integration using user interface.

Manual

To install this integration manually you have to download smartthings_soundbar.zip and extract its contents to config/custom_components/smartthings_soundbar directory:

mkdir -p custom_components/smartthings_soundbar
cd custom_components/smartthings_soundbar
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/releases/latest/download/smartthings_soundbar.zip
unzip smartthings_soundbar.zip
rm smartthings_soundbar.zip

Known problems

  • If you have config validation issues after installing this component you have to follow these steps:
    • Install custom component
    • Restart Home Assistant
    • Add configuration
    • Restart Home Assistant again

Supported devices

This integration was confirmed to work with following devices:

  • Samsung HW-N950
  • Samsung HW-Q800T
  • Samsung HW-Q950T
  • Samsung HW-Q990B
  • Samsung HW-Q90R
  • Samsung HW-Q80R
  • Samsung HW-Q70R
  • Samsung HW-S60T
  • Samsung HW-S61T

Buy Me A Coffee PayPal Logo

fork_piotrmachowski_home-assistant-custom-components-smartthings-soundbar's People

Contributors

jaruba avatar knaackee avatar pegatron89 avatar piotrmachowski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.