Push Button: Trigger Analysis Without Sending Data

@Andreas Gudmundsson

Is there a simple way to have a Push Button widget run an Analysis WITHOUT sending data to the device? I currently push a value to a dummy variable that is unused, but over time I can see the “useless data” count becoming significant.

@Guilherme Costa

Hi @andreas.gudmundsson,

Today is not possible to prevent a button to send data. What I can advise you is to run a delete line on your analysis.

For example, if you send a variable “press” each time you run an analysis, include something like:

await yourDevice.deleteData({ variable: "press", qty: 9999 });

That will clear that unused variable.

Hope that helps.
-Guilherme