1.4 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_domain | ha_platforms | ha_integration_type | related | ha_quality_scale | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apple iTunes | Instructions on how to integrate iTunes into Home Assistant. |
|
0.7.3 | Local Polling | itunes |
|
integration |
|
legacy |
The itunes
media player {% term integration %} allows you to control iTunes from Home Assistant. It uses a 3rd party server that you run on your Mac called itunes-api. Play, pause or skip songs remotely on iTunes running on your Mac.
In addition to controlling iTunes, your available AirPlay endpoints will be added as media players as well. You can then individually address them and turn them on, turn them off or adjust their volume.
Configuration
To add iTunes to your installation, add the following to your {% term "configuration.yaml
" %} file.
{% include integrations/restart_ha_after_config_inclusion.md %}
# Example configuration.yaml entry
media_player:
- platform: itunes
host: 192.168.1.50
{% configuration %} host: description: The IP of the itunes-api API, e.g., 192.168.1.50. required: true type: string port: description: The port where itunes-api is accessible, e.g., 8181. required: false default: 8181 type: integer {% endconfiguration %}