Accelerometer mqtt

Is that giving you an accelerometer widget like this that you’re trying to trigger?

If that’s the case, it’s expected, per the caveats I posted above.
But you should just be able to pass generic data to get a value widget that should work with triggers, if you try something like:

virtualWrite(13, 145, “null”, “myunit”)

That worked to generate trigger notifications for above/below X value for me. (and you can of course customize the ‘myunit’ label to whatever your actual data is.)