anthonywebb / homebridge-cbus

CBus plugin for homebridge
MIT License
35 stars 20 forks source link

IOS 11.2.2 #82

Closed peterconn closed 6 years ago

peterconn commented 6 years ago

Has anyone updated to IOS 11.2.2? Upon updating i Did sudo rm accessory etc.. Re added new home and in homekit while deleting the old one. Homebridge starts and show active running though no Inputs in HomeKit are operational. I’m just wondering if there maybe a new version of homebridge? I also tried to telnet to Pi IP 192.168.1.xx port 20023 and cannot access that.

srpage commented 6 years ago

I’m running 11.2.2 on my phone. No issues found yet.

Sent from my iPhone

On 20 Jan 2018, at 12:05 pm, peterconn notifications@github.com wrote:

Has anyone updated to IOS 11.2.2? Upon updating i Did sudo rm accessory etc.. Re added new home and in homekit while deleting the old one. Homebridge starts and show active running though no Inputs in HomeKit are operational. I’m just wondering if there maybe a new version of homebridge? I also tried to telnet to Pi IP 192.168.1.xx port 20023 and cannot access that.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

DarylMc commented 6 years ago

@peterconn Hi Peter I haven't had any issues for the last couple of iOS updates. If you cannot access CGate that will be the place to start. Maybe check CGate logs and see what you can find. /usr/local/bin/cgate/logs Can you still SSH to the pi?

peterconn commented 6 years ago

@srpage @darylmc I think I have a bigger problem, I can’t ping my CNI. It’s plugged into switch but no light on the switch so the network is not seeing the device. When I log into my router it’s not even in the network map. Definitely the problem.

DarylMc commented 6 years ago

@peterconn If it is not just the power supply I'd guess it may be the ethernet interface. Maybe the CBus interface board can still be put to some use. Definitely consider sending it my way if you are going to put it in the bin. Use the CBus and unit LED indicators to help find the problem. If you need a new CNI I'd consider an RS232 PCI from ebay in conjunction with a serial device server.

Hopefully it is something simple.

DarylMc commented 6 years ago

At one stage I bought a CNI and had two PCI's on the network. My RS232 interface is from 2002. I bought a CNI not long after but it is just a distant memory of Lantronix nightmare setup now. I really do believe newer CNI's setup must be better because you just don't see so many people on CBus forum struggling any more. Or maybe everyone is a bit more knowledgeable about networking. I think they have all been solid devices and my CNI most likely died from a lightning surge on the network coming through the ADSL copper.

I don't know when and I'm not feeling like I am missing features but somewhere along the way I think more features have been added to later PCI and CNI devices. That's what diagnostic utility tells me anyway.

I'm still using the 2002 RS 232 interface.

peterconn commented 6 years ago

Since the lighting storm we had over a week ago, it stopped working. I’ve attended 2 sites in the area due to network routers being damaged due to lightning. I have an rs232 interface from a while ago when I completed my course, do I have to use a rs232 to Ethernet/rj45 converter?

DarylMc commented 6 years ago

I use a Moxa 5110A RS232 serial device server. It's been good for nearly 10 years now. If you get one I can tell you some settings. The main one is to configure as TCP server. The rest you will figure out easily. If you do order one make sure to include a power supply and have a serial cable lying around.

DarylMc commented 6 years ago

Of course I never like to throw any CBus products in the bin. Make sure it is not just the power supply.

peterconn commented 6 years ago

I think I’ll just buy a new CNI interface.

DarylMc commented 6 years ago

Or even worse a router or switch problem. The CNI LED's can help

peterconn commented 6 years ago

@darylmc in regards to the CNI interface lights, the network lights status are “Orange/Green flash Link is good with active data transfer” yet when I unplug the network cable the light does not change status, it just keeps flashing. Orange/green. Power supply has been checked and still at 12v DC.

peterconn commented 6 years ago

@darylmc I’ve also tried different ports on The switch and no change. This is the only device on the network which is Inoperable.

DarylMc commented 6 years ago

@peterconn I can't help much right now. In the installation instructions which you can probably download from CIS website it will have the LED info. If it is a 5500CNI2 just search Google for installation instructions.

peterconn commented 6 years ago

@darylmc thanks, that’s where I got the info from ^^above^^

DarylMc commented 6 years ago

I'm sure you already tried but if you haven't remove CBus power from the device and power cycle it.

peterconn commented 6 years ago

@darylmc, yes first thing I tried. The fact that the status of the lights don’t change when the Ethernet cable is unplugged states there is an internal issue within the CNI.

