Author Topic: RFX unable to open serial port (intermittently)  (Read 3249 times)

Offline andyzzz

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +10/-9
RFX unable to open serial port (intermittently)
« on: January 05, 2016, 04:04:03 pm »
Hi
I have used the plugin in for around a year now and it is brilliant! However, over the last couple of months I am getting a message approx every couple of days o say the RFXCOM has failed to open the serial port. I normally reboot the VERA edge and the device is picked up and normal service resumes. I am running the BETA 3 firmware and this was 100% reliable previously. It has not coincided with any firmware update (the vera is on the latest version). I have enabled logging on the RFXCOM plugin but I do not know how to access the log file.

Please could anyone suggest my next debugging steps. Could the RFXCOM be defective?

Offline b_weijenberg

  • Full Member
  • ***
  • Posts: 129
  • Karma: +3/-1
Re: RFX unable to open serial port (intermittently)
« Reply #1 on: January 06, 2016, 03:00:09 am »
Is the yellow LED still blinking on the RFXtrx when a sensor or remote is received? This indicates that the RFXtrx is operating.
If the LED blinks the USB interface communication is lost and this could have several reasons:
- Bad USB power due to a bad power supply or spikes on the power line,
- Bad USB cable or connection,
- USB interface hardware defect in the VERA or the RFXtrx.

In most cases it is the first situation and could be solved by using a powered USB hub.

Offline andyzzz

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +10/-9
Re: RFX unable to open serial port (intermittently)
« Reply #2 on: January 12, 2016, 07:53:08 pm »
Thanks for the reply.
I have already tried a power hub and this made no difference unfortunately. I have tried a new usb lead and again, if anything it is falling over more often. I checked and the rfx is blinking yellow so looks to be receiving messages.

As a work around I have set the Vera to restart a couple of times per day. So if the interface has stopped the restart will cure. However, this is still unreliable. Any other ideas, if you think this is hardware, which should i try to return. Vera or rf?

Thanks again



Offline raoul

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: RFX unable to open serial port (intermittently)
« Reply #3 on: February 15, 2016, 12:26:35 pm »
For what it's worth I'm also having the exactly the same issue. Everything has been working fine until the last couple of weeks, I was wondering if it may have been caused by a FW upgrade to the Vera. Especially given that when I first installed the RFxtra (May '15) I needed a custom FW on the Vera to get the USB port to recognise it.

In my install RFXtra connected directly to Vera USB (no hub).

For the time being I've taken to 'reload engine' to sort it.

Offline n0ir

  • Sr. Member
  • ****
  • Posts: 352
  • Karma: +4/-1
Re: RFX unable to open serial port (intermittently)
« Reply #4 on: April 10, 2016, 06:10:39 pm »
Any news on this?

My RFXtrx433 have been working great on a Vera Edge with UI7 for several years now, but I recently started getting a "RFXtrx controller device : Failed to open IO Port" error message (after the Vera state "RFXtrx controller device : Opening IO Port")

I have updated to the latest files (http://code.mios.com/trac/mios_rfxtrx/browser/trunk) and I?m running the latest FW version avaliable 1.7.1707.

My RFXtrx433 is directly connected to the Vera Edge.

Reloading the engine does not work. I still get the "Failed to open IO Port" error message.

@lolodomo: Do you know what could be the problem?

Offline n0ir

  • Sr. Member
  • ****
  • Posts: 352
  • Karma: +4/-1
Re: RFX unable to open serial port (intermittently)
« Reply #5 on: April 20, 2016, 04:24:07 am »
Still haven't got my device to work! :(

I have tried connecting it to a computer and run the RFXmngr and the RFXtrx transceiver works fine. I have changed the USB cable.

I have removed the device from Vera, uploaded all the files again and created a new device. Got the same error.

I also contacted Vera support and they downgraded my Vera Edge to FW 1.7.1598 but they still couldn?t get it configured and with the same error ("RFXtrx controller device : Failed to open IO Port").

EDIT: Sorry for the spamming but I think I solved it. I removed ALL the files from the latest 1.0 version of the plugin, deleted the RFXtrx device, uploaded the beta 3 version and created a new device. I THINK this might have solved the issue of the "Failed to open IO Port" error. Maybe the latest 1.0 version is incompatible with the latest Vera FW?
« Last Edit: April 20, 2016, 04:41:14 am by n0ir »

Offline korttoma

  • Hero Member
  • *****
  • Posts: 728
  • Karma: +26/-5
Re: RFX unable to open serial port (intermittently)
« Reply #6 on: April 20, 2016, 06:18:54 am »
I'm using an USB RFXtrx433 on a VeraPlus and it is working fine. Unfortunately I do not remember what or how I installed it but I would guess I used the latest files from the trunk -> http://code.mios.com/trac/mios_rfxtrx/browser/trunk

Just checked my plugin and it says 1.0 for the Version.
« Last Edit: April 20, 2016, 08:43:02 am by korttoma »
- Tomas

Offline n0ir

  • Sr. Member
  • ****
  • Posts: 352
  • Karma: +4/-1
Re: RFX unable to open serial port (intermittently)
« Reply #7 on: April 22, 2016, 04:21:49 am »
I'm using an USB RFXtrx433 on a VeraPlus and it is working fine. Unfortunately I do not remember what or how I installed it but I would guess I used the latest files from the trunk -> http://code.mios.com/trac/mios_rfxtrx/browser/trunk

Just checked my plugin and it says 1.0 for the Version.

Weird! Maybe there is some incompatibility with the FW and v.1.0? What FW are you running on your Vera Plus?

Offline korttoma

  • Hero Member
  • *****
  • Posts: 728
  • Karma: +26/-5
Re: RFX unable to open serial port (intermittently)
« Reply #8 on: April 22, 2016, 05:34:53 am »
I'm on version: 1.7.1754 for the VeraPlus and FirmwareVersion 78 for the USB RFXtrx433 and I do not have the new "E" version of the RFXtrx433, don't know if this can have anything to do with the issue. Maybe Bert kan comment on this if there is any differance.
- Tomas