Blynk +local server +IFTTT

I’m creating a project based on blynk and ifttt for triggering devices . In ifttt im using google assistant in (if) and webhooks in (then).google assistant works fine and it doesnt triggers webhooks and shows error ETIMEDOUT .
this happens while using local server

and the same works fine while using blynk cloud server

it sounds to me like it’s a port problem in your local network, i had a similar issue whereby my NAS was using the same port as the Applet uses. My problem was solved by using a different port number for my NAS and by adding :8080 in the applet URL. and port forwarding 8080 to the local server address,

1 Like

my server port was already in 80

and im new to this …could you explain me in detail

how to make webhook request to my local server and which url should i use …my current local server url is

server port is 80

what device are you running your local server on, i.e raspberry pi etc?

Depending on what your application is doing, here is a simple url to turn a button ON.
try using this url in the applet webhook*****your token*****/update/V1?value=1
and the other fields as per photo

and the blynk app project like below

im running a local server on my laptop

was it to be in GET method ?

because i have to turn on a device ie. Relay

Yes GET is easiest and doesn’t require any entry for body as it’s all in the url.

not working sir…

i think its cant access the local server on my laptop

thanks for your response sir

That’s why we recommend using the super useful Blynk cloud server.

Webhook will not work with a local IP.

There is a recent thread that covers all this. Is your server accessible from the internet?

i dont know how to access my local server through internet …can u help me plz

my local server ip

#hardware mqtt port

#hardware ssl port

#hardware plain tcp/ip port

#http and web sockets port

#https and web sockets port

#application ssl port
#deprecated. should be removed in future versions
#just for back compatibility for now

Sure, the following thread is very similar to your problem. You should learn a lot from it. It states 18 minutes to read it but I would take a few hours to read it properly. Pay attention to the references about IPTABLES as it’s an area where lots of users simply ignore the references in Blynk’s local server docs.

In my opinion local servers are used far too often by networking novices and Blynk’s cloud servers should be server of choice.

Yes. You need to be conversant with port forwarding on your router to be able to do this. You will need to forward port 80 on your router to port 80 on your local IP on which the local server is running. Trust your laptop will be at home when you travel else this set up is just for testing, is it not.

how to port forward

im a windows user

  1. Login to your router and go into administration mode.
  2. Choose port forwarding and follow the guidelines to achieve port forwarding.
  3. Trust your router WAN has a public IP and not a rfc1918 compliant address.

i dont have any router sir.

im running a local server on my laptop

Use Blynk’s server.

local server has more energy than blynk server

but Blynk server is much better for true iOT projects built by networking novices or users without a router.

1 Like

That benefit comes at the cost of really knowing what you are doing :stuck_out_tongue_winking_eye: