# Connect to a Pi and send it a message (act like its keyboard)

**URL:** <https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540>\
**Category:** Ignition\
**Created:** [August 8, 2025, 3:12pm UTC](https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540 "2025-08-08T15:12:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 8, 2025, 3:12pm UTC](https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540/1 "2025-08-08T15:12:37Z")

</div>

We have configured a Pi to invoke buzzers that we can set off to announce the start and end of operator break times. They can be invoked from the command line, and I’m wondering how I can get Ignition to basically act like the keyboard that types in those commands.

We have used a Pi connection to have Ignition _listen_ to the output of a particular port, but is it possible to connect to a port that receives text that gets executed as a command?

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [August 8, 2025, 3:18pm UTC](https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540/2 "2025-08-08T15:18:06Z")

</div>

Use one of the many Modbus tcp libraries on your pi with python to form a modbus tcp device and use the ignition driver to trigger coils on modbus that trigger python call to subprocess.run().

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [August 8, 2025, 3:21pm UTC](https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540/3 "2025-08-08T15:21:57Z")

</div>

I like to use cheap Click/Click Plus PLCs from Automation Direct for stuff like this. However, you certainly can use a RPi as @David_Stone just detailed.

MQTT could be another option, like Node-Red.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [August 8, 2025, 3:28pm UTC](https://forum.inductiveautomation.com/t/connect-to-a-pi-and-send-it-a-message-act-like-its-keyboard/109540/4 "2025-08-08T15:28:40Z")

</div>

You can also comfortably use IFM IO-link masters for REST API control and access to io link devices directly. In fact you get normal IO with this method too. Saves having to put them in an enclosure.
