Automation Smart Switch Notes


Contents

Introduction to the “Smart Switch”

The Smart Switch is a network connectable 3-circuit automation controller. Originally sold by Smart House (then Smart House Systems Ltd. then Kristil). This page of information applies to earlier versions of the Smart Switch.

The Smart switch typically connected to a PIR security sensor and/or reed switch and a 3-circuit output module, usually referred to as a Triac Module for dimming lights. There were also output modules for 1 or 3 circuit power relays and 8 low voltage relays for status indication. A Dalas 1-wire ID key can be connected for door and alarm control.

The network is RS-485 running half duplex at 31250 or 65000 baud. The network operates over Cat-5e cable which also supplies power (12VDC). The network is not electrically isolated within the Smart Switch. Multiple switches are often connected to the network in a daisy-chain configuration. Long network runs can cause problems with reliability depending on power supply distribution and loading.

The original Smart Switch models used the Motorola (Freescale) 68HC11 micro-controller. The very first, a one-time-programmable version, later on the 68HC11F1 with external RAM and Flash memory.

The Smart Switch stands alone or operates in conjunction with other switches and modules. It contains a lot of configuration settings. There are two levels of configuration programming; Installer Programming and User Programming.

Installer programming configures basic operation and interaction at the time of installation. These are mostly parameters that will not likely be changed in the future. They include configuration of alarms, heating lighting and networking.

User programming allows more regular configuration of lighting and testing of alarms; features or settings that the user may change periodically.

Due to the limited display capabilities of the switch and only four buttons hexadecimal (hex) codes are used to enter and display parameters; mostly in the installer programming mode. Not for the beginner without some previous practice.

Buttons and Controls

The 4 buttons on the switch are used for all data entry and control for the following guide.

Single Press a short single press (the shorter the better – don’t linger)
Double Press 2 short single presses in rapid succession
Long Press a single long press of about 2 seconds
Button 1 top; also used as “yes” or “accept” with a “long press”
Button 2 next down
Button 3 next down
Button 4 bottom; also used as “no” or “cancel” with a single “long press”

Timing is quite important with single and double press. Faster is usually better.

Key entry

HEX codes and other data are entered by repeatedly pressing the buttons to turn the LED’s on or off. There are 2 LED’s associated with each button; red and green. Four combinations exist for each button:

0 no LED’s
1 green LED only
2 red LED only
3 both LED’s on (may appear orange through the button)

Data & Hex display

Data is displayed and entered in HEX. Reading from the bottom of the switch to the top, represents the hex data as read left to right (msb at the bottom). Off = 0 and On = 1.

LED layout: 11111111 = bottom =  to top

The eight LED’s display display 2 hex characters at one time: 2A = 00101010

0 0000 8 1000
1 0001 9 1001
2 0010 A 1010
3 0011 B 1011
4 0100 C 1100
5 0101 D 1111
6 0110 E 1110
7 0111 F 1111

Power On – force status

Switch status can be forced by holding a combination of buttons at power-on. This is a safety feature that will usually allow recovery from a programming or setup error.

buttons 1,2 go to zone configuration
buttons 1,3 go to installer programming mode
buttons 3,4 bypass special function mode
buttons 1,2,3,4 default EEPROM
  .
  .
  .

Note: special function mode exists only to allow a specially configured switch to reprogram other switches on the network.

Installer Programming

Installer programming mode

This is use to configure parts of the controller that do not often require adjustment. This mode will automatically cancel after a period of time (was 15 minutes). You can quit or back-up at any time by a long-press on button 4.

Installer programming edits the EEPROM memory (512 locations). Installer programming can also edit system RAM memory but this is not normally useful and can upset normal Smart Switch operation.

To enter Installer Programming mode:

Start the alarm arming by a long press on button 4 then selecting 1,2 or 3. While the Exit delay is running, enter the installer code. This will turn off the alarm and make the switch beep at a 1 second rate and the back-lighting flashes.

Installer Programming Access Code
If you don’t know the installer programming code, then that’s a significant problem. One option may be to reprogram the switch from scratch. Alternatively, if you can send us the switch we may be able to extract the code. Reprogramming from scratch will likely loose all existing programming including user alarm and door codes.

While in engineering mode, there is a 1 second beeping, and LEDS that are on, flash ???

