EsoCore Installation Guide
Complete installation guide for deploying EsoCore industrial IoT monitoring across your facility. This comprehensive guide covers hardware
installation, network configuration, sensor deployment, cloud platform setup, and system integration for production deployments.
Prerequisites
Hardware Requirements
Per Monitored Machine:
- 1× EsoCore Edge device (STM32H747-based)
- 1-5× Sensor modules (based on monitoring requirements)
- Power supply (12-24V DC, 2A minimum) OR PoE-capable network switch
- Industrial microSD card (8GB+, SLC or MLC with wear leveling)
- Ethernet cable (Cat5e or better) OR WiFi access
- RS-485 cable (4-conductor shielded, Belden 3105A or equivalent)
Tools Required:
- Screwdrivers (Phillips and flathead)
- Wire strippers and crimpers
- Multimeter for voltage verification
- Drill and mounting hardware
- Cable ties and labels
- Laptop or tablet for configuration
Network Requirements
Connectivity Options:
- Ethernet with DHCP (recommended)
- Static IP assignment
- PoE (IEEE 802.3af) for power and network
- WiFi (2.4 GHz, WPA2 minimum)
Bandwidth:
- Minimal: <1 KB/min per device normal operation
- Peak: 10-50 KB during anomaly events
- Cloud sync: 50-100 MB/month per device
Firewall Requirements:
- Outbound HTTPS (port 443) for cloud sync
- Optional: Inbound HTTPS (port 443) for local web UI access
- Optional: Modbus TCP (port 502), PROFINET for integration
Skills Required
Basic Installation:
- Industrial equipment familiarity
- Basic electrical knowledge (12-24V DC safety)
- Network configuration basics
- Reading installation diagrams
Advanced Installation:
- Industrial protocol knowledge (Modbus, PROFINET)
- System integration experience
- Network troubleshooting capabilities
Installation Planning
Step 1: Equipment Assessment
Identify Monitoring Priorities:
- List all equipment to be monitored
- Classify by criticality (High/Medium/Low)
- Document historical failure modes
- Determine sensor requirements per machine
- Calculate total hardware requirements
Site Survey:
- Verify power availability (12-24V or PoE)
- Check network connectivity at each location
- Identify sensor mounting locations
- Plan cable routing paths
- Document environmental conditions
Create Installation Plan:
- Deployment schedule (phased approach recommended)
- Resource allocation (personnel, tools, time)
- Downtime windows for installation
- Testing and validation timeline
- Training schedule
Step 2: Hardware Procurement
Edge Devices:
- Quantity needed: [_____]
- Configuration: Standard or custom
- Accessories: Mounting hardware, power supplies
- Lead time: 2-4 weeks typical
Sensor Modules:
- Vibration sensors: [_____]
- Temperature sensors: [_____]
- Current sensors: [_____]
- Pressure sensors: [_____]
- Acoustic sensors: [_____]
- Other sensors: [_____]
Cables and Accessories:
- RS-485 cable length needed: [_____] meters
- Ethernet cables: [_____]
- Power cables: [_____]
- Junction boxes: [_____]
- Cable management: Ties, conduit, labels
Spare Parts:
- Recommend 10% spare sensors
- 2-3 spare Edge devices
- Spare cables and connectors
Edge Device Installation
Physical Installation
Location Selection:
- Within 100 meters of sensors (RS-485 range limit)
- Protected from physical damage
- Temperature: -20°C to +60°C
- Protected from moisture and contaminants
- Good WiFi signal if not using Ethernet
- Accessible for maintenance and viewing display
Mounting Options:
DIN Rail Mount:
- Measure required rail space (10cm width typical)
- Position device on 35mm DIN rail
- Press down until clips engage
- Verify secure mounting
Wall Mount:
- Mark mounting hole locations
- Drill holes appropriate for wall material
- Install anchors if needed
- Secure device with provided screws
- Ensure level and secure mounting
Panel Mount:
- Cut opening in panel per template
- Insert device from front
- Secure with provided brackets
- Seal edges if needed for environment
Power Connection
Option A: DC Power (12-24V)
- Verify power supply voltage: [_____]V DC
- Confirm current capacity: 2A minimum
- Identify polarity (typically red = +, black = -)
- Double-check polarity before connecting!
- Connect wires to terminal block:
- V+ to positive terminal
- GND to negative terminal
- Tighten terminal screws securely
- Apply power
- Verify power LED illuminates
- Check OLED display shows boot sequence
Option B: Power over Ethernet (PoE)
- Verify network switch supports IEEE 802.3af PoE
- Verify switch has available PoE budget (12.95W per device)
- Connect Ethernet cable to device
- Connect other end to PoE switch
- Device auto-detects and powers on
- Verify PoE LED illuminates
- Verify power LED illuminates
- Check network connectivity
Power Verification:
- Display shows firmware version and IP address
- Status LEDs indicate normal operation
- No error messages on display
- Device responds to network ping
Network Configuration
DHCP Configuration (Default):
- Connect Ethernet cable or configure WiFi
- Device obtains IP automatically
- Note IP address from OLED display
- Verify connectivity:
ping [IP_ADDRESS] - Access web UI:
https://[IP_ADDRESS]
Static IP Configuration:
- Initially connect via DHCP to access web UI
- Navigate to Settings → Network
- Change from DHCP to Static
- Enter static IP configuration:
- IP Address: [_____]
- Subnet Mask: [_____]
- Gateway: [_____]
- DNS Server: [_____]
- Apply settings
- Device reboots with new IP
- Verify connectivity at new IP address
WiFi Configuration:
- Power on device without Ethernet connected
- Device enters AP mode: "EsoCore-[SERIAL]"
- Connect laptop/phone to this network
- Browse to: http://192.168.4.1
- Enter WiFi credentials:
- SSID: [_____]
- Password: [_____]
- Security: WPA2 (recommended)
- Click "Connect"
- Device reboots and connects to WiFi
- Note IP address from display
- Verify connectivity
Network Troubleshooting:
- No IP address: Check DHCP server, cable connection
- Cannot access web UI: Check firewall, use HTTPS not HTTP
- Intermittent connectivity: Check WiFi signal strength, interference
- Slow response: Check network congestion, bandwidth
USB Connection (Maintenance and Development)
Purpose:
The USB connection on the EsoCore Edge device is used exclusively for:
- Firmware flashing: Updating device firmware
- Serial communication: Terminal access for diagnostics and direct device communication
Important Notes:
- USB is NOT used for normal operation or data collection
- USB is NOT used for network connectivity or data transfer
- Use network interfaces (Ethernet/WiFi) for operational communication
- USB access requires physical connection to the device
Serial Terminal Access:
- Connect USB cable between Edge device and computer
- Install appropriate USB-to-serial drivers if needed
- Use terminal application (PuTTY, screen, minicom):
- Baud rate: 115200
- Data bits: 8
- Parity: None
- Stop bits: 1
- Access diagnostic commands and system logs
Firmware Updates:
- Download firmware file (.bin or .hex)
- Connect via USB
- Enter bootloader mode (follow device-specific procedure)
- Flash firmware using appropriate tool
- Device reboots with new firmware
Sensor Installation
Vibration Sensor Installation
Location Selection:
- Close to rotating components (bearings, gears)
- Rigid mounting surface (not flexible sheet metal)
- Accessible for future inspection
- Away from excessive heat or contamination
Mounting Methods:
Stud Mount (Preferred - Best Accuracy):
- Drill and tap mounting hole (M6 or M8 typical)
- Clean mounting surface thoroughly
- Apply thin layer of coupling compound
- Thread sensor onto stud
- Tighten to specified torque
- Verify sensor is firmly mounted
Magnetic Mount (Quick Installation):
- Clean mounting surface (remove paint, oil, rust)
- Ensure surface is flat and smooth
- Place magnet base on surface
- Verify strong magnetic attachment
- Apply safety cable as backup
Adhesive Mount (Temporary or Testing):
- Clean surface with isopropyl alcohol
- Apply industrial adhesive or epoxy
- Press sensor firmly to surface
- Allow curing time per adhesive specs
- Verify bond before leaving
Wiring:
- Route 4-conductor shielded cable to sensor
- Strip wire ends carefully
- Connect to terminal block:
- Power+ (red)
- Power- (black)
- Data+ (green/A)
- Data- (white/B)
- Secure strain relief
- Connect shield to ground at one end only
DIP Switch Addressing:
- Each sensor needs unique address (1-254)
- Set address using binary DIP switches
- Example addresses:
- 00000001 = Address 1
- 00000010 = Address 2
- 00000011 = Address 3
- etc.
- Document address for each sensor
- Label sensor with address number
Temperature Sensor Installation
Mounting Locations:
- Bearing housings (direct contact)
- Motor bodies
- Hydraulic reservoirs
- Gearbox housings
- Process fluids (with thermowells)
Installation:
Surface Mount:
- Clean mounting surface
- Apply thermal compound for good contact
- Secure sensor with clamp or adhesive
- Insulate from ambient if needed
- Verify good thermal contact
Thermowell Installation (Process Fluids):
- Install thermowell in process per specifications
- Fill thermowell with thermal compound
- Insert temperature sensor
- Secure compression fitting
- Allow thermal stabilization (15-30 minutes)
Wiring:
Same 4-conductor bus connection as vibration sensors
Set unique DIP switch address
Current Sensor Installation
CT Clamp Installation:
- Identify motor power conductors
- Select appropriate clamp size for conductor
- Open clamp jaws
- Place around single conductor (not bundled cable)
- Close clamp until it clicks
- Arrow on clamp indicates current flow direction
- Secure clamp to prevent movement
- For 3-phase motors: Install clamp on each phase
Important Safety Notes:
- Never work on live circuits without proper training
- Follow lockout/tagout procedures
- Verify circuits are de-energized before installation
- Use appropriate PPE
- Follow electrical codes and regulations
Wiring:
Same 4-conductor bus connection
Set unique DIP switch address
Additional Sensor Types
Pressure Sensors:
- Install in pressure taps with appropriate fittings
- Use thread sealant or tape
- Verify pressure range matches application
- Consider pulsation dampeners if needed
Acoustic Sensors:
- Mount near sound source (bearings, valves, leaks)
- Avoid mounting on vibrating surfaces
- Use foam isolation pad if needed
- Protect from moisture and contamination
Proximity/Position Sensors:
- Mount with specified air gap
- Align with target surface/object
- Verify detection distance
- Secure mounting to prevent movement
RS-485 Bus Wiring
Cable Routing:
- Use 4-conductor shielded cable (Belden 3105A or equivalent)
- Keep away from power cables (minimum 12" separation)
- Avoid parallel runs with AC power
- Use conduit or cable tray for protection
- Support cable every 3-6 feet
- Avoid sharp bends (minimum 4× cable diameter radius)
Daisy Chain Topology:
Edge Device → Sensor 1 → Sensor 2 → Sensor 3 → ... → Last Sensor
- Connect Edge device to first sensor (4 wires)
- Connect first sensor to second sensor (4 wires)
- Continue chain to last sensor
- Maximum total length: 100 meters
- Shield grounded at one end only (usually at Edge device)
Termination:
- Install 120Ω termination resistor at last sensor
- Some sensors have DIP switch for built-in termination
- Required for proper signal integrity
- Edge device typically has built-in termination on its end
Bus Power:
- Edge device supplies +12V to sensor bus
- Total current limit: 2A
- Typical sensor consumption: 50-150mA each
- Calculate total: [Number of sensors] × [150mA] = [_____] mA
- Must be less than 2000mA
System Configuration
Initial Setup
Access Web Interface:
- Note IP address from Edge device display
- Open web browser on computer (same network)
- Navigate to:
https://[IP_ADDRESS] - Accept self-signed certificate warning (first time only)
- Default credentials:
- Username:
admin - Password:
esocore
- Username:
First-Time Setup Wizard:
- Change admin password (required)
- Set device name and location
- Configure timezone and NTP server
- Set network preferences (if not using defaults)
- Review settings and apply
Sensor Discovery
Automatic Discovery:
- Navigate to: Sensors → Discovery
- Click "Scan RS-485 Bus"
- System discovers all connected sensors
- Review discovered sensors list
- Verify expected sensors found
Assign Descriptive Names:
For each sensor:
- Click sensor to edit
- Change name from default to descriptive:
- "Motor 1 Drive End Bearing"
- "Pump Discharge Pressure"
- "Spindle Temperature"
- Assign location/machine association
- Set measurement units if applicable
- Save changes
Sensor Configuration
Sampling Rates:
Configure appropriate rates for each sensor type:
Vibration Sensors:
- Analysis windows: 1-3 kHz for 1-5 seconds
- Window frequency: Every 5-15 minutes
- Continuous RMS: 1-10 Hz
- Alert evaluation: Every 30-60 seconds
Temperature Sensors:
- Sampling rate: 0.1-1 Hz (every 1-10 seconds)
- Alert evaluation: Every 60 seconds
- Thermal time constant consideration
Current Sensors:
- Sampling rate: 100-500 Hz
- RMS calculation: 1-10 Hz
- Power analysis: Every 1-5 seconds
Pressure Sensors:
- Sampling rate: 1-10 Hz
- Alert evaluation: Every 10-60 seconds
- Filtering for pulsations if needed
Measurement Ranges:
- Select appropriate range for application
- Avoid saturation (clipping)
- Optimize for signal-to-noise ratio
- Can be adjusted based on baseline data
Baseline Collection
Understanding Baselines:
- System needs 2-4 weeks to learn normal operation
- Automatic process (no interaction required)
- Alerts disabled during baseline period
- Must include all operating modes
Monitoring Progress:
- Navigate to Dashboard → Baseline Status
- View percentage complete for each sensor
- Green checkmarks indicate sufficient data
- Typical completion: 2-4 weeks
Accelerating Baseline:
- Operate equipment through all modes
- Include startups and shutdowns
- Cover different load conditions
- Run through full operational range
- 24/7 operation speeds learning
Alert Configuration
After Baseline Completes:
- Navigate to Settings → Alerts
- Review suggested thresholds:
- Warning: 20% deviation from baseline
- Attention: 40% deviation
- Critical: 80% deviation
- Adjust sensitivity:
- More sensitive = earlier warnings, more false positives
- Less sensitive = fewer alerts, potentially late warnings
- Start with suggested values
- Tune based on experience
Notification Methods:
Email:
- Settings → Notifications → Email
- Enter SMTP server details:
- Server: smtp.example.com
- Port: 587 (TLS) or 465 (SSL)
- Username: [_____]
- Password: [_____]
- Add recipient email addresses
- Select severity levels to notify
- Test email delivery
Local Outputs:
- Wire relay outputs to alarm devices
- Configure trigger conditions
- Test before relying on
CMMS Integration:
- Settings → Integrations → CMMS
- Enter CMMS API endpoint
- Configure authentication
- Enable auto work order creation
- Map alert severities to work order priorities
Cloud Platform Setup (Optional)
Self-Hosted Deployment
Server Requirements:
- Linux server (Ubuntu 20.04+ recommended)
- 4 CPU cores minimum
- 8 GB RAM minimum
- 100 GB storage
- Docker and Docker Compose installed
Installation:
# Clone EsoCore repository
git clone https://github.com/newmatik/EsoCore.git
cd EsoCore/server
# Configure environment variables
cp .env.example .env
nano .env # Edit configuration
# Build and start services
docker-compose up -d
# Run database migrations
docker-compose exec web python manage.py migrate
# Create admin user
docker-compose exec web python manage.py createsuperuser
# Collect static files
docker-compose exec web python manage.py collectstatic
Access Platform:
- Admin interface: https://[SERVER_IP]/admin
- API endpoint: https://[SERVER_IP]/api/
- Configure DNS and SSL certificates for production
Managed Cloud Service
Sign Up:
- Visit: https://cloud.esocore.com (if using managed service)
- Create account
- Select plan based on device count
- Enter payment information
Device Provisioning:
- Navigate to Devices → Add Device
- Enter device serial number
- Generate API key
- Note API key (shown once)
- Device status shows "Pending"
Edge Device Configuration:
- On Edge device web UI: Settings → Cloud
- Enter cloud platform URL
- Enter device API key
- Configure sync interval (5-15 minutes recommended)
- Click "Test Connection"
- Enable "Auto Sync"
- Device appears online in cloud platform
System Integration
Modbus Integration
Modbus RTU (RS-485):
- Connect Modbus devices to dedicated RS-485 port
- Configure in web UI:
- Settings → Fieldbus → Modbus RTU
- Baud rate: 9600, 19200, or 115200
- Device addresses to poll
- Register map configuration
- Enable Modbus polling
- Verify data appears in dashboard
Modbus TCP:
- Configure in web UI:
- Settings → Fieldbus → Modbus TCP
- Enable Modbus TCP server
- Port: 502 (default)
- Configure Modbus master to connect to Edge device IP
- Provide register map documentation
- Test read/write operations
PROFINET Integration
- Settings → Fieldbus → PROFINET
- Configure device name (GSD file provided)
- Set I/O data mapping
- Import into TIA Portal or PLC configuration tool
- Configure PLC to read EsoCore data
- Test communication
REST API Integration
Authentication:
- API key authentication
- Include in header:
X-API-Key: [your-key]
Common Endpoints:
GET /api/v1/devices/ # List devices
GET /api/v1/sensors/ # List sensors
GET /api/v1/telemetry/ # Get sensor data
POST /api/v1/alerts/ack # Acknowledge alert
GET /api/v1/health/ # System health
Example Integration:
import requests
API_URL = "https://edge-device-ip/api/v1"
API_KEY = "your-api-key"
headers = {"X-API-Key": API_KEY}
# Get current sensor readings
response = requests.get(f"{API_URL}/telemetry/", headers=headers)
data = response.json()
Testing and Validation
Installation Verification Checklist
Hardware:
- All Edge devices powered and online
- All sensors discovered and responding
- Network connectivity stable
- Display shows correct status
- No error LEDs or messages
Configuration:
- Admin password changed from default
- Device names and locations set
- All sensors named descriptively
- Sampling rates configured
- Time zone and NTP configured
- Network settings correct (static IP if applicable)
Data Collection:
- Live data visible on dashboard
- Sensor readings appear reasonable
- Data logging to SD card verified
- Cloud sync functioning (if enabled)
- No data gaps or errors
Alerts:
- Test email notifications working
- CMMS integration tested (if configured)
- Local alarm outputs tested (if used)
- Alert thresholds set appropriately
Functional Testing
Test Scenarios:
- Normal Operation: Verify data collection during normal equipment operation
- Network Loss: Disconnect network, verify local operation and data buffering
- Power Loss: Simulate power loss, verify safe shutdown and data integrity
- Sensor Fault: Disconnect sensor, verify fault detection and alerting
- Alert Testing: Create alert condition, verify notification delivery
Performance Verification:
- Response time: <100ms for edge processing
- Data accuracy: Compare to reference instruments
- Alert latency: <1 second from detection to notification
- System uptime: 99.9% target
Documentation
Installation Records
Create documentation package including:
Equipment List:
- Edge device serial numbers and locations
- Sensor serial numbers and locations
- IP addresses (static or DHCP)
- API keys and credentials (securely stored)
Wiring Diagrams:
- RS-485 bus topology
- Power connections
- Network connections
- Integration connections
Configuration:
- Network settings
- Sensor configurations
- Alert thresholds
- Integration settings
Contact Information:
- Technical support
- Vendor contacts
- Internal IT contacts
- Maintenance team
User Training
Operator Training:
- Accessing web interface
- Viewing dashboard and data
- Responding to alerts
- Basic troubleshooting
Maintenance Training:
- System overview
- Alert interpretation
- Planned maintenance based on alerts
- Advanced configuration
Administrator Training:
- User management
- System configuration
- Integration management
- Troubleshooting
Maintenance
Routine Maintenance
Monthly:
- Review system health dashboard
- Verify all sensors responding
- Check SD card health
- Review alert logs
Quarterly:
- Clean sensors and connections
- Inspect cable conditions
- Verify sensor mounting secure
- Update firmware if available
Annually:
- Sensor calibration verification
- Battery backup replacement (if applicable)
- SD card replacement (preventive)
- System configuration backup
Troubleshooting
Common Issues:
See Quick Start Guide for detailed troubleshooting steps.
Support Resources
- Documentation: Complete technical docs
- Community: GitHub Discussions
- Commercial Support: support@newmatik.com
- Emergency: Include escalation procedures
Comprehensive installation complete! Your industrial IoT monitoring system is now operational and protecting your critical equipment.