Internally, the Konnected application references pins instead of zone numbers. Zone numbers are labeled sequentially for user-friendliness, but the internal pin numbers map to the GPIO index of each I/O port on the ESP chip. Your application should maintain this mapping and communicate to the Konnected device only referencing pin numbers.
Konnected Alarm Panel (ESP8266) Zone to Pin Mapping
Used for the original NodeMCU based Konnected Alarm Panel, Konnected Alarm Panel v2 and other products using the ESP8266 based WiFi chip.
Zone # | NodeMCU Pin # | GPIO # |
1 | D1 | GPIO5 |
2 | D2 | GPIO4 |
3 | D5 | GPIO14 |
4 | D6 | GPIO12 |
5 | D7 | GPIO13 |
6 | RX or D9 | GPIO3 |
OUT or ALARM | D8 | GPIO15 |
Alarm Panel Pro (ESP32) Zone to GPIO Mapping
The Alarm Panel Pro uses the ESP32-WROOM-32D chip from Espressif and the following zone to GPIO mapping.
Zone # | GPIO # |
1 | GPIO4 |
2 | GPIO2 |
3 | GPIO15 |
4 | GPIO13 |
5 | GPIO18 |
6 | GPIO14 |
7 | GPIO33 |
8 | GPIO32 |
9 | GPIO36 |
10 | GPIO39 |
11 | GPIO34 |
12 | GPIO35 |
ALARM1 | GPIO12 |
OUT1 | GPIO23 |
ALARM2 or OUT2 | GPIO5 |