Table of Contents

ResetMaster

EEPROM Content

Configuration registry

[ x x x x  x x x x ]
           | | | \-  Use DHCP
           | | \---  Require passsword
           | \-----  Use CRAM-MD5 instead of cleartext password auth
           \-------  Bufferized channels (avoid toggle during reset)

Port config registry

Types:

Registry content:

[ na na na na na na 5h 5l ] [ 4h 4l 3h 3l 2h 2l 1h 1l ]

Port status registry

This register is used to save the status of bistable channels. The value isn't taken in consideration for normally open or normally closed channels.

Commands

* show channels
* show running-config
* show startup-config
* toggle channel <#>
* configure
* reload
* write

show channels

Displays channels status

Output:

Channel 1 [XXXXXXXXXXXXXXXX] (toggle): high
Channel 2 [XXXXXXXXXXXXXXXX] (toggle): low
Channel 3 [XXXXXXXXXXXXXXXX] (toggle): high
Channel 4 [XXXXXXXXXXXXXXXX] (Normally open)
Channel 5 [XXXXXXXXXXXXXXXX] (Normally closed)
Channel 6 [XXXXXXXXXXXXXXXX] (Normally closed)
Channel 7 [XXXXXXXXXXXXXXXX] (Normally closed)
Channel 8 [XXXXXXXXXXXXXXXX] (Normally closed)

show running-config

Displays the running configuration.

show startup-config

Displays the startup configuration.

toggle channel

Toggles the channel state.

If the channel is bi-stable, the channel will be kept in the current state until the channel is toggled again. Otherwise, the channel will be toggled into the active state (closed for a normally opened, opened for a normally closed) for 1 second.

configure

Enter into configuration mode

reload

Performs a self reset. User will be asked to confirm this action.

write

Writes the running configuration into the startup configuration.

Configuration

!
network
  dhcp no
  ip 192.168.1.15
  netmask 255.255.255.0
  gateway 192.168.1.1
  port 23
!
system
  auth cleartext-pass
  hostname psw0-f5zbr
  password thisisapassword
  output_buffer no
!
channel 1
  name CHANNEL 1
  type toggle
  state high
!
channel 2 {
  name CHANNEL 2
  type toggle
  state low
!
channel 3 {
  name CHANNEL 3
  type toggle
  state high
!
channel 4 {
  name CHANNEL 4
  type no
!
channel 5 {
  name CHANNEL 5
  type nc
!

Hardware Layout

Pins

Port Name Assignment
Analog A0 Do not connect (used for random seed)
A1 Mains voltage
A2 Battery voltage
A3/17 Channel 6
A4/18 Channel 7
A5/19 Channel 8
Digital 0 Serial RxD
1 Serial TxD
2 Unassigned
3 Unassigned
4 SPI CS SDCard
5 Channel 1
6 Channel 2
7 Channel 3
8 Channel 4
9 Channel 5
10 SPI CS Ethernet
11 SPI MOSI
12 SPI MISO
13 SPI SCK
SDA Unassigned
SCL Unassigned