IoT Device Setup
This guide covers the setup and management of IoT integrations for 4Geeks Perks, enabling real-time tracking and automated perk redemption through connected devices.
Premium Feature
IoT integrations are available exclusively on the Premium plan.
Overview¶
4Geeks Perks supports various IoT devices to create a seamless, touchless perk redemption experience:
- Vending Machines: Track snack and beverage consumption in real-time
- Coffee Stations: Monitor coffee usage and automate restocking alerts
- Self-Serve Markets: 24/7 unattended retail with automated checkout
- RFID Readers: Enable card-based authentication and payment at all IoT touchpoints
- Smart Lockers: Secure package delivery and perk pickup
Supported Devices¶
Vending Machines¶
4Geeks Perks integrates with smart vending machines that support:
- RFID card readers
- Cashless payment systems
- Inventory tracking
- Remote monitoring
- Real-time sales data
Compatible Brands: - Crane Merchandising Systems - Automatic Products International (API) - Seaga Manufacturing - TCN Vending - Custom solutions (via API)
Coffee Stations¶
Smart coffee and beverage systems with:
- RFID authentication
- Usage tracking
- Consumption analytics
- Automatic supply monitoring
- Quality metrics
Compatible Systems: - Jura professional machines - Franke coffee systems - Necta vending coffee - Custom IoT-enabled machines
Self-Serve Markets¶
Unattended retail spaces featuring:
- RFID-gated entry
- Smart shelves with weight sensors
- Computer vision for product recognition
- Automated checkout
- Real-time inventory management
Supported Solutions: - Amazon Just Walk Out technology partners - Standard RFID-gated micro-markets - Custom smart retail setups
RFID Readers¶
Standalone RFID readers for perk redemption:
- HID Global readers
- AWID readers
- Multi-technology readers (RFID + NFC)
- USB desktop readers for admin use
Prerequisites¶
Before setting up IoT integrations:
- Premium Plan: Ensure your account has Premium access
- Network Infrastructure:
- Stable internet connection at device locations
- Wi-Fi or Ethernet connectivity
- Adequate bandwidth for real-time data transmission
- Power Supply: Reliable electrical connection for all devices
- Physical Space: Appropriate location with adequate security
- IT Approval: Coordinate with your IT department for network access
Setting Up Vending Machine Integration¶
Step 1: Device Preparation¶
- Ensure the vending machine has:
- IoT controller module installed
- Network connectivity configured
- RFID reader attached (if not built-in)
-
Firmware updated to latest version
-
Test basic functionality:
- Product dispensing
- Payment processing
- Network communication
- RFID card reading
Step 2: Register Device in 4Geeks Perks¶
- Log in to the 4Geeks Console
- Navigate to Perks > IoT Devices > Add Device
- Select device type: Vending Machine
- Fill in device details:
- Device name: Descriptive name (e.g., “Building A - Floor 2 Vending”)
- Location: Physical location
- Serial number: Manufacturer’s serial
- MAC address: Network identifier
- IP address: Current IP (if static)
- Choose integration method:
- Direct API: For smart vending machines with native API
- Middleware: For machines requiring protocol translation
- Manual sync: For basic machines with limited connectivity
- Click Register
Step 3: Configure Integration¶
- After registration, click Configure on the device
- Set up API connection:
- API endpoint: Vending machine’s API URL
- Authentication: API key or OAuth credentials
- Polling interval: How often to sync data (recommended: 5 minutes)
- Map products:
- Import product catalog from vending machine
- Assign perk categories (snacks, beverages, healthy options)
- Set pricing and subsidy rules
- Configure redemption rules:
- Payment method: Wallet points, RFID card, or hybrid
- Daily limits: Maximum transactions per employee
- Eligible employees: Who can use this machine
- Test the connection:
- Click Test Connection
- Verify data flows correctly
- Perform a test transaction
- Click Save and Activate
Step 4: Employee Setup¶
- Notify employees about the new vending machine perk
- Ensure all employees have:
- Active 4Geeks Perks account
- Activated RFID card
- Sufficient wallet balance
- Provide usage instructions:
- Approach the vending machine
- Tap RFID card on reader
- Select product
- Confirm redemption
- Collect product
Setting Up Coffee Station Integration¶
Step 1: Machine Preparation¶
- Ensure coffee machine has:
- IoT module installed
- Network connectivity
- RFID reader (built-in or external)
-
Water and supply lines connected
-
Configure machine settings:
- Available drink types
- Cup sizes
- Temperature preferences
- Maintenance schedule
Step 2: Register Coffee Station¶
- Go to Perks > IoT Devices > Add Device
- Select device type: Coffee Station
- Fill in details:
- Device name: (e.g., “Main Break Room Coffee”)
- Location: Specific room or area
- Machine model: Manufacturer and model
- Serial number: For warranty tracking
- Choose integration method:
- Direct API: For smart machines
- IoT gateway: For machines with basic connectivity
- Click Register
Step 3: Configure Coffee Perk¶
- Click Configure on the registered device
- Set up drink catalog:
- Espresso, americano, cappuccino, etc.
- Tea and hot chocolate options
- Cold beverages (if applicable)
- Define pricing:
- Free for all employees
- Subsidized (e.g., company pays 80%)
- Wallet points deduction
- Daily limits (e.g., 3 drinks per day)
- Configure usage tracking:
- Track consumption by employee
- Monitor peak usage times
- Set restock alerts
- Enable notifications:
- Low supply warnings
- Maintenance reminders
- Usage threshold alerts
- Test the setup:
- Perform test redemption
- Verify tracking works
- Check notification delivery
- Click Save and Activate
Setting Up Self-Serve Market¶
Step 1: Market Infrastructure¶
Self-serve markets require more extensive setup:
- Physical Setup:
- Secure room or enclosed area
- RFID-gated entry system
- Smart shelves or computer vision cameras
-
Checkout station (optional for fully automated)
-
Technology Stack:
- Access control system
- Inventory tracking system
- Payment processing integration
- Security cameras
Step 2: Register Market¶
- Go to Perks > IoT Devices > Add Device
- Select device type: Self-Serve Market
- Fill in details:
- Market name: (e.g., “Building B Micro-Market”)
- Location: Full address and room
- Operating hours: 24/7 or specific times
- Capacity: Maximum concurrent users
- Configure access control:
- Link to RFID gate system
- Set entry authentication method
- Define emergency override procedures
- Click Register
Step 3: Configure Product Catalog¶
- Click Configure on the market
- Import product inventory:
- Upload CSV with product list
- Scan barcodes for automatic import
- Manual entry for small catalogs
- Categorize products:
- Snacks
- Beverages
- Meals
- Personal care
- Office supplies
- Set pricing and subsidies:
- Full price
- Discounted rate
- Wallet points only
- Mix of payment methods
- Configure inventory tracking:
- Set reorder thresholds
- Define supplier information
- Enable automatic reorder alerts
- Test the system:
- Enter with RFID card
- Select products
- Complete checkout
- Verify inventory update
- Check wallet deduction
- Click Save and Activate
RFID Reader Setup¶
Standalone RFID Readers¶
For locations without full IoT devices:
- Purchase compatible RFID reader
- Connect to network:
- USB to local computer
- Ethernet to network
- Wi-Fi configuration
- Register in 4Geeks Perks:
- Go to Perks > IoT Devices > Add Device
- Select RFID Reader
- Enter device details
- Configure endpoint
- Test card reading:
- Tap employee RFID card
- Verify employee identification
- Confirm wallet access
- Deploy at location
RFID Reader Configuration¶
- Set reader mode:
- Authentication only: Verify identity
- Payment enabled: Process wallet deductions
- Time tracking: Log entry/exit times
- Configure security:
- Encryption settings
- Anti-tampering alerts
- Offline mode behavior
- Set up notifications:
- Connection status
- Error alerts
- Usage reports
Monitoring IoT Devices¶
Device Dashboard¶
- Go to Perks > IoT Devices > Dashboard
- View all connected devices:
- Online/offline status
- Last communication time
- Transaction count (today/month)
- Error status
- Filter by:
- Device type
- Location
- Status
- Building
Device Details¶
Click on any device to see: - Real-time status - Transaction history - Inventory levels (if applicable) - Maintenance schedule - Error logs - Performance metrics
Alerts and Notifications¶
Configure alerts for: - Device offline: Immediate notification - Low inventory: Threshold-based warnings - High usage: Unusual activity detection - Maintenance due: Scheduled reminders - Error detected: System malfunction alerts
Set up at Perks > IoT Devices > Alerts
Troubleshooting¶
Device Offline¶
- Check physical connections:
- Power supply
- Network cable
- Router/switch status
- Verify network connectivity:
- Ping the device IP
- Check firewall rules
- Confirm DNS resolution
- Restart device:
- Power cycle
- Wait 2 minutes
- Check if it comes back online
- If still offline:
- Check device logs
- Contact device manufacturer
- Reach out to 4Geeks support
Transaction Failures¶
- Verify employee eligibility:
- Active account status
- Sufficient wallet balance
- Perk enabled for employee
- Check device status:
- Online and responsive
- No error states
- Recent successful transactions
- Review transaction logs:
- Go to Perks > Transactions
- Filter by device and time
- Identify error codes
- Common solutions:
- Retry transaction
- Re-sync device data
- Update device firmware
Inventory Discrepancies¶
- Perform physical count
- Compare with system inventory
- Identify discrepancies
- Adjust inventory in system:
- Go to device details
- Click Adjust Inventory
- Enter correct quantities
- Add adjustment note
- Investigate root cause:
- Theft or loss
- Sensor malfunction
- Sync errors
Security Best Practices¶
Network Security¶
- Use dedicated VLAN for IoT devices
- Implement firewall rules restricting device communication
- Enable WPA3 encryption for Wi-Fi devices
- Regularly update device firmware
- Monitor network traffic for anomalies
Data Security¶
- All data transmitted via TLS 1.3
- Employee data encrypted at rest
- Regular security audits
- Compliance with GDPR and local privacy laws
- Automatic session timeouts
Physical Security¶
- Install devices in monitored areas
- Use tamper-evident seals
- Implement access controls for maintenance
- Regular physical inspections
- Document all maintenance activities
API Integration¶
For custom IoT solutions, 4Geeks Perks provides REST APIs:
Authentication¶
POST /api/v1/auth/token
Content-Type: application/json
{
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"grant_type": "client_credentials"
}
Register Device¶
POST /api/v1/iot/devices
Authorization: Bearer {token}
Content-Type: application/json
{
"device_type": "vending_machine",
"name": "Building A Vending",
"location": "Floor 2, Break Room",
"serial_number": "VM-12345",
"integration_method": "api",
"api_endpoint": "https://vending-api.example.com"
}
Report Transaction¶
POST /api/v1/iot/transactions
Authorization: Bearer {token}
Content-Type: application/json
{
"device_id": "device_uuid",
"employee_id": "employee_uuid",
"product_id": "product_uuid",
"amount": 150,
"currency": "points",
"timestamp": "2026-04-24T10:30:00Z"
}
Maintenance¶
Regular Maintenance Tasks¶
Daily: - Review device status dashboard - Check for error alerts - Monitor transaction success rates
Weekly: - Review inventory levels - Check usage analytics - Verify data synchronization
Monthly: - Physical device inspection - Firmware update check - Security audit review - Performance optimization
Quarterly: - Comprehensive system audit - Network security review - Device calibration (if needed) - Vendor performance review
Firmware Updates¶
- Check for updates at Perks > IoT Devices > Updates
- Review release notes
- Schedule update during low-usage hours
- Backup device configuration
- Apply update
- Test functionality
- Monitor for 24 hours
Support¶
- Documentation: 4Geeks Perks guides
- Technical Support: iot-support@4geeks.io
- Device Compatibility: Check compatibility list or contact sales
- Custom Integration: Professional services available for custom solutions
Next Steps¶
- Learn about reporting and analytics
- Explore the administration guide
- Review the comprehensive FAQ
- Browse service-specific guides
Still questions? Ask the community or explore tutorials