openhab / openhab-addons

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

[broadlinkthermostat] Add HTS2 sensor channels (Temp/Hum) to RMx Mini integration #15371

Open cwihne opened 1 year ago

cwihne commented 1 year ago

Luckily the broadlinkthermostat binding received general support of RM Mini devices. This nicely comes across the lack of broadlink binding that was available in OH3 and lower, but not OH4. Yet, I now miss a feature to read accessory sensors of the RM4 Mini attached HTS2 cable, for Temperature and Humidity. My use case is a Rotex AC device controlled by IR. The sensors, built into a specific accessory power cable of the RM 4 Mini, deliver rudimentary feedback of the AC activity, in fact some kind of long latency validation or acknowledgement of the IR commands sent to AC. As the earlier broadlink binding provided those sensor values, they seem to be exposed in the device's data transmission. Needless to say that they are visible per RM4 device in Broadlink's app.

I use: OpenHAB 4.0.1 on Raspi 4 (openhabian) with released broadlinkthermostat Binding 4.0.1. Broadlink RM4 Mini IR + HTS2 Temp/Hum sensors WiFi IR Remote Controller (such HTS2 cable can be used with RM4 Mini and RM4 Pro)

lsiepel commented 1 year ago

The binding has a dependency on broadlink-java-api verison 1.0.1 from com.github.mob41.blapi this repo does not have support for RM4 mini, last release has been several years ago. But i have seen atleast two forks that did seem to fix it: https://github.com/rlarranaga/broadlink-java-api https://github.com/printingin3d/broadlink-java-api

Both repo's don't have a release on maven.