If you make it into programming mode, there are various options available. Which options, depends on the version you have:

Red 1 display local power supply voltage
Grn 1 configure zone inputs
Red 1 and Grn 1 copy light levels to all controllers on network
Red 2 display current temperature
Grn 2 configuration memory programming (default)
Red 2 and Grn 2 engineering memory quick display
Red 3
send out network message
Grn 3 default eeprom, options 1 to 4
Red 3 and Grn 3 reserved
Red 4 reserved
Grn 4 reset switch
Red 4 and Grn 4 reserved
Red 1 and Red 2 load factory defaults
Red 2 and Red 3 configuration memory dump via network
Red 3 and Red 4 display current sd countdown

Select an option (press buttons to set LEDs) then long-press button 1 to accept that option.

Red 1 = display current power supply voltage

This displays the ADC count for the power supply voltage. D0 hex is about 12V; higher count = higher voltage.

Green 1 = configure zone inputs

There can be 2 zones connected to the input on the back of the Smart Switch. It operates on a principal commonly referred to as “dual resistor end of line monitoring”.

Zone-1 = 470-ohm resistor across N.C. alarm contact
Zone-2 = 1K resistor across N.C.alarm contact

There must be another 470-ohm in series with both zones. The switch reads the resistors as being zone-1, zone-2, zone1 and zone-2 or a zone fault which is a condition too high or too low.

For maximum reliability the switch is trained to recognize the valid states.

activate only zone 1 and press button 1
activate only zone 2 and press button 2
activate zones 1 and 2 and press button 3
activate no zones and press button 4

Settings 2 and 3 are the most critical.

Once each button has been pressed, the green indicator comes on and the red zone indicators display correctly. If you make a mistake just press the buttons again.

When finished and the red zone indicators are responding correctly, hold the mode button for 2 seconds to exit this menu. The changes are saved as they are entered.

Red 1 and Green 1 = copy light levels out

This takes the current light level settings and sends them out to all controllers on the network.

Red 2 = display last temperature

This displays the current temperature in a two digit format; example = 00 to nn: 21 = 21 degrees C.

Green 2 = edit configuration memory = general programming

Now choose a block to program:

Red 1 0000 reserved RAM-BS1
Red 2 0100 reserved RAM-BS2
Red 3 FE00 program EEPROM (default – config settings)
Red 4 FF30 reserved EEPROM (codes)

The reserved blocks are for diagnostics rather than general configuration and require special access.

  • Long press button 1 to accept
  • Enter an address within the block to program and long press button 1 to accept
  • The controller now double-beeps and the back-lighting stops flashing
  • The data being displayed can be modified and accepted by a long-press on button-1
  • If no change is required, long-press button-4 to skip back a step to address entry
  • You are now back at address entry (step 3.) and the address displayed has incremented by one
  • You can accept the address or enter a new one
  • Long-press button-4 to skip back to the beginning of engineering-mode

Red 2 and Green 2 = memory quick display

Reserved for future use

Red 3 = send out a network message

This allows a broadcast network message to be manually entered and sent to all other controllers on the network. You will need to know the target address and data to be sent. This can be very useful but can also corrupt other switches or modules on the network.

This is only to be used if you know what you’re doing.

Green 3 = configuration defaults

Loads one of 4 predefined configuration defaults.

1 General room; typically 3 lighting circuits (lounge, family, kitchen, bedroom)
2  
3 Bathroom; typically 2 lighting circuits, one fan and one PWM circuit
4  

Red 3 and Green 3 = reserved

Reserved for special function

Red 4 = reserved

Reserved for future use

Green 4 = restart

Restart the switch from scratch. Normally used at the end of configuration programming to ensure that all changes are loaded and running.

Red 4 and Green 4 = reserved

Reserved for special function

Red 1 and Red 2 = factory default

Reloads the majority of the configuration memory with a set of factory defaults.
This option is intended to be used when a switch is in an unknown state due to previous configurations.

Red 2 and Red 3 = configuration memory dump

This will dump the contents of the configuration memory via the network. This is intended to be used to capture the controller configuration as a backup.
You must have a suitable recorder or PC interface connected to capture the data. Data is dumped at 9600 baud, 8-bit, 1-stop, no-parity.
The configuration data is dumped in a format that matches the programming data sheets.

Red 3 and Red 4 = display SD count

