In this guide I will go through how you can connect a Nexmosphere device to a Premium player and trigger scenarios based on different triggers coming from the Nexmosphere device. These triggers include RFID, Button clicks, Motion, Lift & learn and many more.
TABLE OF CONTENTS
Connecting the Nexmosphere device to your player PC
First step of getting this to work is to connect the Nexmosphere device to your player. To do that just connect the USB into the player PC.
To test that the signal between the Nexmosphere device and the PC is working, you can download the following software.
https://www.compuphase.com/software/termite-3.4.exe
Install that on the player and use the following settings, the COM port might vary but the rest of settings should be the same.
If you cant get the signal to work, i recommend trying to install the drivers found on this link.
https://www.dropbox.com/s/er39l4r49vl7y9u/PL23XX_Prolific_DriverInstaller_v408.zip?dl=1
For more information on the different Nexmosphere devices, please see the Nexmosphere knowledge base found here.
https://nexmosphere.com/support-documentation
Controlling Dise with Nexmosphere devices
When the signal is working between the Nexmosphere device and the PC player. You want to start getting it to work with Dise. To do this we need to use Scripting. For most of our integrations we use Python, but you can also use Javascript.
The first step is to install and connect the Premium to the CX Portal. The Premium player can be downloaded under the Admin section of your CX Portal brand. Download the .exe to the player and install it. When that is done you need to connect it to the Portal. Please see this guide on how to do that.
https://support.dise.com/en/support/solutions/articles/9000200421-displays
When you have connection between the Portal and the player you then can start creating your scripts.
A basic script to connect to the device can look like this. (Note: You need to stop the connection in Termite to be able to connect with scripts. Only one connection can be open at one time)
import serial ser = serial.Serial( port='COM3',\ baudrate=115200,\ parity=serial.PARITY_NONE,\ stopbits=serial.STOPBITS_ONE,\ xonxoff=True,\ bytesize=serial.EIGHTBITS,\ timeout=0) print("connected to: " + ser.portstr) count=1
In this example I am connecting to 'COM3', this might differ for you.
To read the signals being sent you can add the following to your script.
for line in ser.read(): time.sleep(0.5) packet = ser.readline() packet_clean = (packet.decode('utf').rstrip()) print(packet.decode('utf').rstrip())
This will read each line that comes in and print it in the log.
In order to control anything using these signals you need it to connect to different Dise triggers.
For more information about this please see the following document.
http://developer.dise.com/DISEScript%20API%20Doc%202022-08-12.pdf
In that document you can find different Dise specific functions that you can trigger using the Nexmosphere device.
For additional reading into Dise scripting please see this article.
https://support.dise.com/en/support/solutions/articles/9000173620-scripting-and-integrations
For more information on Scenario triggers, please see this article.
https://support.dise.com/en/support/solutions/articles/9000200422-create-a-trigger
When you have your script built then the next step is to send it out to the player. In order to do this you need to download and install the CX Composer. This can be done from the same place as you downloaded the Premium player.
If you do not have a login for Composer, please contact sales@dise.com or support@dise.com.
For more information on scripts and how to upload them to the CX Portal, please see this article.
https://support.dise.com/support/solutions/articles/9000173620-scripting-and-integrations