# Xcontroller -IOT relay controller

**URL:** <https://community.inventables.com/t/xcontroller-iot-relay-controller/71285>\
**Category:** Uncategorized\
**Created:** [April 3, 2019, 2:42pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285 "2019-04-03T14:42:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomBaskin](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@TomBaskin](https://community.inventables.com/u/TomBaskin)\
**Post date:** [April 3, 2019, 2:42pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/1 "2019-04-03T14:42:12Z")

</div>

Does anybody know how to send a trigger code from the machine inspector to the iot relay to verify that the xcontroller is actually sending said command to the relay?

cant seem to get my router to turn on - no signal to relay.  
Ticked the box for accessorizes in easel and its wired right. stumped  
thanks!

---

<div class="post-metadata">

**Author:** ![NeilFerreri1](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/neilferreri1/32/84403_2.png) [@NeilFerreri1](https://community.inventables.com/u/NeilFerreri1)\
**Post date:** [April 3, 2019, 3:12pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/2 "2019-04-03T15:12:55Z")

</div>

Might depend on your grbl settings, but `M3 S10000` should turn it on.

`M5` should turn it off.

---

<div class="post-metadata">

**Author:** ![TomBaskin](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@TomBaskin](https://community.inventables.com/u/TomBaskin)\
**Post date:** [April 3, 2019, 3:42pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/3 "2019-04-03T15:42:09Z")

</div>

I tried the m3 s10000 and nothing happens

might you have any other suggestions?

---

<div class="post-metadata">

**Author:** ![JohnChamplain](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/johnchamplain/32/75884_2.png) [@JohnChamplain](https://community.inventables.com/u/JohnChamplain)\
**Post date:** [April 3, 2019, 7:22pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/4 "2019-04-03T19:22:39Z")

</div>

Try G1 M3 S12000

---

<div class="post-metadata">

**Author:** ![NeilFerreri1](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/neilferreri1/32/84403_2.png) [@NeilFerreri1](https://community.inventables.com/u/NeilFerreri1)\
**Post date:** [April 3, 2019, 7:43pm UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/5 "2019-04-03T19:43:02Z")

</div>

Can you post your grbl settings? (send $$ through the console)  
Also, how do you have the IoT and router wired?

---

<div class="post-metadata">

**Author:** ![AaronMarion](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/aaronmarion/32/58587_2.png) [@AaronMarion](https://community.inventables.com/u/AaronMarion)\
**Post date:** [April 4, 2019, 6:41am UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/6 "2019-04-04T06:41:59Z")

</div>

Turn the router switch to on. You have to re machine setup and select automatic spindle. Make sure you copy all your code if you have anything changed incase it resets it all.

---

<div class="post-metadata">

**Author:** ![TomBaskin](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@TomBaskin](https://community.inventables.com/u/TomBaskin)\
**Post date:** [April 4, 2019, 11:39am UTC](https://community.inventables.com/t/xcontroller-iot-relay-controller/71285/7 "2019-04-04T11:39:07Z")

</div>

Fixed! Dont know why but i re ran machine setup and the signal is now being sent and the router is working.

Thank you all for your help!  
Tom
