Pin mapping
Which ESP32 and expander pins the inputs, outputs and peripherals of the boneIO ESP Dimmer gen2 use
This page is for people writing their own firmware (e.g. SUPLA, Tasmota) or a configuration from scratch. You don't need it for normal setup — the installer at boneio.eu/esp and the ready YAML files already contain these pins.
The tables are generated from the controller's public ESPHome configuration, so they match the firmware. "Inverted" means the active state is low. Ports commented out in the YAML (e.g. Modbus, 1-Wire) are not in the tables — their pins are in the comments of the source file.
Source: boneio-dimmer_gen2_8ch-v0_1.yaml
| Chip | Bus | Address | YAML ID |
|---|
| PCF8574 | i2c | 0x38 | pcf_inputs |
| lm75b | i2c | 0x48 | boneIO_temp |
| Name | YAML ID | On | Pin | Inverted |
|---|
| IN_01 | in_01 | PCF8574 0x38 (pcf_inputs) | 0 (P0) | yes |
| IN_02 | in_02 | PCF8574 0x38 (pcf_inputs) | 1 (P1) | yes |
| IN_03 | in_03 | PCF8574 0x38 (pcf_inputs) | 2 (P2) | yes |
| IN_04 | in_04 | PCF8574 0x38 (pcf_inputs) | 3 (P3) | yes |
| IN_05 | in_05 | PCF8574 0x38 (pcf_inputs) | 4 (P4) | yes |
| IN_06 | in_06 | PCF8574 0x38 (pcf_inputs) | 5 (P5) | yes |
| IN_07 | in_07 | PCF8574 0x38 (pcf_inputs) | 6 (P6) | yes |
| IN_08 | in_08 | PCF8574 0x38 (pcf_inputs) | 7 (P7) | yes |
| YAML ID | Name | On | Pin | Inverted |
|---|
chl01 | CHL 01 | ESP32 | GPIO18 | — |
chl02 | CHL 02 | ESP32 | GPIO17 | — |
chl03 | CHL 03 | ESP32 | GPIO16 | — |
chl04 | CHL 04 | ESP32 | GPIO15 | — |
chr01 | CHR 01 | ESP32 | GPIO7 | — |
chr02 | CHR 02 | ESP32 | GPIO6 | — |
chr03 | CHR 03 | ESP32 | GPIO5 | — |
chr04 | CHR 04 | ESP32 | GPIO4 | — |
| Function | Name | On | Pin | Inverted |
|---|
ethernet.reset_pin | eth | ESP32 | GPIO1 | — |
ethernet.interrupt_pin | eth | ESP32 | GPIO2 | — |
switch.gpio | Buzzer | ESP32 | GPIO9 | — |
ethernet.cs_pin | eth | ESP32 | GPIO12 | — |
ethernet.clk_pin | eth | ESP32 | GPIO13 | — |
uart.tx_pin | boneio_uart | ESP32 | GPIO14 | — |
uart.rx_pin | boneio_uart | ESP32 | GPIO21 | — |
switch.gpio | CAN Bus Switch | ESP32 | GPIO35 | — |
ethernet.miso_pin | eth | ESP32 | GPIO38 | — |
ethernet.mosi_pin | eth | ESP32 | GPIO39 | — |