Help Debugging Homematic (connection seems good, but no entities created)

Sorry for yet another Homematic Topic, but I can’t get my head around this …

The devices I’m trying to connect also worked before. They are simple default thermostates, don’t have the name ready, but you know the bunch :stuck_out_tongue:
I’ve got a Pi 3 running pyCCU 3 with all ports open, full firewall access and the most simplistic setup for HA:

homematic:
   interfaces:
     wireless:
       host: 10.7.28.163
       username: myuser
       password: mypassword

From the logs it seems everything is fine? At least the proxy is started and I don’t get any errors.
On the other hand I don’t get any entities whatsoever and can’t access anything from homematic.
I’ve tried more sophisticated configurations, with callbacks and such. All seemingly worked, none created anything for me to work with in HA.

Please help me :sob:

Log (careful, long and useless)

2021-01-04 15:19:47 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-04 15:19:48 INFO (SyncWorker_0) [pyhomematic._hm] Creating proxy wireless. Connecting to 10.7.28.163:2001
2021-01-04 15:19:48 INFO (Thread-3) [pyhomematic._hm] Starting server at http://0.0.0.0:35305
2021-01-04 15:19:48 INFO (SyncWorker_0) [pyhomematic._hm] Proxy for homeassistant-wireless initialized
2021-01-04 15:19:56 WARNING (MainThread) [homeassistant.components.netatmo] Webhook not registered - https and port 443 is required to register the webhook
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=CONTROL_MODE, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=FAULT_REPORTING, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=BATTERY_STATE, value=2.6
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=VALVE_STATE, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=BOOST_STATE, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=ACTUAL_TEMPERATURE, value=17.4
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=SET_TEMPERATURE, value=10.5
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_TEMPERATURE, value=5.0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_TIME, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_DAY, value=1
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_MONTH, value=1
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_YEAR, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_TIME, value=0
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_DAY, value=1
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_MONTH, value=1
2021-01-04 15:21:44 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_YEAR, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=CONTROL_MODE, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=FAULT_REPORTING, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=BATTERY_STATE, value=3.0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=VALVE_STATE, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=BOOST_STATE, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=ACTUAL_TEMPERATURE, value=13.6
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=SET_TEMPERATURE, value=11.5
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_TEMPERATURE, value=5.0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_START_TIME, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_START_DAY, value=1
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_START_MONTH, value=1
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_START_YEAR, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_STOP_TIME, value=0
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_STOP_DAY, value=1
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_STOP_MONTH, value=1
2021-01-04 15:21:51 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695797:4, interface_id=homeassistant-wireless, key=PARTY_STOP_YEAR, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=CONTROL_MODE, value=1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=FAULT_REPORTING, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=BATTERY_STATE, value=2.5
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=VALVE_STATE, value=10
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=BOOST_STATE, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=ACTUAL_TEMPERATURE, value=19.1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=SET_TEMPERATURE, value=18.0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_TEMPERATURE, value=5.0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_START_TIME, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_START_DAY, value=1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_START_MONTH, value=1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_START_YEAR, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_STOP_TIME, value=0
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_STOP_DAY, value=1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_STOP_MONTH, value=1
2021-01-04 15:22:19 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695756:4, interface_id=homeassistant-wireless, key=PARTY_STOP_YEAR, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=CONTROL_MODE, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=FAULT_REPORTING, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=BATTERY_STATE, value=2.6
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=VALVE_STATE, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=BOOST_STATE, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=ACTUAL_TEMPERATURE, value=17.3
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=SET_TEMPERATURE, value=10.5
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_TEMPERATURE, value=5.0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_TIME, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_DAY, value=1
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_MONTH, value=1
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_START_YEAR, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_TIME, value=0
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_DAY, value=1
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_MONTH, value=1
2021-01-04 15:23:52 INFO (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.event: address=OEQ1695765:4, interface_id=homeassistant-wireless, key=PARTY_STOP_YEAR, value=0

Solution TL;DR:
Entities were there all along, but disabled (also don’t show up in the search then). Removed those, restartet the server and now it’s working again :tada:

Are you sure not looking at a manual Lovelace-UI where the entities don’t get added automatically? Or are they also missing from the entities-table?

Thanks for the fast responce, happy to see your still working with the homematic stuff :grin:
Your replies in other threads were already very helpful!

I’m looking at a manual Lovelace-UI but I don’t see them in entities either.
Would it be of use for you to get the debug log as well? It’s even more crowded with information - nothing caught my eye.

You don’t necessarily have to post the debug-output. But you cann see if you find a line like RPCFunctions.newDevices: interface_id.... This will show up when the CCU tells Home Assistant about the devices that are paired. You should then also see a lot of RPCFunctions.createDeviceObjects: created... for the paired devices.

If you don’t get that, then for some reason your piCCU in unable to tell Home Assistant about the devices. That could be caused by the firewall, in incorrect IP, numerous reasons essentially.

1 Like

2021-01-04 20:14:12 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.createDeviceObjects: created OEQ1695797 as SUPPORTED device for HM-CC-RT-DN

get that for all three devices, so seems fine.

I’m running on 10.x.x.x/8 could that be an issue?
Otherwise the next steps would then be to setup specific local_ip and local_port and such, right?

edit: added firewall information for HomeMatic

edit: added log
So after adding callback_ip and callback_port and switching to debug:

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic.connection] HMConnection: Creating server object

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] ServerThread.__init__

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] createProxies: Creating proxies

2021-01-04 20:20:59 INFO (SyncWorker_0) [pyhomematic._hm] Creating proxy wireless. Connecting to 10.7.28.163:2001

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] LockingServerProxy.__init__: Getting local ip

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] LockingServerProxy.__init__: Got local ip 10.4.0.3

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] RPCFunctions.__init__

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] RPCFunctions.__init__: iterating proxy = homeassistant-wireless

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] ServerThread.__init__: Setting up server

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] ServerThread.__init__: Registering RPC functions

2021-01-04 20:20:59 INFO (Thread-3) [pyhomematic._hm] Starting server at http://0.0.0.0:38323

2021-01-04 20:20:59 DEBUG (SyncWorker_0) [pyhomematic._hm] ServerThread.proxyInit: init('http://10.4.0.3:9465', 'homeassistant-wireless')

2021-01-04 20:20:59 INFO (SyncWorker_0) [pyhomematic._hm] Proxy for homeassistant-wireless initialized

That’s how it shold be. This tells you, that Home Assistant has received the list of available devices. So the Firewall / callback_ip etc. are working. So essentially it should be working. Are you sure you have looked at the right spots in Home Assistant? The HomeMatic integration does not create Devices, just Entities.

1 Like

I know now why I did not find them,


They are all disabled :confused:

After deleting the disabled entities and restarting the server it all works :tada:


Can I buy you a coffee?