Hi guys, my RFXCOM is no longer working with OH2.1 since the upgrade a few days ago. was working fine before, have tried removing.adding the binding…no luck…
I have upgraded the firmware to the latest version 1020. device is a 433e
Here are the entries from the log file
2017-09-17 10:33:12.638 [INFO ] [ernal.connector.RFXComJD2XXConnector] - Connecting to RFXCOM device ‘A1YHQTKH’ using JD2XX.
2017-09-17 10:33:12.654 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Reset controller
2017-09-17 10:33:12.654 [DEBUG] [nternal.connector.RFXComStreamReader] - Data listener started
2017-09-17 10:33:12.755 [ERROR] [g.rfxcom.handler.RFXComBridgeHandler] - Error occurred: io error
2017-09-17 10:33:12.956 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Get status of controller
2017-09-17 10:33:12.957 [DEBUG] [nternal.connector.RFXComStreamReader] - Data listener stopped
2017-09-17 10:34:12.533 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = OFFLINE
2017-09-17 10:34:12.533 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Connecting to RFXCOM transceiver
2017-09-17 10:34:12.533 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Disconnecting
2017-09-17 10:34:12.533 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Interrupt serial listener
2017-09-17 10:34:12.533 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Close serial out stream
2017-09-17 10:34:12.533 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Close serial in stream
2017-09-17 10:34:12.533 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Close serial port
2017-09-17 10:34:12.644 [DEBUG] [ernal.connector.RFXComJD2XXConnector] - Closed
2017-09-17 10:34:12.644 [INFO ] [ernal.connector.RFXComJD2XXConnector] - Connecting to RFXCOM device ‘A1YHQTKH’ using JD2XX.
2017-09-17 10:34:12.659 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Reset controller
2017-09-17 10:34:12.659 [DEBUG] [nternal.connector.RFXComStreamReader] - Data listener started
2017-09-17 10:34:12.760 [ERROR] [g.rfxcom.handler.RFXComBridgeHandler] - Error occurred: io error
2017-09-17 10:34:12.960 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Get status of controller
2017-09-17 10:34:12.961 [DEBUG] [nternal.connector.RFXComStreamReader] - Data listener stopped
Can you check via the the karat console what binding version you have running. From what version did you upgrade? What hardware are you running on? Where you using j2dxx connection before as well?
I havent uninstalled te FTDI drivers, I was thinking this wasnt the problem as i have 2 parallel OH2.1 installs, one works fine, one does not. these are both on the same windows 10 machine.
I have tried adding the the birgde manually, but get the same results
Colin
now my installation that had a working rfx bridge has stopped working with the same error. i didn’t make any config changes. just stopped working. time to look at removing ftdi
2017-11-03 20:01:09.099 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = OFFLINE
2017-11-03 20:01:09.099 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Connecting to RFXCOM transceiver
2017-11-03 20:01:09.099 [DEBUG] [rnal.connector.RFXComSerialConnector] - Disconnecting
2017-11-03 20:01:09.099 [DEBUG] [rnal.connector.RFXComSerialConnector] - Closed
2017-11-03 20:01:09.102 [ERROR] [g.rfxcom.handler.RFXComBridgeHandler] - Connection to RFXCOM transceiver failed
gnu.io.PortInUseException: Unknown Application
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:475)[184:com.neuronrobotics.nrjavaserial:3.12.0.OH]
at org.openhab.binding.rfxcom.internal.connector.RFXComSerialConnector.connect(RFXComSerialConnector.java:51)[216:org.openhab.binding.rfxcom:2.1.0]
at org.openhab.binding.rfxcom.handler.RFXComBridgeHandler.connect(RFXComBridgeHandler.java:183)[216:org.openhab.binding.rfxcom:2.1.0]
at org.openhab.binding.rfxcom.handler.RFXComBridgeHandler.access$7(RFXComBridgeHandler.java:163)[216:org.openhab.binding.rfxcom:2.1.0]
at org.openhab.binding.rfxcom.handler.RFXComBridgeHandler$1.run(RFXComBridgeHandler.java:156)[216:org.openhab.binding.rfxcom:2.1.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Pauli my original config is working again now. After i swapped the bridge as you advised it OH started to get back to normal. I will check my new installation over the next few days to see if i can figure out whats going wrong with that.
I dont understand why i needed to change the RFXCOM bridge though, as i hadn’t been making any changes to my original install, i’d only been making changes to the new install. so really not sure what went wrong or why your suggestion works. I’m very glad it does work of course, so thank you very much for your help.
Colin.