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
MQTT control IRsend plugin ?
Moderators: grovkillen, Stuntteam, TD-er
Re: MQTT control IRsend plugin ?
https://espeasy.readthedocs.io/en/lates ... nds-listed
<MQTT subscribe template>/cmd with payload: <command>
So
/BarIR/TeacAmp/cmd
with payload
IRSEND,NEC,3CC302FD,32
This works for me when toggling GPIOs but never tested it with IR.
Please test it and post back.
-D
<MQTT subscribe template>/cmd with payload: <command>
So
/BarIR/TeacAmp/cmd
with payload
IRSEND,NEC,3CC302FD,32
This works for me when toggling GPIOs but never tested it with IR.
Please test it and post back.
-D
-D
Re: MQTT control IRsend plugin ?
Hi Iron,
It works perfectly.
Thanks for your help !
FYI - I had to use ESPeasy _V147_RC8 to get the amp to respond to IR commands.
The later version of ESPeasy I tried first,flashed the red LED I fitted across the IR LED (so I can see if anything is going on) but amp did not respond.
Looks like a valid IR code is not being sent ?
It works perfectly.
Thanks for your help !
FYI - I had to use ESPeasy _V147_RC8 to get the amp to respond to IR commands.
The later version of ESPeasy I tried first,flashed the red LED I fitted across the IR LED (so I can see if anything is going on) but amp did not respond.
Looks like a valid IR code is not being sent ?
Who is online
Users browsing this forum: No registered users and 5 guests