RFXCom hangs

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

RFXCom hangs

Post by DomoticaRob »

My RFXCom, connected by USB hangs random. Domoticz doesn't hang. So I can for example read temperature with a EPS8266, but I can't switch my klikaanklikuit switch. This means, Domoticz is running, but RFXCom not. After I restart everything is working again till??? I never know. My voltage adapter is 2 ampère, that should be enough.
My RFXCom is a RFXtrx 433, USB 433.92MHz transeiver.

What is the solution?
b_weijenberg
Posts: 518
Joined: Friday 12 July 2013 18:13
Target OS: -
Domoticz version:
Location: Netherlands
Contact:

Re: RFXCom hangs

Post by b_weijenberg »

In most cases the USB FTDI becomes frozen due to a spike on the power and solution can be:
- use a shorter USB cable
- do not run the USB cable along power cables or close to inductive components like TL
- connect the RFXtrx433 to a powered USB hub
- use a quality power supply on the Raspberry PI
RFX-433, RFX-433EMC, RFX-868
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: RFXCom hangs

Post by DomoticaRob »

Thanks for your reply.

I wil start with a powered USB hub, I think I have such a thing somewhere.
rvanwesten
Posts: 1
Joined: Monday 06 February 2017 20:51
Target OS: Windows
Domoticz version:
Contact:

Re: RFXCom hangs

Post by rvanwesten »

Hi, I've got the same (or a similar) issue on a Windows installation. Every once in a while (3-4 times a week), RFXCOM interface stops working (Domotics cannot reach the assigned COM port and starts retrying every 30 seconds). Workaround is to disconnect and reconnect the USB-cable and change the assigned COM-port and reassign it to the original one in the Domotics Hardware section. Feels like a driver issue. The RFXCOM unit is connected directly to the computer's USB port.

RFXCOM and drivers are up-to-date.

Any suggestions...?
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: RFXCom hangs

Post by DomoticaRob »

I have bought a powered USB hub to power supply the RFXCom. This doesn’t makes any different. Still random hang-up’s. After I deactivated all the lua scripts it seems to be better. But it’s to short time to conclude that the lua scripts are the problem. I will inform this topic as soon as I know more.

There is a lot of information about lua. Unfortunately there is no step by step tutorial for lua with Domoticz. Now a lot of Domoticz users do try and error programming. Sometimes you are lucky and a lot of times you have bad luck.

Of course Domoticz has a forum, but as a starter you have to struggle through a lot of topics to gather some information. Some topics have more than sixty pages with replies. I would suggest that a few die hard Domotcz users would make a few step by step tutorials for the basics.

By the way, this forum thing is not only with Domticz. My experience is also with other forums like gardening, automotive, and so on. A lot of questions, a lot of replies and sometimes a real answer.
LMER
Posts: 11
Joined: Tuesday 30 May 2017 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFXCom hangs

Post by LMER »

I have the same issue running Domoticz on a rPi Zero. It hangs maybe every second week. Restarting rPi makes it work again.

I would like to extract the RFXCOM433 error in the logg and restart the rPi whenever I get the error.

How do I get the information from the logg with Lua script?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest