Webhook Idea

Hello all, I’m running a project using webhook, GET JSON inserting {device_pinValue} in the middle of the sentence.

I don’t know if this make sense for all of you, but when I take a look to the webhook log I get something like https://WWWW.VVVVV.com/HHHH/{device_pinValue}/ZZZ/YYY/XXXXX and I think it would be more valuable to get the real device Pin Value than “device_pinValue”.

If not clear, if device_pinValue = “PEPITO”, I would like to have in the webhook log:
https://WWWW.VVVVV.com/HHHH/PEPITO/ZZZ/YYY/XXXXX
rather than:
https://WWWW.VVVVV.com/HHHH/{device_pinValue}/ZZZ/YYY/XXXXX

Best regards

Hello, @Jomugu

What do you specify in Custom JSON?

Are you updating one pin or multiple?

Regards

Hi, Oleksii,

What I specify is a certain appliance and an action to be triggered by IFTTT. Not always the same appliance (I have 6 different ones) and action can be ON or OFF.

I just update one pin at a time.

Hello, not ready to talk about IFTTT in Blynk.

For users only one type of webhooks is available - Device Sends Data to Datastream

Not always the same appliance (I have 6 different ones) and action can be ON or OFF.

You can create one webhook for one device or one webhook for one pin of device.

If not clear, if device_pinValue = “PEPITO”, I would like to have in the webhook log

You can use Custom JSON, like

{
  "value0": "{device_pinValue[0]}"
}

After trigger webhook, you can see like:
{"value0": "PEPITO"}

And also use placeholder "{device_pinValue}"
After trigger webhook, you can see like:
"PEPITO"