# Creating a command to switch on an Amplifier

**URL:** <https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643>\
**Category:** Solved\
**Created:** [March 24, 2019, 2:52pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643 "2019-03-24T14:52:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdauthre](https://community.yatse.tv/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdauthre](https://community.yatse.tv/u/jdauthre)\
**Post date:** [March 24, 2019, 2:52pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643/1 "2019-03-24T14:52:31Z")

</div>

HI have just installed yatse and it is working well. However what I would like to do is switch on my av amplifier as a custom command within yatse (through wifi obviously). Is this possible?  
Thanks  
**Additional information** :

---

<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:** [March 24, 2019, 5:03pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643/2 "2019-03-24T17:03:14Z")

</div>

You lack a mega tons of details to be able to answer that question actually 🙂

If your receiver is supported by one of the A/V receiver plugin most support that natively, if your receiver have an API for that over HTTP.

So all I can say is probably 🙂

---

<div class="post-metadata">

**Author:** ![jdauthre](https://community.yatse.tv/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdauthre](https://community.yatse.tv/u/jdauthre)\
**Post date:** [March 24, 2019, 5:23pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643/3 "2019-03-24T17:23:49Z")

</div>

sorry for the lack of detail, I use a broadcom rm mini ir blaster to send a signal to switch the av receiver on, so I need to send a signal to that in order for it to work. The app for this is on the same device as yatse. So my thoughts were if I can capture the data sent by that app (somehow) and add that to a command on yatse directing it to the ip address + port of the blaster…

---

<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:** [March 24, 2019, 5:31pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643/4 "2019-03-24T17:31:23Z")

</div>

From a quick look it seems the app on the phone start a webserver that accept commands.

So you can add a custom command inside yatse to talk to that server by using 127.0.0.1 as the IP.

For the url you need to find the doc see [Home automation with a Broadlink RM Mini 3 and Google Home | by Kat Hempstalk | Medium](https://medium.com/@drkatnz/home-automation-with-a-broadlink-rm-mini-3-and-google-home-712faa074254) to find the ips (or similar google search).

Support for the specific device is out of Yatse support sorry.

---

<div class="post-metadata">

**Author:** ![jdauthre](https://community.yatse.tv/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdauthre](https://community.yatse.tv/u/jdauthre)\
**Post date:** [March 24, 2019, 5:41pm UTC](https://community.yatse.tv/t/creating-a-command-to-switch-on-an-amplifier/1643/5 "2019-03-24T17:41:14Z")

</div>

Thanks so much, that gives me a good start anyway
