# ESPHome configuration for myStrom motion sensor

## Flash

```
DAUGHTER (marking right way up)

JP2 [VCC][GND]

MAIN (antenna on the left)

        (○) TP6/VCC

           TP2/RX (○)
                                 (○) I2C bus
        TP1/TX (○)   (○) I2C bus



(○) TP7/GND
                      (○) TP5/GPIO0

WIRING

GPIO0 ➙ GND (Bootloader mode)
TX    ➙ Programmer's RX
RX    ➙ Programmer's TX
VCC   ➙ +3.3V
GND   ➙ 0V (GND)
```

## Schematics


```mermaid
---
title: myStrom motion sensor peripherals diagram
---
erDiagram
    ESP32 {
    }

    ESP32 ||--|| GPIOs : ""
    ESP32 ||--|| I2C : ""

    I2C {
        GPIO22-GPIO19 TSL2561
        GPIO22-GPIO19 TMP102
    }

    GPIOs {
        GPIO14 Plus-key
        GPIO33 PIR-sensor
        GPIO16 Red-LED
        GPIO17 White-LED
    }

```