This displays the current status of the special function counter.

Address & Data entry

Enter an address, at which point the data currently in that address will be displayed. The data can be changed and stored with “YES” or canceled with “NO”.

The next address is then displayed, accept it with “YES”, or change it to the required address then “YES”. “NO” at this point takes you back to options #1.

Be very careful. It is possible to lock yourself out of the switch and/or corrupt it. If this happens, it must be returned for reprogramming or reset using a large network system.

Light control

The following relates mostly to lighting. In some places, alarm and lighting are connected.

There are 8 scenario’s.

Scenario 1 = button 1;general room lighting
Scenario 2 = button 2;general room lighting
Scenario 3 = button 3;general room lighting
Scenario 4 = normal auto mode, activated by zone 1 & when alarm is FULL armed
Scenario 5 = activated by zone 1 when alarm is PART armed
Scenario 6 = normal auto mode, activated by zone 2 & when alarm is FULL armed
Scenario 7 = activated by zone 2 when alarm is PART armed
Scenario 8 = available for general use

Scenario’s are best programmed using the User Programming Mode. Installer programming mode allows specific circuits to be eliminated from scenario’s. This is necessary for cupboard lights etc.

To eliminate a circuit from a scenario, program FF into the circuit address.

Low EEPROM CCT1 CCT2 CCT3

Scenario 1 = 79 7A 7B
Scenario 2 = 7C 7D 7E
Scenario 3 = 7F 80 81
Scenario 4 = 82 83 84
Scenario 5 = 85 86 87
Scenario 6 = 88 89 8A
Scenario 7 = 8B 8C 8D
Scenario 8 = 8E 8F 90

User Programming

User programming allows the user to make changes to basic operational characteristics.

This mode will automatically cancel after a period of time (was 15 minutes).
At any point during user programming you can cancel what you are doing by long pressing button 4.

To enter User Programming mode

make sure that the alarm is not armed or arming. Initiate by holding buttons 1 and 2 pressed for about 2 seconds or until you get a double beep and red indicators 1 and 2 begin flashing.

User Programming functions

button 1 = program scenario
button 2 = user test mode (green LED 2 flashing)

1 = door release
2 = alarm test (2-seconds)
3 = strobe (toggle on/off)
4 = .

button 3 = user program mode (green LED 3 flashing)

1 = light level adjustment
2 = zone isolation
3 = menu level B (password protected)1 = time delay programming
2 = user code programming

button 4 = set temperature (green LED 4 flashing)

1 = normal temperature
2 = set-back temperature
3 = display temperature

button 5 = program user codes

1 = .

User programmable time delays

time delay ID

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

description

zone-1 PIR timeout
zone-1 PIR timeout
zone-2 PIR timeout
zone-2 PIR timeout
lights timeout on arming
dusk lights timeout
circuit 1 timeout
circuit 2 timeout
circuit 3 timeout
alarm exit delay
alarm entry delay
alarm entry delay
alarm siren time
alarm siren time
auto-timed output
door lock pulse time
pwm on time
pwm 1 off time
pwm 2 on time
pwm 2 off time
pre-timeout beep

notes

auto-mode
alarm = stay armed
auto-mode
alarm = stay armed
.
.
garages, store-rooms

  “
.
away/holiday armed
when stay armed
away/holiday armed
when part armed
bathroom fan
.
on + off = 1 cycle
 “
on + off = 1 cycle
 “
pre auto-light timeout

default time

4-min
4-min
2-min
2-min
2-min
4-min
20-min
20-min
20-min
30-sec
30-sec
30-sec
6-min
30-sec
10-min
3-sec
5-sec
30-sec
5-sec
30-sec
60-sec
.
.
.
.
.
.
.
60-sec

.

mins – 1 to .
mins – 1 to .
mins – 1 to .
mins – 1 to .
.
.
.
.
.
secs –
secs –
secs –
secs –
secs –
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

reference

PIRTO1
PIRTO1_S
PIRTO2
PIRTO2_S
LTOALM
DL_TO
CCTO1
CCTO2
CCTO3
EXTDLY
ENTDLY1
ENTDLY2
ALMTIM
ALMTIM_S
ATOUT
LOCKTIM
PWM_1ON
PWM_1OFF
PWM_2ON
PWM_2OFF
TOBEEP
.
.
.
.
.
.
.
.