Universal 2-Way Serial Interface for ISY

From Autelis

Jump to: navigation, search

Welcome to the Product Page for Universal RS232/RS485 2-Way Serial Interface for ISY

Contents

About this product

The Autelis Universal RS232/RS485 2-Way Serial Interface for ISY allows you to connect virtually any device with an RS232 port to your Universal Devices ISY Home Automation Controller. Featuring 2-Way feedback using ISY variables to track realtime status information about your connected device such as audio volume, temperature readings, and more.

Return to the RS232 Product Page

Return to the RS485 Product Page

Downloads

See also Custom Firmware/Device Support

Hardware Version SN100

US100ISY (RS232) 1.1.7 Update

Current software version: 1.1.7

Hardware Version BN100

US100ISY (RS485) 1.1.5 Update

Current software version: 1.1.5

Hardware Version XN200

US100ISY (RS232) 1.3.1 Update

Current software version: 1.3.1

Notes

Firmware updates should only be applied over a local network connection.

Note: Firmware updates require the Java runtime available here: http://www.java.com/en/download

Installation

Installation Notes

Hardware Version BN100

Terminals on the RS485 interface are marked V (power), A, B, and G (ground). The device requires a supply of 5-12V DC power on the V pin and this can be provided either by the device/network you are interfacing with (recommended if available) or using the included splitter cable which will obtain power from the included adapter (positive is white stripe).

Hardware Version SN100

Simply plug the RS232 cable into the serial port on your equipment.

Hardware Version XN200

RS232 or RS485 (see label on device)

RS485 connections A and B are labeled on the terminal connector. This is a non-isolated RS485 connection. Please add additional protection/isolation if required for your application.

Connection to Network

Installation requires connection to your network router or switch which supports 10Base-T Ethernet. Connect the built-in ethernet port to your network device using the included cat-5 cable or a standard cat-5 networking cable of your choice. You may also use a wireless bridge or a Powerline network device to provide the network connection. The Autelis Universal Serial Interface device will obtain an IP address automatically via DHCP.

Connection to Power

Connect the included power adapter to the device and plug it into a standard wall outlet. When plugged in, the green LED on the ethernet port will blink for 5 seconds and then the device will boot normally.

1-Wire

NOTE: A maximum of 32 sensors are supported on a small network. As your network (wire length) grows, it will only reliably support fewer than 32 sensors. These trade-offs must be considered when designing your 1-wire network.

Hardware Version SN100

You can connect up to 32 1-Wire temperature sensors and the values will be automatically pushed to your ISY. The 1-Wire and RS232 connections share the same RJ45 connector, so purchase the optional RJ45 splitter and screw terminal adapter for easy connection to your 1-Wire sensors. The following sensors are supported: DS1822, DS1825, DS18B20, DS18S20. You must power your sensors from the supplied 3.3V Output on pin 7. A strong pull-up for parasite-power devices is not provided, but they have been tested and should work under most conditions. If your 1-wire network is subject to surges due to lightning or other discharges, additional protection circuitry should be used.

RS232/1-Wire Pinout

The pinout of the RJ45 RS232/1-Wire connection is described below. When looking at the connector with the tab side down, pin 1 is on the left and pin 8 is on the right. Obey the "Do Not Connect" pins as they have other functions internally.

Pin 1 - 1-Wire Data
Pin 2 - 1-Wire Data
Pin 3 - Do Not Connect
Pin 4 - Ground
Pin 5 - RS232 RX
Pin 6 - RS232 TX
Pin 7 - +3.3V Output
Pin 8 - Do Not Connect

NOTE: Please contact us for information on using 1-Wire humidity sensors.

Hardware Version XN200

You can connect up to 32 1-Wire temperature sensors and the values will be automatically pushed to your ISY. The 1-Wire connections are available on the terminal connector and marked on the device's label for easy connection to your 1-Wire sensors. The following sensors are supported: DS1822, DS1825, DS18B20, DS18S20. Power your sensors from the supplied 5V Output. A strong pull-up for parasite-power devices is not provided, but they have been tested and should work under most conditions. If your 1-wire network is subject to surges due to lightning or other discharges, additional protection circuitry should be used.

NOTE: Please contact us for information on using 1-Wire humidity sensors.

Web Interface

