ESP8266 / Arduino Air Conditioner Remote
Air Conditioner Remote using ESP-8266 and some libraries:
https://github.com/marcoschwartz/aREST
https://github.com/ToniA/arduino-heatpumpir
An Arduino library to control a Panasonic, Midea, Carrier, Fujitsu or Mitsubishi heat pump/split unit air conditioner.
curl http://ir/ac?params=power=1&temp=23&mode=3&fan=2&vert=0&horiz=0
This code sends only integer values. Parameters are defined here:
https://github.com/ToniA/arduino-heatpumpir/blob/master/HeatpumpIR.h
You can send MQTT message to subscribed queue - message format is like the above in REST example
mosquitto_pub -h 192.168.51.185 -t "home/air" -m "power=1&temp=23&mode=3&fan=2&vert=0&horiz=0"