Send Link in Background

Hello,

I’ve set up this https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster to control my IR devices with Alexa. Works perfectly. However, I would like to integrate an IR Remote into Home Assistant too.

The IR commands are sent to the Wemos/NodeMCU via a link( looks like this for example http://local_ip:Port/msg?code=80C:RC5:12). So when I open that link in a Browser it triggers the IR Led and therefore switches on the TV.

Whats the best way to realize this in HA? Actually I would be already happy if I’d have a link which gets called in the background. Could I use the curl feature? If yes, how can I set this up correctly?

Thank you for your help.

Kind regards
Chris

You can use command line switch or restful switch