You can look for ISY Serial Interface in Windows under your list of uPnP Network devices. Double click on it to launch the web page. You may not see it listed there depending on your uPnP settings. You can also try accessing the web interface by typing 'http://userial' into your browser. This may not work with all routers and network configurations (see below hint). You can also type the IP address of the device which can be found in your router interface by matching an IP address from the table with the MAC address printed on the bottom of the device or by using an IP scanner tool to search by MAC address. Log in using the username 'admin' and the default password 'admin'.

Windows Hint: In your network connection properties under TCP/IPv4 properties, click the advanced button. In the DNS tab, select "Append these DNS suffixes (in order)" and click add and enter "." (a single period with no quotes).

Rules

This page displays any existing rules and allows you to create new rules. Rules are applied to all incoming serial port data and allow you to match patterns and send the results to ISY variables.

Rules consist of a pattern and a value for variable assignment. If there are no rules configured, a rule called "New Rule" will automatically be populated for you to configure. If there are existing rules, they will be labeled "Rule #" in numerical order. To add another new rule, click the "Add Rule" button. You can create up to 50 rules.

In the box marked "P" for pattern, enter the pattern you wish to detect in the serial port input stream. A pattern consists of up to 64 byte values and/or wildcards separated by commas. Bytes can be specified using their character equivalents or hex values. Wildcards are specified by the "*" (asterisk) character. If you need to match an asterisk in the pattern, use its hex value "0x2A".

Example Patterns
0,1,2,3,4
0x00,a,b,0xFF
v,a,l,u,e,=,*,*,*,*

In the box marked "V" for value, enter the value you want to be sent to the corresponding ISY state variable. A value can be either "C" for constant, "A" for ASCII integer extraction, "D" for ASCII decimal extraction, "B" for binary integer extraction, or "H" for ASCII hex value extraction. All values are limited to 16-bits. Then enter the additional parameters, separated by comma[s]. Constant values take one additional parameter: 16-bit integer value. ASCII extraction values take two additional parameters: zero-based index of pattern to start extraction, length of extraction (max 5 for ASCII integer, 5 for ASCII decimal (defines number of decimal places), max 2 for binary, max 4 for ASCII hex).

Example Values
A,2,5 - will extract the ASCII integer value starting at position 2 (zero-based) and length 5
B,4,2 - will extract the binary integer value starting at position 4 (zero-based) and length 2
C,100 - will send the constant integer value 100
D,5,2 - will extract the ASCII decimal value starting at position 5 (zero-based) and 2 decimal places
H,2,2 - will extract the ASCII hex value starting at position 2 (zero-based) and length 2 (1 byte)

Note: For every rule, you must create an associated ISY variable. These variables must be in the same order as the rules and will start at the offset specified in the "ISY" settings menu.

Advanced options

In firmware 1.1.5 and up, you have the option to add an offset to the variable before sending to ISY as well as assigning each variable to a unique, non-sequential ISY variable. To use these options, add a 4th and 5th parameter to the value fields. If you do not specify these parameters the functions will work as described above.

A,2,5,100 - same extraction as above, but will add 100 to the value
B,4,2,-50,10 - same extraction as above, but will subtract 50 from the value and store it into ISY state variable 10

When you are finished adding new rules, save the changes. Rules are not saved until they are listed as numbered timers instead of "New Rule".

To deactivate a rule, set the pattern to blank and save changes. The rule will be deleted from memory and the existing rules will be renumbered.

Import/Export

To export your configuration first make sure you have saved your changes, then click the export button. A textbox will appear containing the configuration data. Right click in this box and select all. Then copy the data to your clipboard and share it on the forum or save it in a text file.

To import a configuration first copy it to your clipboard from your import source. If the configuration data textbox is not shown, click the export button. Then replace the contents of the textbox with the data on your clipboard using the paste function. Click the import button and the data will be transferred into rules. You must click the save changes button to save the new rules to your device.

Settings

This page allows you to adjust various general settings.

The firmware version is displayed on this page.

The serial port baudrate is adjustable via the dropdown menu (2400,4800,9600,19200,38400,115200 bps). The packet format is 8 bits, None/Even/Odd parity, 1 stop bit. If you need other formats please contact us.

Debug settings are enabled/disabled by checking the appropriate box next to the debug type. Debug settings are also reset to off on reboot. When the Rules checkbox is checked, if there is a successful match of a rule, the result will be sent as text over the debug port (6001). When the RAW checkbox is checked, all serial data will be sent over the debug port as either ASCII text or hex values. To view the debug output connect to the debug port (6001) using a terminal such as putty in raw mode.

