15 lines
1.0 KiB
JSON
15 lines
1.0 KiB
JSON
[
|
|
{
|
|
"id": "NFC Reader - Jellyfin",
|
|
"result": {
|
|
"structured": "TRIGGER: When an NFC tag is scanned (event tag_scanned). CONDITIONS: The scanned tag ID is present in the defined NFC_MAPPING dictionary AND the entry for that tag ID contains the key 'jellyfin_ids'. ACTIONS: Play a random media item from the list of Jellyfin IDs associated with the scanned tag on office tv [media_player.office_tv].",
|
|
"natural_language": {
|
|
"trigger": "Whenever an NFC tag is scanned.",
|
|
"conditions": "The scanned tag's ID must be one of the predefined IDs in the automation's mapping list. Furthermore, the specific entry for that tag must contain a list of Jellyfin media IDs.",
|
|
"action": "The automation selects a random media item from the list of Jellyfin IDs linked to the scanned tag and starts playing it on the office tv [media_player.office_tv]."
|
|
},
|
|
"human_like": "Plays a random song or video from a predefined list on the office TV when a specific NFC tag is scanned.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |