I'm sending a request to my DirecTV receiver (local GET based API) using the built in rule machine "set variable to response from GET" and am getting an error from Rule Machine when trying to put the response into a variable - saying it's greater than 1024 characters, but it's not.
While this is crude, it gets what I want and prevents me from having to learn Groovy programming and having to write a driver. If only Hubitat could parse JSON for me...
Error from log (showing what it being cut off):
Variable length limit exceeded for DeviceDirecTVResponse, value truncated, disposed: , msg=OK., query=/tv/getTuned}, title=KTVU FOX 2 News at 7:30pm}
Actual response from my receiver shows the length is not greater than 1024 characters, it's 473. This is copied from issuing the command directly in the browser and not through Rule Machine.
For reference, I first send the query to the receiver to ask what it's mode is (active or standby since there's no on/off status", then if it's on, I send a second query (getTuned) to see what channel it's on.. the "/tv/getTuned" command response (previously shown) is what is throwing the error.