informatica:iot:cubos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:iot:cubos [2021/02/12 22:31] – jose | informatica:iot:cubos [2021/02/14 01:18] (current) – [Google Home] jose | ||
---|---|---|---|
Line 27: | Line 27: | ||
| | ||
===== Spotify ===== | ===== Spotify ===== | ||
+ | https:// | ||
+ | |||
+ | En Developer Tools, seleccionamos SERVICES y ponemos: | ||
+ | Service: media_player.play_media | ||
+ | En el desplegable seleccionamos: | ||
+ | Entity: media_player.spotify_joselegido | ||
+ | |||
< | < | ||
- | # Example script to play playlist | + | entity_id: media_player.spotify_joselegido |
- | script: | + | media_content_id: https:// |
- | | + | media_content_type: playlist |
- | | + | </ |
- | - service: media_player.play_media | + | |
- | data: | + | {{:informatica: |
- | entity_id: media_player.spotify | + | |
- | media_content_id: | + | ===== Google Home ===== |
- | media_content_type: | + | Developer Tools > Services |
+ | |||
+ | Service: | ||
+ | | ||
+ | |||
+ | Service Data (YAML, optional): | ||
+ | < | ||
+ | entity_id: media_player.google_home | ||
+ | media_content_id: | ||
+ | media_content_type: | ||
+ | </ | ||
+ | |||
+ | Con fichero local. El fichero está en:\\ | ||
+ | Raspberry: | ||
+ | / | ||
+ | Docker: | ||
+ | /media | ||
+ | En configuration.yml (creo que no es necesario) | ||
+ | docker exec -ti homeassistant bash | ||
+ | |||
+ | < | ||
+ | homeassistant: | ||
+ | media_dirs: | ||
+ | local: /media | ||
+ | </ | ||
+ | < | ||
+ | entity_id: media_player.google_home | ||
+ | media_content_id: | ||
+ | media_content_type: | ||
</ | </ |
informatica/iot/cubos.1613169111.txt.gz · Last modified: 2021/02/12 22:31 by jose