Connect an I²C device
I²C sensors share two lines (SDA/SCL) on the gateway.
Protocol: i2c · Requires: a gateway
Connection fields:
| Field | Meaning |
|---|---|
sdaPin / sclPin |
I²C data and clock pins |
clockHz |
Bus clock (e.g. 100000, 400000) |
sampleIntervalMs |
Read interval (ms) |
Steps
- Wire SDA/SCL (with pull-ups) to the gateway pins.
- Add a device with protocol i2c, pick the gateway, and set the pins + clock.
- Add a tag per measurement the sensor exposes.
i2c/fault events usually mean a wrong address, missing pull-ups, or a clock too fast for the wiring.