Generic Serial Driver Installation

The Generic Serial driver is the swiss army knife for automation.  You can control most all devices that are serial (ComPort or an Ethernet serial device).

 



The Generic Serial driver is part of the Control Family License.  Click below to purchase the license.

MSRP $99.99

 

The native myServer Generic Serial device driver has been released. It is a member of the Control Family so you will create the primary serial devices in Family Manager and then the individual device control files are defined inside the driver itself. Similar to how the GlobalCache driver works.

At this point in time the driver is only capable of sending one-way commands to devices. A future enhancement will allow for two-way support. The serial device can either be connected via a local serial port or a networked device that uses a standard TCP connection.

Once the driver is installed go into Family Manager and add a new Control Family device. The important fields are "Address", "Port" and "Description". If your device is a serial device connected to a comm port you must fill in the Description field with the communication parameters that the serial port needs. e.g. 9600,8,N,1 for 9600 baud, 8 bits, No Parity, 1 Stop bit.

GenericSerial-FamilyManager.png
Family Manager
GenericSerial-FamilyManager.png (79.73 KiB) Viewed 8 times



Once you do that go into the driver and you should see that the device has been listed in the devices tab.

GenericSerial-Dialog.png
GenericSerial-Dialog.png (17.44 KiB) Viewed 8 times



You define the serial commands for your devices in the Serial Database tab. Serial data is entered as strings but if the device talks binary you must encode the string as a series of hex characters. In the example below you see that the Power On and Power Off commands need to be terminated with a Carriage Return - that's the hex \x0D at the end.

GenericSerial-Devices.png
GenericSerial-Devices.png (28.19 KiB) Viewed 8 times



The driver supports one command called Send. i.e. Send|22~Marantz~Power On