mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +01:00
[insteon] Fix legacy all link broadcast message not processed (#18049)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
This commit is contained in:
parent
b4bcf802f4
commit
19ca89c301
@ -514,7 +514,7 @@ public class InsteonLegacyBinding implements LegacyDriverListener, LegacyPortLis
|
||||
|
||||
private void handleInsteonMessage(Msg msg) throws FieldException {
|
||||
InsteonAddress toAddr = msg.getInsteonAddress("toAddress");
|
||||
if (!msg.isBroadcast() && !driver.isMsgForUs(toAddr)) {
|
||||
if (!msg.isBroadcast() && !msg.isAllLinkBroadcast() && !driver.isMsgForUs(toAddr)) {
|
||||
// not for one of our modems, do not process
|
||||
return;
|
||||
}
|
||||
|
@ -334,7 +334,7 @@ public class LegacyDevice {
|
||||
if (qe == null) {
|
||||
return 0L;
|
||||
}
|
||||
if (!qe.getMsg().isBroadcast()) {
|
||||
if (!qe.getMsg().isAllLinkBroadcast()) {
|
||||
logger.debug("qe taken off direct: {} {}", qe.getFeature(), qe.getMsg());
|
||||
lastQueryTime = timeNow;
|
||||
// mark feature as pending
|
||||
@ -382,7 +382,7 @@ public class LegacyDevice {
|
||||
synchronized (mrequestQueue) {
|
||||
mrequestQueue.add(new QEntry(feature, msg, now + delay));
|
||||
}
|
||||
if (!msg.isBroadcast()) {
|
||||
if (!msg.isAllLinkBroadcast()) {
|
||||
msg.setQuietTime(QUIET_TIME_DIRECT_MESSAGE);
|
||||
}
|
||||
logger.trace("enqueing direct message with delay {}", delay);
|
||||
|
Loading…
Reference in New Issue
Block a user