-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin is taking a long time to load #146
Comments
Have a read |
Hello Daryl, I also had a more detailed look at the Homebridge UI during start up and it would appear the problem is that Homebridge is not allowed to connect to Cgate. Loading 2 platforms..... I don't mind having the Windows computer running all the time as its doing other tasks. If I was to migrate C-Gate over to the Raspberry PI how would it connect to the C-Bus network as I don't have a C-Bus interface. |
It won't work if you don't fix that name problem. |
Or edit Homebridge CBus config as described here to change the name from "Clipsal C-Gate" to "Schneider Electric C-Gate" sudo nano /var/lib/homebridge/node_modules/homebridge-cbus/lib/cgate-client.js |
|
Have I mentioned that I hate Windows. I have restarted the Homebridge but I get the same error. I can ping the Windows computer from the Raspberry PI. I have attached the json config file |
OK |
no I just did the C-Gateconfig.txt file |
I had already thought that adding just the IP of the Pi would be better. However I am still getting the same error in Homebridge |
Do I still need to edit this file on the PI sudo nano /var/lib/homebridge/node_modules/homebridge-cbus/lib/cgate-client.js |
No |
Looking through the Homebridge logs I can see that is still reporting that the cbus.client C-Gate session is still not ready. unexpected message: 201 Service ready: Schneider Electric C-Gate Version V3.2.0 (Build 1074) #cmd-syntax=1.0 |
OK |
change this |
Then restart CGate on your Windows PC |
I thought I had done this and check it. But it didn't save. I have double check it again. I have restarted homebridge and bingo we have lift off. Thanks for all your help and patience. You have made an old man very happy. |
Good Morning Daryl, Thanks again for your time yesterday. I have found another issue with regards to the number of C-Bus groups that I can add to the json file. I have about 90 groups. Most are devices but some are sub routines in the PACA. C-Bus doesn't have a problem assigning these to a button in the network and I was hoping to do the same in HomeKit. It would seem that I cannot list define more than about 40 physical devices in the json file before I get an error message. "Unable to Add Accessory" Accessory is out of compliance. If I reduce the devices list in the json file to about 20 I don't get this error message and the devices get mapped into HomeKit |
No I have never seen that message. |
OK I will. |
Thanks to Daryl's help this issue is now closed |
My C-Bus system consists of about 60 devices, which relays, dimmers, extra low voltage relays switches and E-DLTs.
There is 5500PCU and a 5500 PACA. These units are connected, via USB, to a Windows 10 computer. IP 192..168.1.4
Homebridge and Homebridge UI are on latest version running on a Raspberry PI3B. IP 192.168.1.11.
This configuration has been running for a number or years without any problems.
The Homebrigde UI reported that a software update was required to all components.
The update stopped Homebrige communicating with C-Gate, which runs on the Windows PC.
I rebuilt the Raspberry Pi from scratch. (Raspbian GNI/Linus Bullseye (11)., and installed Homebridge v18.19.0. I also updated the C-Bus toolkit to V1.17 along with updating the 3 E-DLTs that are used on the C-Bus network.
The PC found all the c-bus devices without any problems. I have since made a change to the C-Bus configuration by adding new device and it's configuration onto the C-Bus network.
This certifies that the Windows 10 , the C-Bus V1.17 UI and C-gate are all working as they should.
I rewrote the config.json file. The new config file complied without any errors.
When I try to run Homebridge I get an error code "Plugin is taking a long time to load"
I would be keen to get some feedback as to my next trouble shooting steps.
The text was updated successfully, but these errors were encountered: