Please can you assist me.
My question relates to Your Book Arduino Step-by-step Projects Build 25 Projects – Unit 22 Intruder Detector with Notifications.
I wish to install a few motion detectors in my home but only create one applet on the IFTTT service but only use one applet but use a parameter. This is
Is there a way to send a parameter (the number of the motion sensor) to IFTTT so that I know which motion sensor was triggered
Yes. I think you can do that. But you need to create a different request that accepts an optional json body on the web request like in this tutorial: https://randomnerdtutorials.com/esp32-door-status-monitor-email/
The number/name of the sensor would be passed as value1, for example, see picture below, it has a place to enter up to three values.
You’ll need too add the value1 on the request like this:
client.print("value1=" + REPLACE_WITH_A_VARIABLE_THAT_SAVES_THE_PIR_NAME);
I hope this helps.
Unfortunately, I’m currently out of the office and I don’t have a way to try this out.