I recently build successfully a mysensor node based on an Arduino Uno, a Robolink IR sensor and a Robolink DHT11 sensor. The last two from an Elektor sensor kit ever bought for my son when he was still interested by electronics .
My controller is Home Assistant, so I did a merge of the given MySensors example sketch and the Home Assistant example sketch together with the DHT11 sketch.
The airco is a Samsung one, so in the sketch you will find these defines uncommented. Replace by your airco manufacturer.
People interested in building one, can find my sketch on https://github.com/ericvb/MySensorsArduinoSketches
@ToniA a big thanks for the work to decode all these IR sequences!
@kalina, Thanks. So it will not work for my configuration. Wall switch (push button) is already installed. No possibilities to draw more electrical wires.
Moreover, if i put the board near the light, i have just the Neutral and the return wire from the wall switch. No Live wire to power on the mysensors board.
I think in my ase the best way is to manage everything in my garage in the electrical main board where all the wires are mapped. I can get L + N for mysensors power supply. And i can continue to reuse the original wall switch independently of the Mysensors board.