MQTT control IRsend plugin ?
Posted: 25 Jan 2019, 19:02
I am running espeasy mega-20180822 and have it controlling my home theatre amp using HTTP but would like to use MQTT to send IR signals.
http://192.168.100.1/control?cmd=IRSEND,NEC,3CC302FD,32 turns my amp on or off.
What should the MQTT command look like if the unit name is BarIR and the device name is TeacAmp.
I am sure my payload syntax is not right,if someone could point me in the right direction.
/BarIR/TeacAmp should be the topic to subscribe to,what would be the payload to turn the amp on ?
Thanks
http://192.168.100.1/control?cmd=IRSEND,NEC,3CC302FD,32 turns my amp on or off.
What should the MQTT command look like if the unit name is BarIR and the device name is TeacAmp.
I am sure my payload syntax is not right,if someone could point me in the right direction.
/BarIR/TeacAmp should be the topic to subscribe to,what would be the payload to turn the amp on ?
Thanks