Common Issues and Troubleshooting (Home Assistant)¶
This document helps you quickly analyze and resolve typical problems when using aiohomematic with Home Assistant (integration: Homematic(IP) Local). The notes apply to CCU (CCU⅔, OpenCCU, piVCCU/Debmatic) and Homegear unless stated otherwise.
Note
If you're unfamiliar with terms like Integration, Add-on, Backend, Interface, or Channel, please read the Glossary first.
Contents:
- Quick symptom mapping (at a glance)
- Step-by-step diagnostics
- Common issues with causes and solutions
- Network/ports/container specifics
- Capturing logs and debug information
- When to open an issue – required information
1) Quick symptom mapping¶
This section provides a quick overview of common symptoms and their most likely causes. Use it to quickly identify the area of the problem before diving into the detailed diagnostics below.
| Symptom | Most likely cause | See section |
|---|---|---|
| No devices/entities visible after setup | Connection details wrong (host/IP, ports, auth), CCU not reachable, or callback not reachable from CCU | 3A |
| New devices not detected or incompletely recognized | Outdated cache data in Home Assistant | 3H |
| Entities present but without state changes | Event callbacks not arriving (firewall/NAT/Docker), XML-RPC blocked, or invalid session | 3B |
| Individual devices "unavailable" or stuck on old value | Device availability issue (UN_REACH/STICKY_UN_REACH), radio problems, battery device sleeping, or CONFIG_PENDING active | 3C |
| Writing values doesn't work | Permissions/auth problem, invalid parameter, validation error, wrong channel/parameter, or device unavailable | 3D |
| HmIP devices missing | HmIP service on CCU not active, wrong ports, or session/token issue | 3E |
| After CCU/Home Assistant restart no updates arrive | Callback not re-registered, port blocked, or reverse proxy/SSL terminator blocking internal connection | 3F |
| Ping-Pong mismatch / events going to wrong instance | Multiple HA instances with same instance_name, callback registration conflict | 3J |
| Auto-discovery notification keeps appearing | SSDP serial mismatch, integration created before discovery | 3K |
| "Error fetching initial data" warning | CCU REGA script returned invalid data, CCU overloaded | 3L |
| "Incomplete device data" repair issue | Paramset descriptions missing for devices, CCU data corruption or communication issue | 3M |
2) Step-by-step diagnostics¶
If you're experiencing issues, follow these steps systematically to identify the root cause:
Step 1: Basic connectivity checks¶
Before investigating integration-specific issues, verify basic connectivity:
- CCU/Homegear accessibility: Can you access the CCU WebUI in your browser? If not, the CCU itself may have a problem.
- Time and date: Is the time/date on the CCU correct? Incorrect time can cause authentication issues.
- Resources: Does the CCU have sufficient CPU/RAM? Check the CCU's system diagnostics.
- Network connectivity: Can Home Assistant reach the CCU? Try pinging the CCU IP from the Home Assistant host:
- Port accessibility: Are the required ports open? See the Network and Ports section for details.
Step 2: Verify integration configuration¶
Check your Home Assistant integration settings:
- Host/IP address: Use an IP address rather than a hostname to avoid DNS/mDNS resolution issues.
- Protocol selection: Ensure you've selected the correct protocol for your devices:
- BidCos-RF for classic Homematic wireless devices
- BidCos-Wired for wired Homematic devices
- HmIP-RF for HomematicIP devices
- Credentials: Verify username and password are correct (if authentication is enabled on the CCU).
Step 3: Verify callback reachability¶
This is crucial: The CCU must be able to reach Home Assistant's callback port. The communication is bidirectional:
Home Assistant → CCU: Commands, queries (you initiate)
CCU → Home Assistant: Events, state changes (CCU initiates via callback)
To test callback reachability:
- Note the callback port shown in the integration's diagnostics (default: dynamically assigned)
- From the CCU (if you have SSH access) or another device on the CCU's network, test connectivity:
- If this fails, check your firewall rules and Docker/container networking (see Network section).
Step 4: Enable debug logging¶
Enable detailed logging to see what's happening:
Easiest method - Enable via Home Assistant UI:
- Go to Settings → Devices & Services → Homematic(IP) Local
- Click Configure → Enable debug logging
- Reproduce the problem
- Click Disable debug logging - the debug log will be offered as a file download
Alternative - Via YAML configuration:
- Add to your
configuration.yaml: - Restart Home Assistant
- Reproduce the problem
- Check the logs in Settings → System → Logs
See the Logging section for details on interpreting log messages.
Step 5: Check device status on the CCU¶
In the CCU WebUI, verify the status of problematic devices:
- Device reachable?: Check if the device shows as reachable in the CCU
- UN_REACH/STICKY_UN_REACH: Look for these parameters in the device's MAINTENANCE channel
- CONFIG_PENDING: Is this parameter
true? If so, the device configuration is incomplete
Step 6: Cache and restart¶
After making changes:
- If device information seems outdated, use the
homematicip_local.clear_cacheservice - Restart Home Assistant
- In some cases, also restart the CCU (especially after firmware updates or significant configuration changes)
3) Common issues, causes, and solutions¶
A) No entities after setup¶
Symptoms:
- After setting up the integration, no devices or entities appear in Home Assistant
- The integration shows as "loaded" but the device count is zero
Possible causes:
- Wrong host/IP address or CCU port configuration
- Authentication failed (wrong username/password)
- Required CCU services not started
- RPC methods unavailable on the CCU
Diagnostic steps:
- Check the Home Assistant logs for error messages (look for "connection refused", "timeout", "401", "403", "404")
- Verify you can access the CCU WebUI at the same IP address
- Try accessing the CCU's XML-RPC port directly:
http://<CCU-IP>:2001/should show an XML-RPC response
Solutions:
- Verify the host/IP address is correct and reachable
- Double-check credentials (or try without authentication if it's disabled on the CCU)
- Restart the CCU to ensure all services are running
- Remove and re-add the integration in Home Assistant
B) Entities have no updates (only initial values or none)¶
Symptoms:
- Devices appear in Home Assistant but their states never change
- Sensor values are stuck on their initial reading
- Button presses or switch toggles on physical devices don't update Home Assistant
Possible causes:
- Event callback from CCU to Home Assistant is blocked
- Firewall blocking incoming connections to Home Assistant
- NAT/Docker networking preventing CCU from reaching the callback port
- Callback IP address is incorrect (e.g., internal Docker IP instead of host IP)
Why this happens:
The CCU sends state changes as "events" to Home Assistant via a callback connection. If this callback is blocked, Home Assistant can still query the CCU (so initial values work), but it won't receive updates.
Diagnostic steps:
- Check logs for "Registering callback" or "Subscribed" messages
- From the CCU's network, verify the callback port is reachable (see Step 3 in diagnostics)
- Check your firewall rules (ufw, iptables, Windows Firewall)
Solutions:
- Docker users: Use host networking mode (
network_mode: host) or correctly publish the callback port - Firewall: Allow incoming connections on the callback port from the CCU's IP
- Check callback IP: In the integration configuration, ensure the callback IP is one that the CCU can actually reach
- Avoid IP changes: Use static IPs or DHCP reservations for both Home Assistant and CCU
C) Individual devices are "unavailable"¶
Symptoms:
- One or more devices show as "unavailable" in Home Assistant
- The device was working before but suddenly became unavailable
- The CCU WebUI might show the device as "reachable" but Home Assistant shows it as unavailable
Understanding device availability:
The integration marks devices as unavailable based on UNREACH events received from the CCU. This is important to understand:
- How it works: When a device fails to respond to the CCU's communication attempts, the CCU sets the
UN_REACHparameter totrueand sends this information to Home Assistant via an event - The integration reacts to this event by marking all entities of that device as "unavailable" in Home Assistant
- This is intentional behavior: It ensures Home Assistant accurately reflects communication problems between the CCU and the device
Why the CCU WebUI might show different status:
The CCU WebUI may display device status differently than Home Assistant. However, the integration only reacts to the UNREACH events it receives from the CCU. It does not try to interpret or second-guess the CCU's behavior. If the CCU sends an UNREACH event, the integration marks the device as unavailable.
Possible causes:
- Radio/wireless issues: Device is out of range, interference, or weak signal
- Battery-powered devices: Device is in sleep mode and missed the CCU's query
- Device physically unreachable: Power loss, device failure, or device removed
- STICKY_UNREACH: A previous communication failure that hasn't been cleared
- CONFIG_PENDING: Device configuration is incomplete
Diagnostic steps:
- In the CCU WebUI, check the device's MAINTENANCE channel for:
UNREACH: Currently unreachableSTICKY_UNREACH: Was unreachable at some point (needs manual reset)CONFIG_PENDING: Configuration not yet applied- Check the physical device (batteries, power, location)
- Try triggering the device manually (press a button) to force communication
Solutions:
- Improve radio range: Move device closer or add a repeater (any mains-powered Homematic device acts as repeater)
- Replace batteries: Even if the device still works, low batteries can cause intermittent communication issues
- Reset STICKY_UNREACH: In the CCU WebUI, set
STICKY_UNREACHtofalsefor the device - Wait for CONFIG_PENDING: After pairing or configuration changes, wait until
CONFIG_PENDINGbecomesfalse - Re-pair the device: As a last resort, remove and re-pair the device with the CCU
Alternative behavior (force availability):
If you prefer to have devices remain available in Home Assistant despite UNREACH events (similar to how some interpret the CCU WebUI behavior), you have two options:
-
Service call: Use the
homematicip_local.force_device_availabilityservice to manually force a device to be marked as available. See the integration documentation for details. -
Automation with Blueprint: Use the "Reactivate" blueprints to automatically restore device availability after UNREACH events. These blueprints monitor for UNREACH events and automatically call the force availability service. See the Reactivate Blueprints in the integration documentation.
Note: Using these options means Home Assistant will show the device as available even when communication with the CCU is impaired. Use with caution, as this may hide actual device problems.
D) Writing fails (service call fails)¶
Symptoms:
- Service calls to control devices fail with an error
- Switches don't toggle, lights don't turn on, thermostats don't change temperature
- Error messages appear in the Home Assistant log
Possible causes:
- Validation error: Wrong parameter name, type, or value range
- Device unavailable: The device is marked as unavailable (see section C)
- Wrong channel: The parameter exists on a different channel than expected
- Permission issue: CCU user doesn't have write permissions
- Device busy: The device is processing another command
Diagnostic steps:
- Check the Home Assistant logs for the specific error message
- Verify the device is available (not showing as unavailable)
- In the CCU WebUI, check the Paramset description for valid values
Common validation errors and solutions:
| Error | Cause | Solution |
|---|---|---|
| "Value out of range" | Number too high/low | Check the parameter's MIN/MAX values |
| "Invalid parameter" | Wrong parameter name | Verify the exact parameter name in CCU |
| "Invalid channel" | Wrong channel number | Find the correct channel for this parameter |
| "Invalid type" | Wrong data type | Use correct type (number vs string vs boolean) |
Solutions:
- Check the entity attributes in Home Assistant to see valid value ranges
- Use the CCU WebUI to test if the parameter can be set there
- Verify the user configured in the integration has write permissions
- Ensure the device is available before sending commands
E) HmIP devices missing or not updating¶
Symptoms:
- HomematicIP (HmIP) devices don't appear in Home Assistant
- HmIP devices appear but don't update or respond to commands
- Classic Homematic devices work fine, but HmIP devices don't
Possible causes:
- HmIP service on the CCU not running or not properly paired
- Wrong port configuration (HmIP uses different ports than classic Homematic)
- JSON-RPC session/token expired or invalid
- CCU's HmIP radio module not functioning
Diagnostic steps:
- In the CCU WebUI, check Settings → System Control → verify HmIP service is running
- Check if HmIP devices work in the CCU WebUI itself
- Look for JSON-RPC related errors in the Home Assistant logs
- Verify port 2010 (or 42010 for TLS) is accessible
Solutions:
- Restart the CCU to restart all services including HmIP
- Check the CCU's system diagnostics for HmIP radio module status
- Restart the Home Assistant integration (or restart Home Assistant entirely)
- If problems persist, re-pair the HmIP devices in the CCU
F) No events after restart¶
Symptoms:
- After restarting Home Assistant or the CCU, devices show initial values but don't update
- Everything was working before the restart
- Logs show the integration started successfully
Possible causes:
- Callback registration after reconnect failed
- The callback port is now blocked or in use by another process
- A reverse proxy or SSL terminator is interfering with the callback connection
- The CCU hasn't re-established the callback subscription
Diagnostic steps:
- Check logs for "Registering callback" messages after restart
- Verify the callback port is still available and not used by another service
- If using a reverse proxy, check it allows the callback connection
Solutions:
- Restart the integration from Settings → Devices & Services → Homematic(IP) Local → Reload
- If using Docker with bridge networking, ensure port mappings are still correct
- For persistent issues, try host networking mode in Docker
- Check if any recent network changes might have affected connectivity
G) CONFIG_PENDING stays True¶
Symptoms:
- A device's
CONFIG_PENDINGparameter staystrueindefinitely - The device might work partially but seems incomplete
- Some features or parameters are missing
Understanding CONFIG_PENDING:
CONFIG_PENDING indicates that the device has configuration that needs to be transmitted but hasn't been fully applied yet. This is common:
- After initial pairing
- After changing device settings in the CCU
- For battery-powered devices that need to wake up to receive configuration
Possible causes:
- Battery-powered device is asleep and hasn't woken up to receive configuration
- Device is out of radio range
- Configuration process was interrupted
- Device has a problem preventing configuration completion
Solutions:
- Battery devices: Press a button on the device to wake it up and trigger configuration transfer
- Wait: Some devices may take several hours to complete configuration (especially battery-powered ones)
- Check range: Ensure the device is within radio range of the CCU or a repeater
- Re-pair: If nothing else works, remove the device from the CCU and pair it again
- Note: aiohomematic automatically refreshes MASTER parameters once
CONFIG_PENDINGbecomesfalse
H) New devices not detected or devices incompletely recognized¶
Symptoms:
- You added a new device to the CCU but it doesn't appear in Home Assistant
- A device appears but is missing channels or entities
- Device was working before but after a CCU update it's incomplete
Possible causes:
- Home Assistant's cache contains outdated device information
- The device wasn't fully paired when the cache was last built
- CCU has new device information but Home Assistant hasn't fetched it
- Device configuration changed but cache wasn't invalidated
Understanding the cache:
aiohomematic caches device descriptions and parameter information for faster startup. This cache is normally updated automatically, but in some situations it can become outdated.
Solutions:
- Clear the cache: Use the
homematicip_local.clear_cacheservice: - Go to Developer Tools → Actions in Home Assistant
- Search for
homematicip_local.clear_cache - Select your integration instance
- Click Call Service
- Restart Home Assistant after clearing the cache
- This forces a fresh discovery of all devices and their parameters
See the integration documentation for more details about the clear_cache service.
I) Unifi Firewall alerts: "ET EXPLOIT HTTP POST with Common Ruby RCE Technique in Body"¶
Symptoms:
- Unifi firewall shows security alerts for traffic between Home Assistant and CCU
- Alert message mentions "Ruby RCE" or similar exploit detection
- Homematic communication might be blocked or intermittent
Understanding this alert:
This is a false positive. The Unifi Firewall uses Suricata IDS (Intrusion Detection System) which incorrectly identifies XML-RPC communication as a potential exploit. Here's why:
- XML-RPC uses tags like
<methodCall>,<methodName>, and<params> - These tags resemble patterns found in Ruby marshal data
- Suricata rule SID 2019401 triggers on these patterns, assuming it's a Ruby code injection attempt
- The traffic is completely legitimate Homematic communication
Solutions:
-
Create an IDS suppression rule (recommended):
-
In Unifi Network Console, go to Settings → Security → Threat Management
-
Under Suppression, add an exception:
- Source IP: Your Home Assistant IP
- Destination IP: Your CCU IP
- Or suppress signature ID
2019401for traffic between these hosts
-
Use TLS-encrypted ports (alternative):
- Configure the integration to use encrypted ports (e.g., 42001 instead of 2001)
- This prevents the IDS from inspecting the payload content
Note: This alert is harmless for legitimate CCU communication and can be safely suppressed.
J) Ping-Pong mismatch (multiple Home Assistant instances)¶
Symptoms:
- Repair notification: "Pending Pong mismatch" or "Ping-pong mismatch"
- Devices stop updating or update intermittently
- Some events seem to be "lost"
Understanding the Ping-Pong mechanism:
The integration uses a heartbeat mechanism to verify communication:
- Home Assistant sends a PING to the CCU every 15 seconds
- The CCU responds with a PONG back to Home Assistant
- If the number of PINGs and PONGs don't match, there's a communication issue
Scenario 1: Fewer PONGs received than PINGs sent
- Cause: Another Home Assistant instance with the same
instance_namestarted after this one - Effect: The newer instance "stole" the callback registration - it now receives all events
- Alternative cause: Network issue or CCU communication problem
Scenario 2: More PONGs received than PINGs sent
- Cause: Another Home Assistant instance with the same
instance_namestarted before this one - Effect: This instance receives PONGs from both registrations
Solutions:
- Ensure unique instance names: Each Home Assistant installation connecting to the same CCU must have a unique
instance_name - Check for duplicate integrations: Remove duplicate integration entries
- Restart the affected instance: This re-registers the callback correctly
- Network issues: If only one HA instance exists, check firewall and network connectivity
Important: The instance_name is set during initial setup and should never be changed afterward (entities would be recreated). Choose unique names from the start.
K) Auto-discovery keeps appearing¶
Symptoms:
- SSDP discovery notification keeps appearing even though the CCU is already configured
- After clicking "Ignore", the discovery reappears after Home Assistant restart
- Multiple discovery entries for the same CCU
Possible causes:
- The CCU's serial number in SSDP doesn't match the configured entry
- The integration entry was created manually before discovery
- SSDP response contains different identifiers than expected
Solutions:
- Click "Ignore" on the discovery notification
- Or reconfigure the existing integration entry to link it with the discovery
- Restart Home Assistant after ignoring
- If the problem persists, check if the CCU's network configuration changed (IP, hostname)
Note: This is a cosmetic issue - your existing integration continues to work normally.
L) Error fetching initial data¶
Symptoms:
- Warning in logs: "Error fetching initial data" or "GET_ALL_DEVICE_DATA failed"
- Integration loads but startup is slower
- Higher CCU load during startup
Understanding this issue:
The integration uses optimized REGA scripts to fetch device data in bulk. If this fails, it falls back to individual requests (slower but functional).
This is typically NOT an integration bug - it's usually a CCU data issue.
Possible causes:
- CCU's REGA script returned invalid or malformed data
- Specific device has corrupted data in the CCU
- CCU is overloaded or REGA engine is stuck
- Very large device count causing timeout
Diagnostic steps:
- Get the REGA script
- Replace
##interface##(line 17) with the interface from the error message (e.g.,HmIP-RF) - Run the script in CCU web interface: Settings → Control panel → Execute script
- Check if the output is valid JSON
- Look for malformed entries or unexpected characters
Solutions:
- Restart the CCU to clear any stuck REGA processes
- Check for problematic devices in the script output
- Post in Discussions with the script output for help
M) Incomplete device data¶
Symptoms:
- Home Assistant shows a repair issue: "Incomplete device data"
- New devices paired with the CCU don't appear in Home Assistant
- Some devices are missing entities or show incomplete functionality
- Log messages mention "devices still missing paramsets after fetch"
Understanding this issue:
When new devices are discovered, aiohomematic fetches their paramset descriptions from the CCU. These descriptions define the device's parameters, channels, and capabilities. Without them, devices cannot be created in Home Assistant.
This issue occurs when:
- The CCU reports new devices, but
- The paramset descriptions for these devices cannot be fetched, even after multiple attempts
Possible causes:
- CCU data corruption: The device data in the CCU's internal database is corrupted
- Communication issues: Intermittent network problems between Home Assistant and CCU
- CCU overload: The CCU is overloaded and cannot respond to paramset queries
- Incomplete pairing: The device pairing process didn't complete correctly
- CUxD/Add-on issues: For virtual devices (CUxD), the add-on may have configuration problems
Diagnostic steps:
- Check the repair issue details: The repair notification includes the affected device addresses (e.g.,
NEQ1234567,CUX2800001) - Verify devices in CCU WebUI: Check if the affected devices appear correctly in the CCU's device list
- Check CCU system diagnostics: Look for high CPU/memory usage or service errors
- Review Home Assistant logs: Enable debug logging and look for errors related to
fetch_paramsetsor the specific device addresses
Solutions:
-
Restart the CCU: This often resolves temporary communication or service issues
-
Restart the CCU from its WebUI or physically
- Wait for all services to start completely (this can take several minutes)
-
Restart the Home Assistant integration
-
Re-pair the affected devices:
-
Remove the device from the CCU
- Factory reset the device (refer to device manual)
- Re-pair the device with the CCU
- Wait for
CONFIG_PENDINGto becomefalse -
Clear the cache in Home Assistant and restart
-
Clear the integration cache:
-
Use the
homematicip_local.clear_cacheservice - Restart Home Assistant
-
This forces a complete re-fetch of all device data
-
For CUxD/virtual devices:
-
Check the CUxD add-on status in the CCU
- Restart the CUxD add-on
-
Verify the virtual device configuration is complete
-
Check for CCU firmware issues:
- Ensure the CCU firmware is up to date
- Some firmware versions have known issues with paramset queries
- Consider updating or rolling back if problems started after a firmware update
If the problem persists:
- Download diagnostics from the integration and check for error patterns
- Post in Discussions with:
- The affected device addresses from the repair issue
- Device types (model numbers)
- CCU type and firmware version
- Debug logs showing the fetch attempts
4) Network, ports, and containers¶
Required ports¶
| Protocol | Standard Port | TLS Port | Description |
|---|---|---|---|
| BidCos-RF | 2001 | 42001 | Classic Homematic wireless |
| BidCos-Wired | 2000 | 42000 | Classic Homematic wired |
| HmIP-RF | 2010 | 42010 | HomematicIP |
| Groups | 9292 | 49292 | Heating groups (virtual thermostat) |
| JSON-RPC | 80/443 | - | CCU WebUI API (used for HmIP) |
Callback connection¶
The callback is the reverse connection from the CCU to Home Assistant:
┌─────────────────┐ ┌─────────────────┐
│ Home Assistant │ ◄──── Callback ───── │ CCU │
│ (port XXXXX) │ │ │
└─────────────────┘ └─────────────────┘
- Home Assistant opens a port and tells the CCU: "Send events to this IP and port"
- The CCU then connects to Home Assistant when events occur
- This port must be reachable from the CCU's network
Docker and container networking¶
Host networking (recommended for simplicity):
# docker-compose.yml
services:
homeassistant:
network_mode: host
# No port mappings needed - container uses host's network directly
- CCU can reach Home Assistant on the host's IP
- No port mapping complications
- Callback works automatically
Bridge networking (requires careful configuration):
# docker-compose.yml
services:
homeassistant:
ports:
- "8123:8123" # Home Assistant web interface
# Callback port is dynamically assigned - may need to configure a static port
- You must ensure the callback port is published
- The callback IP must be the Docker host's IP, not the container's internal IP
- Consider using a static callback port in the integration configuration
Firewall considerations¶
Common firewalls that might block the callback:
| Firewall | Check command | Configuration location |
|---|---|---|
| ufw (Ubuntu) | sudo ufw status | /etc/ufw/user.rules |
| firewalld (Fedora/RHEL) | sudo firewall-cmd --list-all | firewall-cmd commands |
| iptables | sudo iptables -L | /etc/iptables/rules.v4 |
| Windows Firewall | Get-NetFirewallRule | Windows Security settings |
| NAS firewalls | Varies | NAS admin interface |
Example: Allow callback port with ufw:
5) Logging and debug¶
Enabling debug logging¶
Easiest method - Enable via Home Assistant UI:
- Go to Settings → Devices & Services → Homematic(IP) Local
- Click Configure → Enable debug logging
- Reproduce the problem
- Click Disable debug logging - the debug log will be offered as a file download
Alternative - Via YAML configuration:
Add to your configuration.yaml:
logger:
default: info
logs:
# Main integration logging
aiohomematic: debug
custom_components.homematicip_local: debug
For more targeted logging, you can enable debug for specific modules:
logger:
default: info
logs:
# Specific modules for targeted debugging
aiohomematic.caches: debug # Cache operations
aiohomematic.central: debug # Central unit operations
aiohomematic.central_events: debug # Event handling
aiohomematic.client: debug # Client communication
aiohomematic.model: debug # Device/entity model
After changing logging configuration, restart Home Assistant.
Interpreting common log messages¶
| Log message | Meaning | Action |
|---|---|---|
| "Registering callback…" | Integration is setting up event subscription | Normal - good sign |
| "Subscribed…" | Callback registration successful | Normal - events should work |
| "Connection refused" | Cannot connect to CCU | Check CCU IP/port/firewall |
| "Connection timeout" | CCU not responding | Check CCU status and network |
| "401 Unauthorized" | Wrong username/password | Verify credentials |
| "403 Forbidden" | User lacks permissions | Check CCU user permissions |
| "404 Not Found" | Wrong endpoint/port | Verify port configuration |
| "Validation error" | Invalid parameter value | Check parameter name/type/range |
Downloading diagnostics¶
The integration provides a diagnostics download feature:
- Go to Settings → Devices & Services
- Find the Homematic(IP) Local integration
- Click the three dots menu (⋮)
- Select Download diagnostics
This file contains useful connectivity and configuration data for troubleshooting.
6) When opening an issue, please provide¶
When reporting issues on GitHub, include the following information to help with diagnosis:
Environment information¶
- CCU type and firmware version: CCU3 firmware 3.x.x, OpenCCU version, piVCCU/Debmatic version, Homegear version, etc.
- Home Assistant version: Core version (e.g., 2024.1.0)
- Integration version: Homematic(IP) Local version
- Python version (if relevant): Usually matches Home Assistant's Python
Network setup¶
- Installation type: Docker, Home Assistant OS, supervised, etc.
- Networking mode: Host networking, bridge networking, specific port mappings
- Proxy/VPN: Any reverse proxy, VPN, or special network configuration
- VLANs/Subnets: Are Home Assistant and CCU on the same network segment?
Problem description¶
- Exact symptoms: What exactly isn't working?
- What works: What still functions correctly?
- When did it start: After an update? After a configuration change? Randomly?
- Steps to reproduce: How can the problem be triggered?
Logs and diagnostics¶
📖 Why are diagnostics and logs so important? - Understand what we need and why complete data matters.
- Debug logs: From Home Assistant startup to the first error (at debug level)
- Diagnostics file: Download from the integration
- Affected devices: List of device types and addresses that are affected
- Device types: Which are HmIP vs. classic Homematic?
7) References¶
- Why diagnostics and logs matter - What data we need for issue analysis and why
- Lifecycle documentation - Understand how devices and data points are managed
- aiohomematic on GitHub - Library repository
- Integration repository - Homematic(IP) Local integration for Home Assistant
- Integration documentation - Available services and their usage
- Blueprints - Automation blueprints including Reactivate