question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rfxcom - No response received from transceiver

See original GitHub issue

After reading that the release for 2.0 is scheduled for January (yay!) I thought I should report this again even though it looks like a duplicate #1239, but the title in that issue is misleading. This happens for me after that I turn on/off ~10 lights directly after a reboot of the server, no files changed.

2016-12-25 22:08:56.831 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.internal.ThingManager@335dfdc' takes more than 5000ms.
2016-12-25 22:08:56.831 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'rfxcom:lighting2:rfxtrx433:817630462_1' takes more than 5000ms for processing event
2016-12-25 22:08:57.265 [WARN ] [g.rfxcom.handler.RFXComBridgeHandler] - No response received from transceiver
2016-12-25 22:09:02.273 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.internal.ThingManager@335dfdc' takes more than 5000ms.
2016-12-25 22:09:02.274 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'rfxcom:lighting2:rfxtrx433:79432958_0' takes more than 5000ms for processing event
2016-12-25 22:09:03.053 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.internal.ThingManager@335dfdc' takes more than 5000ms.
2016-12-25 22:09:03.053 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'rfxcom:lighting2:rfxtrx433:1690045694_9' takes more than 5000ms for processing event
2016-12-25 22:09:03.057 [WARN ] [g.rfxcom.handler.RFXComBridgeHandler] - No response received from transceiver

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mjagdiscommented, May 10, 2017

Ah. I see, I think. The time from transmit to ACK is normally reasonable but strictly speaking unbounded because we may be dealing with incoming messages at the same time (single freq RF isn’t full duplex). In this case we saw at least one incoming message the first time we took a TX timeout. That doesn’t account for the full delay but there may be more going on at RF than we see - a lot of these protocols like to repeat messages several times for redundancy. Anyway we took a timeout in the binding. That caused the bridge to go offline which sends all the connected things offline which stalls the core nicely. Subsequent transmits, or the reading of their ACks, are then delayed leading to more timeouts, now from the core. When we do receive a message we take it as a sign the bridge is ok and set everything back online making a bad situation even worse. Because we’re synchronized on the send method the core is effectively queuing requests, but inside its timeout-checked safe method caller so the wait time counts towards timeout too. A send timeout before we’ve really tried causes the seqno to get out of step and then we’re really dead. Yuck.

The practical upshot is that when the core gives us a message we need to just accept and queue it because we can’t guarantee to be able to handle it inside the core’s timeout. The queue has to be in the binding. We don’t even need seqnos at all since we only ever have one message in progress at once on the rfxcom.

Try this version (there’ll be a PR along shortly too):

org.openhab.binding.rfxcom-2.1.0-SNAPSHOT.zip

0reactions
AutonomousMarvincommented, May 16, 2017

Thank you!!! That snapshot resolves my issues completely!

Quite often it happened to me exactly as mjagdis described, and when the commands were sent to 9 different lamps while receiving temperature info it usually takes a minute or two for it to resolve itself, while producing about 900 log entries.

Side note. I needed to do “feature:install openhab-transport-serial” in Karaf to get your snapshot to work, but as I’m very new to programming (and Linux) this might just be something my system was lacking since earlier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFXtrx433 not receiving - Rfxcom Transceiver - Domoticz
It is most probably an RF noise source that transmits constantly so that a receiver cannot receive any valid packet anymore. Another reason ......
Read more >
RFXcom binding not responding after few days of operation
I am using the RFXcom binding to control some Somfy sun, which normally are operating fine. See 1st tracing. After a few days...
Read more >
RFXtrx USB RF transceiver User Guide - RFXcom
I have a 433.92MHz sensor/remote but this device is not received. ... The RFXtrx433E is an extended RFXtrx433 transceiver with additional memory and...
Read more >
How To Receive La Crosse TX7U on RFXrec433?
I use them to receive all the Oregon Scientific Temperature Sensors. ... 5 response on cmnd = Get Status Receiver type = 433.92MHz...
Read more >
RFXCOM RFXtrx - Home Assistant
If your 433.92 product is not showing in the logs, you may need to enable additional protocols. You can do this by configuring...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found