Hardware and examples
Open-source firmware, gateways and example scripts for connecting lab devices to xPlant.
The xplant_os repository holds ready-to-adapt code for common lab hardware. Each device carries a device token, never a workspace key.
Devices
| Package | What it does |
|---|---|
| Raspberry Pi gateway | Python bridge from serial or MQTT sensors to xPlant, with a systemd service. |
| ESP32 sensor | ESP32 with a DHT22 or BME280, posting temperature and humidity. |
| ESPHome | YAML for ESPHome-flashed sensors. |
| Tasmota | Rules for Tasmota devices. |
| ESP32 scan station | Concept: a standalone QR and barcode scanner. |
| Bench kiosk | Concept: a touchscreen station for the bench. |
Examples
| Example | What it shows |
|---|---|
| basic-sensor | Post a reading with curl, Node.js or Python. |
| transfer-counter | Record a transfer from a script or a button. |
| contamination-check | Scan a vessel label and record a contamination against it. |
| local-dashboard | Ideas for a local sensor dashboard. |
Built something for your lab's hardware? Contributions are welcome; see CONTRIBUTING.md.