Open luke-b5114 opened 10 months ago
Your raspberry pi will be running C-Gate. Toolkit will also want to run an instance of C-Gate on the windows computer. I don't think 2 instances of C-Gate can connect to the cbus network at the same time. Try stopping C-Gate on the raspberry pi before running toolkit.
What's the easiest solution to stopping C-Gate on the raspberry pi ?
I am adding another device on the CBus network, am I needing to update the XML on the raspberry pi afterwards ? or will it pick the address up automatically ?
If the raspberry pi isn't doing anything else important, I would just switch it off to be sure and restart after you're finished in toolkit. If you're using the Homebridge GUI you could try going to the Homebridge Cbus plugin and disabling it under the little spanner icon.
Disabled and also turned off the raspberry pi.
Toolkit is still unable to open my network
Is there somehow I can set up remote G-Gate connection?
Thank you for the help
Sorry to hear that. That was the issue that I ran into a while back and stopping the C-Gate on the pi solved it. I remember it being a bit fussy. I had to make sure that C-Gate stopped and restarted on the pc after stopping the instance on the pi. If you've tried that it must be some other issue. I think it would be easier to solve the issue with toolkit on the pc rather than a remote C-Gate connection. Good luck.
Using toolkit on your pc, go to file>disconnect cgate Then go file>connect remote cgate. Enter the IP address of your pi and click OK. If cgate is running on your pi and you allowed for remote programming in the cgate access config file on your pi, toolkit will connect. Bear in mind, there's a bug in toolkit/cgate that will not allow configuration of eDLTs. All other devices can be configured. When finished, do NOT close cgate. You must just disconnect. We use this all the time to access remote sitesSent from my Galaxy -------- Original message --------From: luke-b5114 @.> Date: 12/1/24 8:21 pm (GMT+09:30) To: anthonywebb/homebridge-cbus @.> Cc: Subscribed @.***> Subject: Re: [anthonywebb/homebridge-cbus] Unable to connect to Toolkit (Issue #143) Is there somehow I can set up remote G-Gate connection? Thank you for the help
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I did try that but does not seem to be working.
I believe I've done this correctly..
C-Gate won't let remote clients connect to it if they're not in the file /usr/local/bin/cgate/config/access.txt. Add your Admin machine's IP address here, or to whitelist an entire network add it with '255' as the last octet. e.g.: 192.168.1.7 whitelists just the one machine, whereas 192.168.1.255 whitelists the whole 192.168.1.x network. The more IPs you whitelist, the less secure C-Gate becomes.
Enter an IP or network address to allow/whitelist : 192.168.1.255
When selecting remote C-Gate 192.168.1.112: 20123
What Java version have you got? java --version
How do I check which Java Version is installed ?
How do I check which Java Version is installed ?
Sorry I misread what you are doing there last night. I thought you were using CGate on the pi. I was also wrong. You need to type "java -version" into the pi terminal to find the version not "--version"
This is the version I am using below...
java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Java HotSpot(TM) Client VM (build 25.381-b09, mixed mode)
overall, I am just trying to gain access to CBus Toolkit on my Windows machine while Raspberry Pi is still on running C-Gate.
I have bought a CBus coupler I am wanting to address and add to the system.
That version of java on the pi will probably need the java security settings changed if you want to use CBus Toolkit and connect to a remote CGate on the pi but I recommend you use the local CGate on the Windows machine to add your new device. Make a copy/backup your project xml before you do anything. Once you have the new unit added in Toolkit and backed up again, then copy the xml over to the pi.
Keep in mind the latest Cbus Toolkit 17 is a major upgrade. Stick with Cbus Toolkit 16 for now.
I am unable to open network on Windows machine toolkit. prompts me with "PCI failed to reset, unable to open network".
yep, i am still on 1.16.3
This video I made may help with remote and local CGate Or confuse you more :) https://www.youtube.com/watch?v=L1tet3Espu8
This is the java security fix for Toolkit access to a remote CGate on a pi. https://www.cbusforums.com/threads/c-gate-command-port-issue-with-toolkit.10610/#post-57718
Go steady if you're not sure what you are doing. Backup your project before doing anything.
Looks like I'm in the same position you were years back. going off this link https://www.cbusforums.com/threads/c-gate-command-port-issue-with-toolkit.10610/#post-57718 "An error has occurred while initializing the secure socket layer - Cannot connect to C-Gate Server"
Since you have to manually install jre8 on the latest raspberry pi OS If I had to build a new image I would use jdk-8u202-linux-arm32-vfp-hflt.tar.gz If you use this version you won't have to alter the security settings which block TLSv1 and prevent CBus Toolkit from connecting to the remote CGate.
There is a currently working raspberry pi setup guide here. https://github.com/greiginsydney/Homebridge-cbus-installer/blob/master/SETUP.md
I'm am unable to find that version of Java available.
I followed Greigs steps, working fine. But still unable to access Toolkit and open network
jdk-8u202-linux-arm32-vfp-hflt.tar.gz jdk-8u202-linux-arm32-vfp-hflt.tar.gz
Is this a matter of installing this straight to the existing raspberry pi? or do I have to go through https://github.com/greiginsydney/Homebridge-cbus-installer/blob/master/SETUP.md all over again ?
Re-installed a different version of Java and now works. can remote into toolkit now.
Thanks all for the help
Please close the issue if resolved.
thanks
Jason
Hi all,
Recently installed homebridge-cbus on a raspberry pi and working well.
I am having the issue of not being to access toolkit on my windows computer and open the network. Is anyone able to help me with this ?
Thank you,