It would be nice to have an option in the Device: Get block to not return attribute data. Or even specify which attribute data you want returned.
Had a recent need to get device info/states on just under 400 devices and the debug log returned “Workflow payload is not available because it exceeded the maximum debug message size of 5MB.”. I know that only affects the debug log but all that data was unnecessary for us most of the time.
Also would be nice to have ability to specify the device tags that get returned get similar to the ability now to specify which device state gets returned.
Hi @Wesley_Manning ,
The Device: Get Node can be configured to return all attributes, certain specified attributes, or no attributes - see the “Composite State To Include” field in the Result section. If I’m misunderstanding this part of the question, please let me know.
There currently isn’t a way to only return specific device tag key/value pairs (or exclude them entirely) for one or more given devices. I will submit a feature request to see if this can be added in the future. Thanks for the suggestion!
You’re mixing attributes and device state. That applies to the device state not the attribute metadata.
Ah yes, sorry for the misunderstanding. I will submit another feature request to allow only specified attribute metadata (attributeTags, dataType, description, name) to be returned, or to not return any attribute metadata.
Yep like these:

Even a checkbox saying if you want to include attributes or not. We never tend to use that json value when using Device: Get.
Did anything ever come of this?
No, sorry, no changes have been made to limit the device metadata returned by this node.
Do you have a similar use case where the size of the payload is exceeding the maximum limit because of this?
Im just trying to reduce fetching unneccessary data to speed up load times.
The main drivers of the Device: Get Node’s time to execute are how many devices you are fetching and how many attribute values you are fetching per device.
Now, if you are using a Function Node after a Device: Get Node, there could be a hit to the time it takes to execute that node based on the additional device metadata but that only comes into play at especially large payload sizes.