Hello.
I plan to buy an as3935 sensor and search the web for wiring and proper lightning sensor configuration. But I found different involvement and also different problems.
Is this the correct connection and configuration (I2C)?
wiring on web (AS3935 Franklin Lightning sensor - Tasmota):
esphome yaml:
i2c:
scl: D1
sda: D2
scan: True
as3935_i2c:
irq_pin: GPIO13
indoor: False
spike_rejection: 5
sensor:
- platform: as3935
lightning_energy:
name: "Lightning Energy"
distance:
name: "Distance Storm"
binary_sensor:
- platform: as3935
name: "Storm Alert"
Thanks