DarylMc commented 6 years ago

Doesn't sound promising. The ethernet device server and RS232 interface is a good cheaper option if it can fit in the space you have easily. If you never used one you should grab one just to give it a go. I've used them on solar inverters, CBus PCI. AC central control units and RS485 AC zone control. You can get some models for RS232 only or selectable for RS232 or RS485

DarylMc commented 6 years ago

One thing in Homebridge CBus which I think is a bit of an issue. If I unplug the ethernet cable for my serial device server or the RS232 cable to PCI Homebridge does not seem to notice or throw an error. This would be especially bad for access control use because you would not have correct status and not know there was a problem.

I'm talking to another fellow this morning with CNI troubles. His is Lantronix version and presumably about 10 years old. For interest do you remember if your CNI is the Lantronix version or how old it is? Can you access the CNI in your browser?

andysyiros commented 6 years ago

I had an issue with my CNI a couple of years ago.

The lights seemed to be flashing the correct colours but it still wouldn’t connect. Clipsal sent me a replacement CNI and that did the job. Months later, the new CNI stopped working.

I soon realised it was the original power supply. The earlier CNIs operates at 12V and the newer CNIs operate between 6-12V. I can only image the power was dying a slow death?

I only worked this out after I replaced the power supply with the power supply that came with the replacement CNI. I have my power supply in the roof space so probably died in the heat. In the near future I will use a din rail power supply, but it is working now so haven’t been bothered.

peterconn commented 6 years ago

@DarylMc I just purchased a serial to Rj45 converter from Jcar for $140 and homekit is now operational. Configuration wasn't too hard. I can ssh to pi but Im still having an issue with telnet IP port 20023. Fault is "software caused connection abort".

peterconn commented 6 years ago

@andysyiros, I put a multi meter on the power supply and it’s pumping out 12v dc when connected to the CNI and also when disconnected from CNI. I guess trying a new power supply wouldn’t be a bad idea just to be sure.

DarylMc commented 6 years ago

It works? So you kind of proved the CNI was faulty?

The Moxa ethernet device server is a really solid device. There is a stack of cheaper Chinese versions around which do the same thing too. Moxa brand device should cost you about the same as the Jaycar one and be a really reliable thing.

peterconn commented 6 years ago

@darylmc yes everything is working I just can’t telnet to the device and check project list and net list.

DarylMc commented 6 years ago

Set the ip address to the same as your old CNI

Socket port of serial I/O Change it to 10001 like the CNI was. TCP server.

Check the serial settings Start Bits : One Data Bits : Eight Stop Bit : One Parity : None Baud Rates : 9600

peterconn commented 6 years ago

@darylmc, I don’t need the settings for the new server as I got that working. HomeKit is now working and I can control all inputs. The only thing I can’t do is telnet to check project list and net list.

DarylMc commented 6 years ago

You can't telnet to the pi IP address port 20023? Has your PC IP address changed. If that's the problem you can set the last three numbers of access.txt file to 255 to allow your whole subnet. Then reboot

peterconn commented 6 years ago

@darylmc, I think it has changed, I’ll check when I get home.

DarylMc commented 6 years ago

I think you will like using the ethernet device server. It certainly is a cheaper option if you have an RS232 PCI at hand and breaks the possible failures into separate hardware devices.

DarylMc commented 6 years ago

I'm a bit rusted on with the Moxa brand. From experience I know they are reliable. And I am familiar with the configuration.

peterconn commented 6 years ago

@darylmc, the settings you listed were very similar with the one I got from Jaycar.

DarylMc commented 6 years ago

Yeah I downloaded and read the manual for your device. I'm pretty sure the only thing you need to do now is update the access.txt file.

DarylMc commented 6 years ago

Everyone who did a CBus training course got a PCI. If they now give out a USB PCI I'd ask if it is possible to get RS232 version. It is a very useful device.

peterconn commented 6 years ago

@darylmc, funny enough I found 2 rs232 pci’s In my stash. One is dark blue and the other is light blue.

DarylMc commented 6 years ago

Hey light blue is before my time.

DarylMc commented 6 years ago

That's showing your age :)

DarylMc commented 6 years ago

Or experience

DarylMc commented 6 years ago

I tell you what I never learned so much about CBus until the last year and thanks to Homebridge CBus. And it is not a lot but still a lot more than before.

peterconn commented 6 years ago

@darylmc only been 22 years and thanks to you I’ve learnt a lot more also