I would like to control a fan with IR commands.
Is there an easy way to read the IR command of the remote an send them through openhab to the fan? I am looking for a device with a existing binding.
+1 to Broadlink. I’m using the unofficial binding with an RM4 Mini, which is inexpensive and can be bought with a temperature/humity sensor in the USB cable. Here’s the last release.
It hasn’t been updated in a long time, but works just fine with OH 3.3.
Here are the instructions for learning the IR codes, which you can then store in a MAP file and use to trigger commands.
I did this to control some cheap IR-controlled LED lights, and it works flawlessly.
I have a Rowenta pedestal fan that I control using a Logitech Harmony Hub, but you can’t get those any more. I originally bought the RM4 Mini to experiment with in preparation for the day that Logitech shuts down the Harmony Hub servers.