mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-01 16:57:34 +00:00
1.5 KiB
1.5 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Steam | Instructions on how to set up Steam sensors in Home Assistant. | 2016-04-30 09:00 | true | false | true | true | steam.png | Social | Cloud Polling | 0.14 |
The Steam component will allow you to track the online status of public Steam accounts.
You need a free API key to use the component
To find an account's 64-bit SteamID on profiles without a custom URL you can check the URL of the profile page, the long string of numbers at the end is the 64-bit SteamID. If the profile has a custom URL you will have to copy the URL into STEAMID I/O to find the 64-bit SteamID.
To use Steam in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: steam_online
api_key: YOUR_API_KEY
accounts:
- account1
- account2
Configuration variables:
- api_key (Required): Your API key from https://steamcommunity.com/dev/apikey.
- accounts array (Required): Array of accounts.
- account_id (Required): 64-bit SteamID.
If you want to add the accounts to a group for example you will have to use:
# Example configuration.yaml entry
group:
steam:
name: Steam
entities:
- sensor.steam_account1
- sensor.steam_account2