greiginsydney / Homebridge-cbus-installer

An install script that automates the process
GNU General Public License v3.0
8 stars 4 forks source link

All Scripts and install seemed to work, but just not working! #23

Closed TristanNBaker closed 1 year ago

TristanNBaker commented 1 year ago

Hi, Firstly, thanks for the great info here, I have learnt a lot and feel im 95% there, but can't seem to understand what im missing. The regular steps had an NPM issue for me, so I used the info in the NPM ticket, edited 4 lines from the script and the install went great! I programmed all my items and they come up in HomeKit. I can click on and off, but no communication gets to my cbus network. I've been trying to find the issue, thinking maybe Cgate isn't seeing my 5500CN2, but can't find its IP listed anywhere ( I understand the info says it gets it from y XML tags file... )

How do I trouble shoot from here? any tips?

In my homebridge logs its contending spewing code. If I turn a light on in HomeKit I get code like this:

[31/12/2022, 13:06:50] [homebridge-cbus] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

' EDIT -

Issue solved with more research and some help on another thread. In short, The XML tag file I was using from toolkit to setup the cbus structure and point Cgate to the CNI was not correct. I have been Accessing the cbus network through cbus PC Interface for the last year or more. I only recently got the 5500CN2 and added it to my network. While I gave it a IP address and made sure it worked, I had not switched the PC toolkit connection to talk through this. Hence, the xml tags file had no info on CNI IP address and more. Once I connected to Toolkit through the 5500CN2, the tags file updated and was then used in the script to setup the cbus homebridge. And, it worked fine this time!

So, that's a fix for anyone who travels down this path!

greiginsydney commented 1 year ago

Bahahaha! Well done, and congrats on fixing it yourself.

- Greig.