H₂S Gas Sensor
STM32G431KB · Firmware v0.1.0

Live Dashboard

Real-time data from the STM32G431KB via bridge.py. Polling every 2 seconds.

Waiting for data from bridge.py…

Gas Concentration

ADC Code (raw)

Temperature

Humidity

Historical Data

No historical data in this window
Setup — how to connect the sensor

1. Connect the STM32 board via USB. Identify the serial port (e.g. /dev/ttyUSB0 or /dev/ttyACM0).

2. Copy .env.example to .env in the docs project and set INGEST_SECRET.

3. Install bridge dependencies: pip install pyserial requests

4. Run: python scripts/bridge.py --port /dev/ttyUSB0 --url http://localhost:4321/api/ingest

For remote deployment, use cloudflared tunnel and point --url to your Pages URL.