Broadlink binding for RMx, A1, SPx and MP. Any interest?


(Ray) #613

You placed the binding in the addon dir, and your rm3 appeared in inbox paperui?


(Dario) #614

it did not “appear” in the paper ui during the things discovery, having selected the broadlink binding “discovery”
i had to add it manually (that’s where i was at in the previous post when i was asking for the IV and auth key, when you replied :wink: )
have tried multiple times to just wait for it to appear


(Ray) #615

Ok, discovery should work, although i,ve seen they discoverd devices appear and dis appear
Manual adding should work too, tomorrow i,ll post my things file and items file for reverence


(Smhgit) #616

@themillhousegroup what is the latest version I should use (BETA?)

I got the following error (BETA4), does it make any sense?

2018-11-29 20:11:59.100 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-29 20:11:59.104 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

(Smhgit) #617

@themillhousegroup

I have switched to BETA-6 and this is what I get:

2018-11-29 21:56:25.346 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to UNINITIALIZED

2018-11-29 21:56:25.371 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-11-29 21:56:25.380 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e0-b2-44' changed from ONLINE to UNINITIALIZED

2018-11-29 21:56:25.384 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e0-b2-44' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-11-29 21:56:46.605 [INFO ] [.discovery.BroadlinkDiscoveryService] - BroadlinkDiscoveryService - Constructed

2018-11-29 21:56:46.891 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2018-11-29 21:56:46.912 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 21:56:46.919 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 21:56:47.365 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 21:56:47.369 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 21:56:47.374 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from INITIALIZING to ONLINE

2018-11-29 21:56:47.382 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e0-b2-44' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2018-11-29 21:56:47.392 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e0-b2-44' has been updated.

2018-11-29 21:56:47.395 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e0-b2-44' has been updated.

2018-11-29 21:56:47.833 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e0-b2-44' has been updated.

2018-11-29 21:56:47.838 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e0-b2-44' has been updated.

2018-11-29 21:56:47.841 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e0-b2-44' changed from INITIALIZING to ONLINE

2018-11-29 22:10:35.258 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:10:35.269 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:10:35.275 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:10:35.282 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:14:56.847 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:14:56.853 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:14:56.859 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-29 22:16:31.901 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:16:31.914 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:16:31.924 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:16:31.930 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:17:02.982 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:17:02.990 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:17:02.995 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-29 22:17:35.997 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:17:36.012 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:17:36.019 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:17:36.027 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:18:11.472 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-29 22:18:11.476 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

2018-11-29 22:18:46.493 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-29 22:18:46.496 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

2018-11-29 22:19:17.009 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:19:17.033 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:19:17.040 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-29 22:19:50.040 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:19:50.054 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:19:50.063 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:19:50.068 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:20:20.121 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:20:20.127 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:20:20.132 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-29 22:21:24.147 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:21:24.169 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:21:24.178 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:21:24.185 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:23:00.731 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:23:00.737 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:23:00.741 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-29 22:24:03.758 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-29 22:24:03.772 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:24:03.781 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-29 22:24:03.786 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-29 22:24:39.199 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-29 22:24:39.205 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

(Jostein) #618

After reboot I have to Diable the RM3mini Thing and Enable again. I am using OH 2.4M6


(John Marshall) #619

Hi again,
@lagging and @smhgit - you guys might want to try BETA-7 that I’ve just published at https://dl.bintray.com/themillhousegroup/generic/org.openhab.binding.broadlink-2.4.0-BETA-7.jar

I have a suspicion that your HANDLER_MISSING errors are due to using a variant of the RM2 which was not (until now) recognised. Cato’s original binding supported the RM2 and five variants (e.g. RM2 Home Plus, RM2 Pro Plus). Since that time, it seems Broadlink has been busy developing new variants, all of which need to have their unique 16-bit code matched for them to be discovered correctly. BETA-7 now handles the original RM2 plus TEN variants, such as the RM2 Pro Plus 2 and RM2 Pro Plus 3.

I’m guessing it’s one of these new ones that you guys have, so hopefully discovery will now be successful. Also, I’ve added logging if we fail to match any known device codes during discovery, so you can let me know what it is your device identifies itself as, as well as what it calls itself on the box.

Hope it helps!


(Dario) #620

Great! will do that!
my device is the rm3pro+ (they are running out of names)

How to access that? is there a speciefic file for the binding that gets created OR is it alongside openhab’s logging?

thanks @themillhousegroup

PS:
i don’t know if you’ve seen my posts about open ports - is that coherent with other devices(so there is snmp under the hood?)

edit:
installed the new jar. OH sees the binding
the device does not get “discovered” yet :frowning:
i will try adding it manually during the weekend


(Smhgit) #621

@themillhousegroup

I have just downloaded the version, will test and update.

Thx!


(Bud Kernell) #622

Hi!
Same problem here…two broadlink rm3 and sometime i lost connection to one of them…Its time to try the last beta…


(Smhgit) #623

@themillhousegroup

See below, I have two devices (44, ca), ca fails, using BETA 7.

I think that if I will restart the RM3 it will connect but it will good that I will keep it in this state until u (we :-)) find the issue