This page also allows you to change the admin password.

Clicking the reboot button will reboot the Autelis Universal Serial Interface.

Clicking the reset button will reset all settings to factory defaults (including password) and reboot the device.

ISY

On the ISY page you can enter your ISY device's IP address, HTTP port, password, and variable start index. The variable start index is the ID of the Rule 1 variable. Check the box to enable ISY if you want to receive the variable updates and then save changes.

If you have the RS232 version and are using 1-Wire devices, enter the 1-Wire variable start index. Make sure there is at least the minimum separation required for all of your serial rules between the two indices.

NOTE: After you have saved your settings the password field will be blank for security even though your password has been saved.

1-Wire

Hardware versions SN100 and XN200 support up to 32 1-Wire temperature or humidity sensors. This page will display a list of all the currently connected sensors and their current temperature readings. Refresh the page to update the readings.

To recognize new devices, click the Device Search button. New devices will be listed as they are found (page refresh may be required).

To erase the device database, click ClearDB. This will erase the record of all stored devices.

In firmware 1.1.5 and above, you have the option of setting a unique non-sequential ISY variable for each sensor. Click on the sensor name to set a specific variable number. If no variable number is specified (zero), the sensors will be assigned to sequential variables starting with the offset specified on the ISY settings page. When finished setting the variable numbers, click the Save button on the page.

In firmware 1.2.2 and above, you have the option to set a unique name for each 1-wire sensor (15 characters). Click on the sensor name to set the name. When finished setting the names, click the Save button on the page.

ISY Configuration

For 2-Way integration, you must have an ISY device with the Network Module installed and version 3.1.0 or greater firmware.

Variables

In the Variables Section of your ISY controller under State variables, create a sequence of variables, one for each rule you have made and in the same order. The lowest variable ID will be used as the offset as described above.

Network Resources

In the Network Resources section of your ISY controller, create commands to send data to the serial port on the Autelis Universal Serial Interface.

For example, to send "hello" to the serial port:

1. Create a network resource of type tcp.
2. Enter the hostname as your Autelis Universal Serial Interface device's IP address or "userial" and a port of 6000.
3. Select the mode as "Raw Text".
4. Type "hello" into the "Body" textbox.
5. Save your new network resource.

To create more commands you will follow the same procedure adjusting only the "Body" value (and mode if necessary). Using the copy button makes this very easy.


Emergency Factory Reset / Forgotten Password

In the event you have forgotten your password, you will need to factory reset your device.

Hardware Versions SN100 & BN100

To do this, go to http://userial/userreset.cgi?do=true or http://ip.address.here/userreset.cgi?do=true in your web browser and enter the username "admin" and for the password enter the security key printed on the label on the bottom of your device. The security key can only be used to factory reset the device and will not allow you to access any other web pages.

Hardware Version XN200

Remove power from the device. Use a pen tip to depress the reset button on the back of the device. While holding the button, apply power to the device. Hold the button for 5 seconds while the device is booting. The settings will be restored to factory defaults.

Custom Firmware/Device Support

The following devices are supported through customized firmware. If you would like to request support for a particular device please contact us.

GE Concord/Advent Security Alarms

The 60-783-02 - GE Interlogix ITI SuperBus 2000 RS-232 Automation Module and a compatible panel are required.

Hardware Version XN200

Download: US100ISY (RS232) Concord Update for XN200

Current software version: 1.3.1

Required settings: 9600bps, Odd parity

Configuration examples: Forum Thread

Note: If your existing firmware version number is greater or equal to the version number you are uploading, check the "Force Update" checkbox.

GE Caddx Security Alarms

The NX-584 interface or a NX-8E panel are required.

Hardware Version XN200

Download: US100ISY (RS232) Caddx Update for XN200

Current software version: 1.3.1

Required settings: Serial port set to ASCII mode on your Caddx system, baud rates configured to match in both devices.

Configuration examples: Forum Thread

Note: If your existing firmware version number is greater or equal to the version number you are uploading, check the "Force Update" checkbox.

Compliance Information

Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:

- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
- Connect the equipment into an output on a circuit different from that to which the receiver is connected.
- Consult the dealer or an experienced radio/TV technician for help.
Personal tools