# Automatic Switch to active device

**URL:** <https://community.yatse.tv/t/automatic-switch-to-active-device/4648>\
**Category:** Feature Requests\
**Created:** [June 15, 2024, 11:02am UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648 "2024-06-15T11:02:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![update.freak](https://community.yatse.tv/user_avatar/community.yatse.tv/update.freak/32/2961_2.png) [@update.freak](https://community.yatse.tv/u/update.freak)\
**Post date:** [June 15, 2024, 11:02am UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648/1 "2024-06-15T11:02:30Z")

</div>

Hi, is there a automatic switch to the active device. I have 2 devices (Kodi on PC and Kodi on LibreELEC RPi). Normally only one device is active at one time. Therefore would be good to have an automatic switch

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 15, 2024, 11:15am UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648/2 "2024-06-15T11:15:06Z")

</div>

No it would be highly inefficient to constantly check all hosts to do that, and consume battery for no reason.

You can automate for the conditions you want with the API and Tasker or Automate.

---

<div class="post-metadata">

**Author:** ![update.freak](https://community.yatse.tv/user_avatar/community.yatse.tv/update.freak/32/2961_2.png) [@update.freak](https://community.yatse.tv/u/update.freak)\
**Post date:** [June 16, 2024, 12:53pm UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648/3 "2024-06-16T12:53:27Z")

</div>

ok, thanks. Where I can find instructions to automate this via Tasker?

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 16, 2024, 1:12pm UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648/4 "2024-06-16T13:12:36Z")

</div>

In the docs ?

> **[Yatse Tasker Plugin](https://yatse.tv/wiki/yatse-tasker-plugin)**
>
> Yatse include a complete Tasker plugin allowing to access most of it's functions from other applications.

---

<div class="post-metadata">

**Author:** ![update.freak](https://community.yatse.tv/user_avatar/community.yatse.tv/update.freak/32/2961_2.png) [@update.freak](https://community.yatse.tv/u/update.freak)\
**Post date:** [December 10, 2024, 8:23pm UTC](https://community.yatse.tv/t/automatic-switch-to-active-device/4648/5 "2024-12-10T20:23:22Z")

</div>

So is it possible to check at the startup of Yatse the status of all Kodi-clients and switch to the one which is active?
