Device Control
Aida Platform provides comprehensive control over all smart building devices, from basic lighting to complex HVAC systems.
Supported Device Types
🔌 FMP (Fault Managed Power) Devices
- Class 4 Power Systems: High-voltage power distribution
- Fault Detection: Real-time fault monitoring and reporting
- Power Management: Load balancing and optimization
- Safety Features: Automatic shutdown on fault conditions
🌐 Network Switches
- Cisco Integration: Full support for Cisco Catalyst switches
- PoE Management: Power over Ethernet control and monitoring
- Port Management: Individual port control and configuration
- Network Monitoring: Traffic analysis and performance metrics
��️ HVAC Systems
- Temperature Control: Precise temperature setpoint management
- Fan Speed Control: Variable speed fan operation
- Zone Control: Individual zone temperature management
- Scheduling: Time-based temperature profiles
- Energy Optimization: AI-driven efficiency improvements
💡 Lighting Systems
- Dimmer Control: Smooth brightness adjustment
- Color Control: RGB and tunable white lighting
- Scene Control: Predefined lighting scenes
- Occupancy Sensing: Automatic on/off based on presence
- Daylight Harvesting: Automatic adjustment based on natural light
🪟 Window Shades
- Position Control: Precise shade positioning
- Tilt Control: Individual slat angle adjustment
- Scheduling: Time-based shade operation
- Sun Tracking: Automatic adjustment based on sun position
- Privacy Modes: Quick privacy and presentation settings
🪑 Smart Desks
- Height Adjustment: Electric sit-stand desk control
- Memory Positions: Save and recall preferred heights
- Usage Tracking: Monitor desk usage patterns
- Health Reminders: Encourage movement and posture changes
- Integration: Connect with lighting and HVAC systems
📊 Sensors
- Environmental: Temperature, humidity, air quality
- Occupancy: Motion detection and people counting
- Light: Ambient light level monitoring
- Noise: Sound level monitoring
- Energy: Power consumption measurement
Device Control Interface
Control Panel Layout
┌─────────────────────────────────────────┐
│ Device Name: Reception Light │
├─────────────────────────────────────────┤
│ Status: ● Online Power: ● On │
│ Brightness: ████████░░ 80% │
│ Color: #FFFFFF (White) │
├─────────────────────────────────────────┤
│ [Power] [Brightness] [Color] [Scene] │
└─────────────────────────────────────────┘
Quick Actions
- Power Toggle: Instant on/off control
- Brightness Slider: Smooth dimming control
- Scene Buttons: One-click lighting scenes
- Preset Controls: Save and recall settings
Advanced Control Features
1. Batch Operations
Control multiple devices simultaneously:
// Turn off all lights in a zone
await aida.devices.lights.batchControl({
zone: 'open-office',
action: 'turnOff'
});
// Set all HVAC units to energy saving mode
await aida.devices.hvac.batchControl({
action: 'setMode',
mode: 'energy-save',
temperature: 22
});
2. Scene Management
Create and manage lighting scenes:
// Create a meeting scene
const meetingScene = {
name: 'Meeting Mode',
devices: {
lights: { brightness: 100, color: 'cool-white' },
shades: { position: 'closed' },
hvac: { temperature: 21, fanSpeed: 'medium' }
}
};
// Apply scene
await aida.scenes.apply('meeting-mode');
3. Scheduling
Set up time-based device control:
// Office hours lighting schedule
const schedule = {
name: 'Office Hours',
devices: ['reception-light', 'office-lights'],
schedule: {
weekdays: {
start: '08:00',
end: '18:00',
action: 'turnOn'
},
weekends: {
action: 'turnOff'
}
}
};
Device Status Monitoring
Real-time Status
- Online/Offline: Device connectivity status
- Power State: Current power consumption
- Performance: Response time and reliability
- Health: Device health indicators
Status Indicators
🟢 Online - Device is connected and responding
🟡 Warning - Device has minor issues
🔴 Offline - Device is disconnected
⚪ Unknown - Status cannot be determined
Health Monitoring
- Response Time: Track device response times
- Error Rate: Monitor communication errors
- Uptime: Track device availability
- Maintenance: Schedule maintenance based on usage
Integration Capabilities
Protocol Support
- BACnet: Building automation standard
- MQTT: IoT messaging protocol
- Modbus: Industrial communication
- HTTP/HTTPS: RESTful API communication
- WebSocket: Real-time bidirectional communication
Device Discovery
// Auto-discover devices on the network
const discoveredDevices = await aida.devices.discover({
protocol: 'bacnet',
timeout: 30000
});
// Add discovered devices
for (const device of discoveredDevices) {
await aida.devices.add(device);
}
Custom Device Types
// Define custom device type
const customDevice = {
type: 'custom-sensor',
name: 'Air Quality Sensor',
properties: {
pm25: { type: 'number', unit: 'μg/m³' },
pm10: { type: 'number', unit: 'μg/m³' },
co2: { type: 'number', unit: 'ppm' }
},
controls: {
calibration: { type: 'function' },
reset: { type: 'function' }
}
};
Mobile Control
Mobile App Features
- Quick Controls: Swipe gestures for common actions
- Voice Control: "Turn on the lights" voice commands
- Location Awareness: Automatic control based on location
- Offline Mode: Control devices without internet connection
Mobile Interface
┌─────────────────┐
│ 🏢 My Building │
├─────────────────┤
│ �� Lights │
│ 🌡️ HVAC │
│ 🪟 Shades │
│ 📊 Sensors │
└─────────────────┘
Troubleshooting
Common Issues
-
Device Not Responding
- Check network connectivity
- Verify device power
- Review device logs
- Try device reset
-
Slow Response Times
- Check network latency
- Verify device performance
- Review system load
- Optimize network settings
-
Inconsistent Control
- Check device firmware
- Verify protocol compatibility
- Review control settings
- Update device drivers
Debug Tools
- Device Logs: View detailed device communication logs
- Network Monitor: Monitor network traffic and performance
- Protocol Analyzer: Analyze communication protocols
- Performance Metrics: Track response times and reliability
Best Practices
1. Device Organization
- Group devices by zone or function
- Use descriptive naming conventions
- Implement consistent control patterns
- Document device configurations
2. Control Strategies
- Use scenes for common combinations
- Implement gradual changes for comfort
- Set appropriate timeouts and limits
- Provide user feedback for all actions
3. Performance Optimization
- Batch operations when possible
- Cache frequently accessed data
- Use efficient communication protocols
- Monitor and optimize response times
Next Steps
- Energy Management - Optimize device energy usage
- Automation - Create automated control rules
- Analytics - Analyze device performance data
- API Reference - Integrate with custom applications
Ready to control your devices? Start with our Quick Start Guide or explore the API Reference for advanced integration.