themillhousegroup / openhab2-addons

Add-ons for openHAB 2.x
Eclipse Public License 2.0
36 stars 17 forks source link

Fixed support for Broadlink RM3 Mini v44057 firmware. #10

Closed Cossey closed 3 years ago

Cossey commented 3 years ago

Two other users on the forums had mentioned that they could not use the RM3 mini due to the fact that firmware 44057 uses the RM4 function to send code. The problem is that the this device version is mapped to the RM4, but the RM4 code does an check in getStatusFromDevice() which does not apply for the RM3. The solution is to create a new thing type which uses a new BroadlinkRemoteModel3V44057Handler that inherits from the BroadlinkRemoteModel4Handler but sets the getStatusFromDevice to return true like in the base classes for the RM3 devices.

This has been tested as working with my RM3 mini with v44057