Troubleshooting Guide
Common issues and solutions for the Flows platform.
Connection Issues
Mediator Server Unavailable
Symptom: Cannot connect to meters through mediator servers
Solutions:
-
Check mediator server status:
mediators list -
Verify network connectivity:
ping mediator.simtricity.com -
Check authentication credentials in environment variables
Meter Not Responding
Symptom: EMOP commands fail or timeout
Solutions:
-
Check meter signal quality:
emop csq EML2137580826 -
Verify meter is powered on and in range
-
Try direct connection without mediator:
emop -d meter_info EML2137580826
Data Collection Issues
Missing Interval Data
Symptom: Half-hourly interval data not appearing
Solutions:
- Check meter time synchronization
- Verify meter is configured for interval recording
- Review meter register configuration
- Check data export schedule
Incorrect Readings
Symptom: Register values don't match expected values
Solutions:
- Verify register mapping in database
- Check unit conversion factors
- Ensure correct meter model configuration
- Review tariff settings
Prepayment Issues
Token Generation Failures
Symptom: Cannot generate prepayment tokens
Solutions:
- Verify meter is in prepayment mode
- Check current balance status
- Ensure valid tariff is configured
- Review meter credit limits
Token Not Accepted
Symptom: Meter rejects valid token
Solutions:
- Check token format and length
- Verify meter key configuration
- Ensure token hasn't expired
- Check meter date/time settings
Database Issues
PostgREST API Errors
Symptom: API returns 4xx or 5xx errors
Solutions:
- Check authentication headers
- Verify API endpoint URL
- Review request payload format
- Check database permissions
Query Performance
Symptom: Slow API responses
Solutions:
- Use appropriate filters and limits
- Check database indexes
- Review query complexity
- Consider pagination for large datasets
CLI Tool Issues
Installation Problems
Symptom: Cannot install simt-emlite package
Solutions:
-
Update pip:
pip install --upgrade pip -
Install with verbose output:
pip install -v simt-emlite -
Check Python version (requires 3.8+)
Command Not Found
Symptom: emop or mediators commands not recognized
Solutions:
-
Verify installation:
pip show simt-emlite -
Check PATH environment variable
-
Try using full path:
python -m simt_emlite.emop
Common Error Messages
"Authentication failed"
- Check API key and JWT token
- Verify credentials haven't expired
- Ensure correct environment configuration
"Meter not found"
- Verify meter serial number
- Check meter is registered in database
- Ensure correct ESCO code
"Invalid tariff configuration"
- Review tariff structure
- Check date ranges
- Verify rate values are numeric
"Communication timeout"
- Check network connectivity
- Verify mediator server status
- Increase timeout values if needed
Getting Help
If issues persist:
- Check the GitHub repository for known issues
- Review API logs for detailed error messages
- Contact technical support with:
- Error messages
- Command used
- Meter serial number
- Timestamp of issue