Be able to inject a variable into HTTP request + control a device

It would also be nice to be able to fix the problem with variables in requests

@cicoub13 proposed a PR but I don’t know if he has finished his tests