Is there any way to extend the piston response?


#1

I understand how to invoke a piston with a web call, but the response is canned
{“result”:“OK”,“timestamp”:1574784980402}

I would like to put more values in the response based on the actions the piston took IE:

{“result”:“OK”,“timestamp”:1574784980402, “officeTemp”:68, “officeSwitch”:“off”}

I realize that I can call a web service from the piston to “pass” these values to another system, but in some cases, it would be a lot easier to just get them back in a response.


#2

It has been on the wish list for a long time, but no that response is not extensible.