018-11-30 17:01:10.436 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:01:10.448 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:01:10.457 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:01:10.461 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:02:13.660 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:02:13.667 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:02:13.676 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:26:35.625 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:26:35.639 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:26:35.645 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:26:35.648 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:27:06.230 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:27:06.237 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:27:06.244 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:27:39.253 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:27:39.264 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:27:39.271 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:27:39.275 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:28:11.082 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:28:11.088 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:28:11.096 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:30:44.630 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:30:44.643 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:30:44.649 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:30:44.654 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:31:15.735 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:31:15.743 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:31:15.749 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:35:53.694 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:35:53.705 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:35:53.718 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:35:53.722 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:36:25.826 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:36:25.834 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:36:25.838 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:40:31.183 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:40:31.190 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:40:31.194 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:40:31.197 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:41:06.610 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-30 17:41:06.614 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

2018-11-30 17:41:41.649 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.

2018-11-30 17:41:41.653 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED

2018-11-30 17:42:12.215 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:42:12.222 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:42:12.230 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

2018-11-30 17:43:16.242 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline

2018-11-30 17:43:16.260 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:43:16.263 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:43:16.269 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan

2018-11-30 17:43:46.716 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:43:46.724 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.

2018-11-30 17:43:46.729 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE

(Jörg Mahmens) #624

@themillhousegroup
With BETA-7 still the same. Switch going ot off in UI not in Real.
If more Debug is needed contact me.


(Bud Kernell) #625

Yes… after reboot all works again. I have made a switch “ad hoc” to reboot. But this is not the best solution i suppose :slight_smile:


(John Marshall) #626

If the binding fails to identify a Broadlink device during discovery, it will be logged at the ERROR level in the standard OpenHAB log file. On my Raspberry Pi (and I suspect most other Linux distros) that will be at:
/var/log/openhab2/openhab.log

By logging at the ERROR level you can be sure of seeing it. But if you’d like to see more details and/or help with the investigation into what’s happening with these RM- devices (like @smhgit), you can go into the OpenHAB console and set the logging level to TRACE:

openhab> log:set TRACE org.openhab.binding.broadlink

You’ll see lots of information about what’s going on with your device(s).


(Kris K) #627

Adding it manually doesnt work for me.

This RM bridge app does not work.


(Bud Kernell) #628

Hi John, i have some troubles downloading last beta…
The requested path was not found…


(John Marshall) #629

Hi Bud,
Sorry, somehow a colon got in there - try this link:

https://dl.bintray.com/themillhousegroup/generic/org.openhab.binding.broadlink-2.4.0-BETA-7.jar

Cheers


(Bud Kernell) #630

It works, perfetc John…thank you (for this and for you time to solving binding problems) :slight_smile:


(Smhgit) #631

@themillhousegroup

I have changed to TRACE mode, lets see if it will help to find issues. Quick question, why update item status is so often?

2018-12-01 15:44:36.041 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline
2018-12-01 15:44:36.053 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 15:44:36.062 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 15:44:36.068 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan
2018-12-01 15:45:12.077 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticate - failed to receive.
2018-12-01 15:45:12.080 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Attempting to authenticate prior to getting device status FAILED
2018-12-01 15:46:15.558 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 15:46:15.569 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 15:46:15.577 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE
2018-12-01 16:00:54.783 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline
2018-12-01 16:00:54.798 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 16:00:54.818 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 16:00:54.823 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan
2018-12-01 16:01:25.294 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 16:01:25.309 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 16:01:25.316 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE
2018-12-01 16:23:31.559 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 16:23:39.117 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 16:24:01.573 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 16:24:09.530 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 16:24:31.584 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 16:24:39.942 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan

(Smhgit) #632

@themillhousegroup

Can u add the option to set the update item status interval vi the thing definition?

Here is more data:

2018-12-01 18:34:53.559 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 18:35:06.843 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 18:35:23.974 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 18:35:26.985 [ERROR] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Online -> Offline
2018-12-01 18:35:26.995 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 18:35:27.000 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 18:35:27.004 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan
2018-12-01 18:35:36.853 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 18:35:57.000 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 18:35:57.455 [DEBUG] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: We've never actually successfully authenticated with this device in this session. Doing so now
2018-12-01 18:35:57.458 [DEBUG] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticating with packet count = 38625
2018-12-01 18:35:57.463 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Sending authentication to rm3-2.lan:80
2018-12-01 18:35:57.466 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Sending authentication complete
2018-12-01 18:35:57.470 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Receiving authentication
2018-12-01 18:35:57.515 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 18:35:57.523 [DEBUG] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticated with id '02000000' and key 'F991BF12F991BF122F0536026678AC71'.
2018-12-01 18:35:57.525 [me.event.ThingUpdatedEvent] - Thing 'broadlink:rm3:34-ea-34-e3-c1-ca' has been updated.
2018-12-01 18:35:57.530 [DEBUG] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: Authenticated with newly-detected device, will now get its status
2018-12-01 18:35:57.534 [DEBUG] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus: Offline -> Online
2018-12-01 18:35:57.543 [hingStatusInfoChangedEvent] - 'broadlink:rm3:34-ea-34-e3-c1-ca' changed from OFFLINE (COMMUNICATION_ERROR): Could not control device at IP address rm3-2.lan to ONLINE
2018-12-01 18:36:06.864 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan
2018-12-01 18:36:27.541 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e3-c1-ca: updateItemStatus; checking host availability at rm3-2.lan
2018-12-01 18:36:37.275 [TRACE] [nk.handler.BroadlinkBaseThingHandler] - broadlink:rm3:34-ea-34-e0-b2-44: updateItemStatus; checking host availability at rm3-1.lan