Page 1 of 1
RFXCom hangs
Posted: Saturday 29 April 2017 23:08
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?
Re: RFXCom hangs
Posted: Sunday 30 April 2017 10:00
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
Re: RFXCom hangs
Posted: Sunday 30 April 2017 21:11
by DomoticaRob
Thanks for your reply.
I wil start with a powered USB hub, I think I have such a thing somewhere.
Re: RFXCom hangs
Posted: Thursday 18 May 2017 20:15
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...?
Re: RFXCom hangs
Posted: Friday 19 May 2017 13:15
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.
Re: RFXCom hangs
Posted: Friday 04 August 2017 14:49
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?