Keypad Control for EPCR 5/6/7 and DIN4 (WiFi Capable) controllers.
The LCD has 2 lines, 16 character positions each. The displayed data depends on the mode, and possibly also on user scripting.
The keypad has 5 keys:
-
(UP),
(DOWN),
(ON),
(CYCLE),
(OFF).
During normal operation, the EPCR5 LCD and keypad interface can be in one of the following modes:
Changing Keypad Modes
- Outlet mode, which displays status of and allows to manipulate relay outlets;
- Meter mode, which allows to read measurements of the EPCR5 meters (bus voltages and currents, temperature and luminance) and calibrate them;
- Network mode, which displays and allows to configure network settings.
You can cycle through the modes by pressing and keys simultaneously.
*Tip - To enter network mode, hold down one button, then tap the other. E.g. hold down the Down button then tap the Up button and release both at the same time.
If the keypad is locked via web UI, the keypad doesn't work, and if you press a key, a message about this is displayed and stays in place until the next update of the LCD data; no action is taken.
Locking Outlets
Holding ON or OFF down for a few seconds has a locking effect. For example, if an outlet is currently in the ON state, it can be locked in this state by long-pressing '1'. A star appears, ie:
Press '0' and hold for a few seconds to unlock. Similarly, if the outlet is currently in the OFF state it can be locked by holding '0' and unlocked by holding '1'.
Outlet mode
At boot, EPCR5 starts in Outlet mode.
In Outlet mode, the and keys allow to choose the outlet to display. The first line shows states of all outlets.
The selected outlet is marked by a blinking cursor. Its name is displayed on the second line.
If the outlet is not locked (see below) and its physical state matches the expected state, it is displayed as:
- a plus sign for outlets that are on, or
- a minus sign for outlets that are off.
If the outlet's physical state doesn't match the expected state, (e.g. it will be switched on in sequence, or the bus power it is not powered but the outlet is expected to be on), its state is marked by:
- a minus/plus sign for outlets that are physically off, but should be on, or
- a plus/minus sign for outlets that are physically on, but should be off (this should be rare).
The button switches the selected outlet on, likewise the button switches it off.
You can press and hold each of the buttons for 3 or more seconds to lock the outlet in the corresponding state. Locked outlets can't be manipulated from web UI or with scripting, and won't be switched by using the hardware / keys unless you hold the corresponding key for 3 or more seconds to unlock it. Locked outlets are displayed as:
- a zero sign for outlets that are locked off, or
- an asterisk for outlets that are locked on.
The button cycles the selected outlet unless it's locked.
Managing outlet lock state can only be done using the LCD and keypad (unless you enable SSH). Locked outlets' states cannot be altered, and they are not affected by power loss recovery mode. However, they are still affected by over-current, over-voltage, and low-voltage safety shutdown configuration.
Meter mode
In Meter mode, the and keys allow to choose the meter to display. The meter name is displayed together with its current measured value.
Meters can be calibrated. Pressing the button starts the calibration process for the meter. The leading character of the first line, previously a whitespace , becomes an asterisk to indicate that.
The calibration progress and method are shown on the bottom line. For example, for voltages and currents, single-point scale calibration is used, so "1/1 SC" (first and only point, scale) is displayed. You can use the and buttons to adjust the value displayed to match he reading of an external measurement device (in his case, most likely a digital multimeter).
If this is the last point to calibrate, pressing will confirm and store the calibration values and leave calibration mode; the display will be updated in ~2 seconds and you will see a corrected reading. If there are more points to calibrate, pressing saves the current value and lets you input another calibration point.
You can cancel calibration at any time by pressing .
Bus voltage and current meter calibration can also be done using the web UI.
Network mode
In Network mode, the and keys allow to choose the network parameter to display. The parameter name is displayed together with its current value.
Most values can be changed. Pressing the button allows to change the parameter. The leading character of the first line, previously a whitespace , becomes an asterisk to indicate that.
Different kinds of values are changed in different ways:
- for selectable options, like IP address mode, WiFi mode and encryption, the / keys cycle through the available options;
- for netmasks, the / keys increase or decrease the mask;
- for IP and MAC addresses, a virtual cursor is used to allow modification of individual address bytes; the cursor is initially placed on the last byte, and can be advanced to the preceding byte by presssing ; the / keys increase or decrease the current byte's value;
- for the WiFi pre-shared key, any of the , or buttons generates a new key;
- the WiFi SSID can't be changed from keypad.
Pressing saves the current value and starts network reconfiguration if needed. The display isn't updated instantly, and you need to refresh it by pressing / . You can cancel editing at any time by pressing .