Retrieve value from slider

Hi,

I took a look at your workflow and it looks as though the implementation of the Device: Update node is not correct. Within your node, you are trying to set a new device attribute, but the value you put into “Data Type Template” will not render, as it is expecting a data type, this is your Set Device Attribute:

And this is what is expected:
27%20AM

For your use case, I would set limit0 as an attribute within your device, like so:

Then replace your Device: Update node with a Device State node that will update the state when triggered by the dashboard slider.

Using a Device: Get node within your Particle workflow, you can get the last composite state for the attributes on the device. In checking the box, you can see on my payload that the last composite state of limit0 was 40, and can then use this number to compare to your value0, value1, etc.

Hopefully this helps!
Julia