@poggenpower wrote:
Running following Homematic config:
homematic: interfaces: rf: host: ccu.wupp port: 32001 ssl: true jsonport: 4443 resolvenames: json username: haus03 password: '**********************' hosts: ccu2: host: ccu.wupp port: 42001 username: haus03 password: '**********************'
But
jsonport
seems to be ignored, because I see connections on port 80 on my CCU:00:26:06.495610 IP 192.168.2.153.58650 > 192.168.2.151.80: Flags [S], seq 29425164, win 64240, options [mss 1460,sackOK,TS val 42408749 ecr 0,nop,wscale 6], length 0 00:26:22.002561 IP 192.168.2.153.58658 > 192.168.2.151.80: Flags [S], seq 1087487598, win 64240, options [mss 1460,sackOK,TS val 42424255 ecr 0,nop,wscale 6], length 0 00:26:23.007636 IP 192.168.2.153.58658 > 192.168.2.151.80: Flags [S], seq 1087487598, win 64240, options [mss 1460,sackOK,TS val 42425261 ecr 0,nop,wscale 6], length 0
config/home-assistant.log sows:
2020-04-17 00:25:51 ERROR (SyncWorker_0) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 110] Operation timed out> 2020-04-17 00:25:51 WARNING (SyncWorker_0) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session. 2020-04-17 00:26:22 ERROR (SyncWorker_1) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 110] Operation timed out> 2020-04-17 00:26:22 WARNING (SyncWorker_1) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session. 2020-04-17 00:26:53 ERROR (SyncWorker_4) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 110] Operation timed out> 2020-04-17 00:26:53 WARNING (SyncWorker_4) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
Have tried a slightly modified version of the ccu_test_jsonrpc.py
It is working with:
PORT = 32001
and
apiendpoint = "https://%s:4443%s" % (host, JSONRPC_URL)
My CCU HTTPS interface is reachable on port 4443 instead of the default 443.
Any ideas why it is accessing the CCU at port 80?Thanks Thomas
Posts: 1
Participants: 1