homebridge-cbus
homebridge-cbus copied to clipboard
Having trouble connecting home bridge and CGATE
Hi everyone I am having trouble connecting home bridge to cbus. Here is my situation: I am using parallels to run cgate (through toolkit) while also attempting to run homebridge on the same iMac. I am in a similar situation to peterconn was about this time last year. https://github.com/anthonywebb/homebridge-cbus/issues/58
The IP address of the iMac is 192.168.17.182 as you can see in the config.json file below
In the access file found in Clipsal, C-gate2, config I have entered the appropriate information to allow the iMac access to C-gate, as you can see below.
However, when I try to run homebridge through terminal, I get the following message
I am thinking I should should perhaps run homebridge on a separate computer which is on the network?
How do you people think I should resolve this issue?
It looks like IP address works. Try changing operate to program.
Ok, tried changing it to remote 255.255.255.255 Program
Now I get a different error when running in terminal
Could it be that the 20023 port is wrong in the config.json file? what does that actually mean? is to the port of the computer running c-gate? I know peterconn #58 said they had to " success i think, i had to change the port to the port shown on the current cgate client settings. It seems to change every time i restart cgate"
I’m out just now Check the port number on Anthony’s example
I reset the port to the default 20023 and changed the ip address from the iMacs to the virtual machines Ip. Now i get this message: Loaded plugin: homebridge-cbus [6/4/2018, 9:50:15 PM] Registering platform 'homebridge-cbus.CBus' [6/4/2018, 9:50:15 PM] --- [6/4/2018, 9:50:15 PM] Loaded config.json with 0 accessories and 1 platforms. [6/4/2018, 9:50:15 PM] --- [6/4/2018, 9:50:15 PM] Loading 1 platforms... [6/4/2018, 9:50:15 PM] [CBus] Initializing homebridge-cbus.CBus platform... cbus:client Opening connection to C-Gate… +0ms [6/4/2018, 9:50:15 PM] Loading 0 accessories... cbus:client C-Gate socket error: Error: connect ETIMEDOUT 10.211.55.3:20023 +1m cbus:client C-Gate connection could not be opened; exiting. +0ms iMac-in-Kitchen:~ homebridge$
@peterconn and I use raspberry pi 3 to run CGate and Homebridge。
If you want to continue trying on a VM this needs to work first. Using telnet, try connect from the iMac OS to CGate on the virtual machine port 20023. Send noop command, look for reply.