I Cannot Send Commands to Android Screen with Xibo CMS

Hello, I installed xibo on a web server and downloaded the android player and successfully connected it to my android device. The content I want to send is reflected on my android screen. As you can understand, everything works fine but there is one thing that is not working. Whatever I did, I couldn’t send a command to my Android screen, does anyone have any information? According to some forums, I need to open port 9505 as tcp. But I didn’t want to open it without getting information from you, can you help me? All the changes I made are in the screenshots below.

Close screen command in Screens > Commands
su -c “am start -a android.intent.action.ACTION_REQUEST_SHUTDOWN”

Displays > Display Settings;




Displays > Display > Edit > Settings



Could you clarify whether this is the only command that isn’t working or if all commands are failing?

Please try testing simple commands like reboot. If the command works, you might want to modify the command you’re sending—for example, remove su -c and try:
am broadcast android.intent.action.ACTION_REQUEST_SHUTDOWN

1 Like

I tried but it didn’t work again. The server where the website is installed is windows based, could this be the problem?

Any news?
I installed linux on my other computer. I use my Linux computer as a server like providing a hosting service. I installed Xibo cms, mysql, mariadb, apache applications manually. port 80 is open to localhost from the webmin panel. when I type localhost/xibo/web, I get an error message.

“Not Found”
The requested URL was not found on this server.
Apache/2.4.62(Debian) Server At localhost poer 80

Dear Gorkem,

We need to confirm whether the XMR/send command is functioning properly in your CMS. Could you please try sending a reboot command to check its response in the Player?

Alternatively, you can test the functionality by using a simpler command, such as Request Screenshot or Collect Now, through the CMS interface:

  1. Go to Displays > Display Page > Select a Display -> Click on Row Menu.
  2. Select a command (e.g., Request Screenshot or Collect Now) and send it to a player.
  3. Verify whether the player executes the command immediately. For example, when requesting a screenshot, check if it is returned promptly.

Please let us know the results.

Dear Israt

When I want a screenshot from my selected android screen, it takes a black screenshot within 1 minute. But a colorful content returns on the screen.

Dear Gorkem,

Did you schedule any content on your player? I’d suggest scheduling an image content with a duration set to 1 minute and assigning it to the player. Then, while it is playing, request a screenshot. The screenshot should capture the image playing on the player rather than a black screen.

Let me know if this helps or if you need further assistance.

Dear Israt

I have a content spinning in my player, 4 random videos of 10 seconds, 20 seconds. but I still can’t send commands.
Please help me, I have xibo installed on a windows based server, should I open port 9505 on that server?

Which android device are you using? Are you able to turn off the Android device from the terminal on the device?
If not, your command wil not work.

If you want to turn off/on your screen instead of device. Use HDMI-CEC commands.

It is still unclear what you are trying to get as a result without telling us with hardware you are using.

My device information is as follows. Android Box, I will try to send a command as you said.

The model of the Android box: V8 MAX
Android Version: 8.1.0
Kernel Version: 4.9.76 (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) willie@ubuntu-PowerEdge-R730 #1 Tue Dec 11 11:22:41 CST 2018
Compilation Number: v8max0006

Do I need to open port 9505 on the hosting installed for my website to communicate with xmr? (installed on windows server and I cannot open port 9505)

I get this error below when I submit a design or want to publish a playlist.

Hello, is there any news?