openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.86k stars 3.58k forks source link

[broadlink] Not able to use the Binding under OH 4.0.2 to learn codes #15748

Open scheuerer opened 11 months ago

scheuerer commented 11 months ago

Hello,

now some more information. I habe installed the offcial binding in an 4.0.2 installation and have added the Thing for my RM4 mini. After that i was bringing the binding into trace mode.

An switching on and off the learning switch make now the following entry in the log file:

2023-10-13 13:18:26.458 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.1.184 for sending out broadcast request.
2023-10-13 13:18:56.492 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.
2023-10-13 13:19:09.638 [DEBUG] [nternal.handler.BroadlinkBaseHandler] - Authenticating with broadlink device Broadlink RM4...
2023-10-13 13:19:09.676 [DEBUG] [nal.handler.RMUniversalRemoteHandler] - Thing broadlinkthermostat:rmuniversaldevice:3ebc1a6880 entered learning mode
2023-10-13 13:19:09.600 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Broadlink_RM4_Learning_Mode' received command ON
2023-10-13 13:19:09.602 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Broadlink_RM4_Learning_Mode' predicted to become ON
2023-10-13 13:19:09.604 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Broadlink_RM4_Learning_Mode' changed from OFF to ON
2023-10-13 13:19:56.500 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.1.184 for sending out broadcast request.
2023-10-13 13:20:21.249 [DEBUG] [nternal.handler.BroadlinkBaseHandler] - Authenticating with broadlink device Broadlink RM4...
2023-10-13 13:20:21.228 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Broadlink_RM4_Learning_Mode' received command OFF
2023-10-13 13:20:21.230 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Broadlink_RM4_Learning_Mode' predicted to become OFF
2023-10-13 13:20:21.233 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Broadlink_RM4_Learning_Mode' changed from ON to OFF

As you can see, nothing happend after I have send a commonad from the remote to the RM4 mini… Has someone out there any idea how to move forward?

lsiepel commented 1 month ago

Is this still happening in 4.2.1? I guess there are no PR’s for this bindings.