Lab Islands Overview — Open-Source Supply Chain (Coffee)
Farm · Factory · Distributor · Coffee House — four independent lab islands connected via REST APIs
Hyperledger Fabric provides a shared, tamper-proof batch ledger · Lab Cloud hosts the Fabric orderer service and the Coffee House IoT backend
Farm Island
Coffee Farm · Ethiopia / Colombia
LoRaWAN Sensors
Soil moisture · Temp · CO₂ · Light
MikroTik wAP LR8
LoRa → ChirpStack (local)
Linux Workstation
ERPNext · Node-RED · Kafka
Touch Display
Harvest & sensor dashboard
Fabric Peer Node
Writes harvest batch events
Factory Island
Coffee Processing & Roasting
2× Dobot Robots
Roasting / sorting / packaging
Dobot Studio / ROS2
Robot control · OPC-UA
Linux Workstation
ERPNext MES · Node-RED · Kafka
Touch Display
MES production interface
Fabric Peer Node
Writes roasting batch events
Distributor Island
Coffee Trader & Warehouse
Linux Workstation
ERPNext WMS · VROOM · Kafka
Goods Receipt
Barcode / RFID scanner
Route Planning
VROOM open-source optimiser
Touch Display
Warehouse & dispatch dashboard
Fabric Peer Node
Writes shipment batch events
Coffee House Island
Consumer endpoint · no ERP
POS System
Linux PC · RFID/barcode scanner
Coffee Machine + Sensors
Grind · temp · dose · water
Traceability Display
Full chain + brew parameters
Fabric Client (read-only)
Queries batch history via REST
No ERP · No local middleware
IoT handled by Lab Cloud
Green Beans
Roasted Coffee
Coffee Bags
REST APIs — B2B communication between companies
Lab Cloud (on-premise lab server — not Azure / AWS)
Hyperledger Fabric Orderer
RAFT consensus · shared ledger
Peers: Farm · Factory · Distributor
+ Fabric Gateway for Coffee House
Coffee House IoT Backend
Mosquitto MQTT broker
Node-RED · sensor normalisation
InfluxDB · REST endpoint for Display
Central Monitoring
Grafana cross-island dashboard
Hyperledger Explorer
Full supply chain visibility
IoT sensor data