Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.84k
stars
810
forks
source link
help with irsend AC commands convert String to unsigned char array #2051
I am getting IR data via MQTT and saving it as String. In most AC irsend commands the data / state variable is const unsigned char [].
Please let me know of a method to do this
When I use IRdump V3 to check the received code and protocol I get UNKNOWN and a random hex
while I am sending following in my mqtt message
{
"hex" = "0x1463001010FE0930810103000000202B",
"protocol" = "FUJITSU_AC"
}
Quick help would be appreciated.
Hi,
I am getting IR data via MQTT and saving it as String. In most AC irsend commands the data / state variable is const unsigned char []. Please let me know of a method to do this
what I am currently doing is
String str = doc["hex"]; String protocol = doc["protocol"];
eg if I want to send Fujitsu_AC protocol
When I use IRdump V3 to check the received code and protocol I get UNKNOWN and a random hex
while I am sending following in my mqtt message { "hex" = "0x1463001010FE0930810103000000202B", "protocol" = "FUJITSU_AC" } Quick help would be appreciated.