Community-maintained JSON configuration files for common industrial and commercial hardware devices. Used by applications to auto-configure device connections.
device-definitions/
├── cameras/ IP and USB camera snapshot configurations
├── scales/ Serial and network scale communication profiles
├── printers/ Ticket and label printer configurations
└── scanners/ Barcode and RFID scanner configurations
Each JSON file contains an array of device definitions with brand, type, and connection templates. Applications download the latest JSON at startup and use it to build connection strings from user-provided settings (IP, credentials, device name, etc.).
Templates use {placeholder} syntax. Common placeholders:
| Placeholder | Description |
|---|---|
{ip} |
Device IP address |
{port} |
Device port number |
{user} |
Authentication username |
{password} |
Authentication password |
{deviceName} |
Local device name (USB, serial port) |
{baudRate} |
Serial baud rate |
Applications fetch the raw JSON from this repo:
https://raw.githubusercontent.com/SeanSolleder/device-definitions/main/cameras/camera-snapshot.json
If the remote fetch fails, applications should fall back to a bundled local copy.
To add a new device:
- Find the appropriate category folder (cameras, scales, printers, scanners)
- Add your entry to the JSON array with:
brand,type, template fields, andnotes - Test the template with your actual device
- Submit a pull request
Image capture definitions for IP and USB cameras. Contains snapshot URL templates and capture commands used to take pictures (e.g. ticket photos at weigh stations).
Serial and TCP scale communication profiles including data formats, baud rates, and command strings.
Ticket and label printer configurations for direct printing.
Barcode and RFID scanner input configurations.
MIT