Skip to content

LLM Resources

Hardware autodetection โ€‹

๐Ÿ”Ž Hardware autodetection โ€‹

bash
smartplant diagnose
Board:     Raspberry Pi 4 (Raspberry Pi 4 Model B Rev 1.4)
Platform:  linux/arm64, 4 core(s), 8GB
Serial:    /dev/ttyUSB0 โ€” ESP32 / ESP8266 (CP210x)
I2C:       0x23 BH1750, 0x76 BME280 / BMP280
Camera:    /dev/video0
Packages:  missing onnxruntime-node

Suggested: sensor "serial" (confidence 0.9)
  ยท Found ESP32 / ESP8266 (CP210x) on /dev/ttyUSB0. Flash it with the generated
    firmware and read over USB.
  ยท Camera available at /dev/video0 โ€” the vision layer can use it.
  ยท No GPU: prefer the classical vision tier, or a small quantized ONNX model.

Identifies the board from the device tree, serial devices by USB vendor id, I2C sensors by address, and which optional packages are installed โ€” then recommends a config and a firmware target with its reasoning and a confidence. Read-only throughout: it lists and reads, never writes or disturbs a bus.