Webhook Exclude deviceId?

Is there a way to create a webhook that excludes certain deviceIds?

The situation I’m looking at is having a test device running production firmware, and publishing just as it would in production, but having its specific events trigger test-infrastructure webhooks only (and being excluded from production webhooks).

I’m thinking I either need a way to exclude it from the production webhooks, or make the production webhooks include multiple deviceIds (leaving the test device out).

Any ideas?

Or you just have a compile switch in your firmware to choose between dev/prod event names for either set of webhooks.

1 Like