HTTP request and variables in Rules


Can I use variables or glabal variables in an HTTP request in RM4?


Is this an outgoing HTTP request? If so, yes, I use them all the time. However, this looks like a request to Hubitat which won't work from Hubitat. You can't send and receive a request on the same port. They will crash into each other. Why not simply execute the custom action setTarifaActual with the variable as the parameter?


Don't know I can do that!!, lol



No problem! :slight_smile: