Troubleshooting¶
This section helps you diagnose and resolve common issues with aiohomematic and the Homematic(IP) Local integration.
Quick Diagnostic Flowchart¶
flowchart TD
START([Issue Detected]) --> Q1{CCU WebUI<br/>accessible?}
Q1 -->|No| FIX1[Check CCU power/network]
Q1 -->|Yes| Q2{Can login<br/>with same creds?}
Q2 -->|No| FIX2[Fix credentials]
Q2 -->|Yes| Q3{Integration<br/>loads?}
Q3 -->|No| FIX3[Check HA logs]
Q3 -->|Yes| Q4{Events<br/>received?}
Q4 -->|No| FIX4[Check callback config]
Q4 -->|Yes| Q5{Specific device<br/>issue?}
Q5 -->|Yes| FIX5[Check device/entity]
Q5 -->|No| DONE([Working normally])
FIX1 --> START
FIX2 --> START
FIX3 --> START
FIX4 --> START
FIX5 --> START Quick Diagnostic Checklist¶
Before diving into specific issues, verify these basics:
| Check | How to Verify | Expected |
|---|---|---|
| CCU Reachable | Open CCU WebUI in browser | WebUI loads |
| Credentials Valid | Login to CCU WebUI | Login succeeds |
| Network Ports Open | telnet ccu-ip 2010 | Connection established |
| HA Logs Clean | Settings → System → Logs | No errors from homematicip_local |
| Admin Privileges | CCU → Settings → Users | User has admin role |
Common Issues by Category¶
Connection Problems¶
Device Issues¶
- Device not appearing
- Entity shows "unavailable"
- Values not updating
- Button events not working
- Missing parameters after firmware update
Performance Issues¶
Connection Problems¶
CCU Not Reachable¶
Symptoms:
- Integration fails to start
- "Connection refused" or "Timeout" errors in logs
Solutions:
- Verify CCU IP address is correct
- Check if CCU is powered on and fully booted
- Test connectivity:
ping your-ccu-ip - Verify firewall allows required ports (see Ports Reference)
Authentication Failures¶
Symptoms:
- "Authentication failed" error
- "Invalid credentials" in logs
Solutions:
- Verify username is exactly as shown in CCU (case-sensitive)
- Check password contains only allowed characters:
A-Z,a-z,0-9,.!$():;#- - Ensure user has administrator privileges in CCU
- Try logging into CCU WebUI with same credentials
Callback Issues¶
Symptoms:
- Devices appear but values don't update
- "No events received" warnings
- State changes in CCU not reflected in HA
Solutions:
- Verify CCU can reach Home Assistant (check firewall)
- For Docker: Set
callback_hostto Docker host IP - Check
callback_port_xml_rpcis not blocked - Verify no other integration uses same callback port
Docker Networking¶
Symptoms:
- Integration works initially but loses connection
- Events not received in Docker environment
Solutions:
| Setup | Recommendation |
|---|---|
| Docker with bridge network | Set callback_host to host IP, configure port forwarding |
| Docker with host network | Use network_mode: host (recommended) |
| Home Assistant OS | Should work out of the box |
Device Issues¶
Device Not Appearing¶
Symptoms:
- Paired device in CCU but not in HA
- Device visible in CCU but missing from HA devices
Solutions:
- Check Settings → System → Repairs for pending device notifications
- Reload the integration (Settings → Devices & Services → Reload)
- Verify device is paired in CCU and shows online
- Check if correct interface is enabled (HmIP-RF, BidCos-RF, etc.)
Entity Unavailable¶
Symptoms:
- Entity shows "unavailable" state
- Gray entity card in dashboard
Solutions:
- Entity might be disabled by default → Enable in entity settings
- Check device battery if wireless
- Verify device is in range of CCU
- Check RSSI values (see RSSI Fix)
Values Not Updating¶
Symptoms:
- Entity value doesn't change when device state changes
- Manual refresh required to see updates
Solutions:
- Check callback configuration (see Callback Issues)
- For CUxD/CCU-Jack: Enable MQTT for push updates
- Verify device sends events (some devices only send on significant changes)
Button Events Not Working¶
Symptoms:
- Button press doesn't trigger automation
- No events in HA developer tools
Solutions:
For HomematicIP remotes:
- Create central links: Use action
homematicip_local.create_central_links - Or activate in CCU: Devices → Click "+" → Channel → Activate
For classic Homematic buttons:
- Should work automatically after pairing
Performance Issues¶
Slow Startup¶
Symptoms:
- Integration takes long time to initialize
- Many "Fetching..." messages in logs
Solutions:
- First start after update is slower (cache rebuild) - this is normal
- Check network latency to CCU
- Reduce number of enabled interfaces if not all needed
- Consider disabling system variable/program scan if not used
High CPU Usage¶
Symptoms:
- Home Assistant CPU spikes related to integration
Solutions:
- Increase system variable scan interval (default 30s, try 60s+)
- Reduce number of enabled entities
- Check for rapid value changes causing event floods
Frequent Reconnections¶
Symptoms:
- "Connection lost" / "Reconnected" messages in logs
- Devices intermittently unavailable
Solutions:
- Check network stability between HA and CCU
- Verify CCU is not overloaded
- Check for IP address changes (use static IP or hostname)
- Review CCU logs for errors
Ports Reference¶
| Interface | Purpose | Default Port | TLS Port |
|---|---|---|---|
| HmIP-RF | HomematicIP wireless | 2010 | 42010 |
| BidCos-RF | Classic Homematic wireless | 2001 | 42001 |
| BidCos-Wired | Classic Homematic wired | 2000 | 42000 |
| Virtual Devices | Heating groups | 9292 | 49292 |
| JSON-RPC | Names, rooms, sysvars | 80 | 443 |
| XML-RPC Callback | Events from CCU to HA | Configurable | - |
Getting Debug Information¶
Home Assistant Logs¶
- Go to Settings → System → Logs
- Filter for
homematicip_localoraiohomematic - Enable debug logging if needed:
# configuration.yaml
logger:
default: info
logs:
aiohomematic: debug
custom_components.homematicip_local: debug
Download Diagnostics¶
- Go to Settings → Devices & Services
- Find Homematic(IP) Local integration
- Click the three dots menu → Download Diagnostics
- Attach to bug reports
Check Integration Version¶
- Go to Settings → Devices & Services
- Click on Homematic(IP) Local
- Version shown at top of page
Further Resources¶
Still Need Help?¶
- Search existing issues
- Ask in GitHub Discussions
- Open a new issue with:
- Home Assistant version
- Integration version
- CCU type and firmware version
- Relevant logs
- Steps to reproduce