# Dashboard controlling multiple omxplayer on different rpi

**URL:** https://discourse.nodered.org/t/dashboard-controlling-multiple-omxplayer-on-different-rpi/48902
**Category:** Dashboard
**Created:** [26 July 2021 04:41 UTC](https://discourse.nodered.org/t/dashboard-controlling-multiple-omxplayer-on-different-rpi/48902 "2021-07-26T04:41:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![thepianocian](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@thepianocian](https://discourse.nodered.org/u/thepianocian)
#### Post date: [26 July 2021 04:41 UTC](https://discourse.nodered.org/t/dashboard-controlling-multiple-omxplayer-on-different-rpi/48902/1 "2021-07-26T04:41:18Z")

</div>

Is it possible to control omxplayers on different rpi devices but using only one central dashboard? I couldn’t seem to find a way in the forums or general Google searches. I have two different rpi devices that need to play omxplayer videos on each, but I want to control them from one dashboard only. The dashboard would be logged in from a different room. So far the only way I can figure to do it is to have each rpi device run its own nodered and have its own dashboard, but that is not ideal for the purposes I am running it for. I also don’t want to use the browser based dashboard html output because the video files are huge and have disconnected or stayed stuck in buffer mode if I go that route.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [26 July 2021 12:21 UTC](https://discourse.nodered.org/t/dashboard-controlling-multiple-omxplayer-on-different-rpi/48902/2 "2021-07-26T12:21:07Z")

</div>

Omxplayer is a CLI application and you can run it on the Pi that runs NR easily with an `exec` node, but to run it on some other Pi, you would have to somehow send a command to the pther pi and get it to run the command.

So your issue is how communicate between Pi's. One way would be to run a program on the other Pis (lets call them PiA and PiB) that subscribed to a MQTT topic and then have the control Pi (lets call it PiNR) publish a msg to the MQTT topic for PiA to get and a msg with a different topic for PiB.

Now you could have NR installed on PiA and PiB and make it easy to receive the MQTT msgs and run omxplayer or you can code a program or search for something else that will receive the MQTT msgs and put it on PiA and PiB but how to do that is up to you.

Personally, I would stick NR on all the Pi's mainly because I know it works and only have to deal with one tool.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [25 August 2021 12:21 UTC](https://discourse.nodered.org/t/dashboard-controlling-multiple-omxplayer-on-different-rpi/48902/3 "2021-08-25T12:21:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
