Blynk +local server +IFTTT

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 192.168.43.180

#hardware mqtt port
hardware.mqtt.port=8440

#hardware ssl port
hardware.ssl.port=8441

#hardware plain tcp/ip port
hardware.default.port=8442

#http and web sockets port
http.port=80

#https and web sockets port
https.port=9443

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

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:

but i cant able to purchase

i shows some error

Hi, do you still need help or are you sorted? I had a similar problem which is sorted now.

This user spent about 5 weeks as an active member of the forum, and its almost 2 years since he last logged-in.

image

Pete.

Thanks Pete, maybe I should have checked that before I commented… :grimacing:

It’s always good to share information about a potential solution to an issue raised in a topic, as other people may search and find that helpful. In this case, the OP may not respond but please go ahead and share your knowledge anyway.

Pete.

Ok, so as Pete suggested I will share my personal experience with local server and IFTTT.

By no means am I a pro at Blynk, but I have managed to overcome some issues I’ve been experiencing personally.

Initially I kept on getting and error ETIMEDOUT when setting up IFTTT - webhooks - google assistant and Amazon Alexa. This is specifically for my local Blynk server. When copying and pasting the web request URL into my browser I get the result I intended to get. But when doing it through google assistant or Alexa it fails. I had it as follows:

http://192.168.1.120:8080/YJ*************************************5S/update/D16?value=1

I guess that due to the fact that the address is a local network address it cannot be resolved, therefore the request cannot reach my local server. To overcome this I created a ddns address that points to my router. The router forwards this to the local ip address of my local Blynk server through the DMZ setup on my router. I changed the ip address in the original webhooks URL to the ddns address that I created (t*********p.ddns.net)

I used Method: Get
Content Type: application/json

Also, don’t go and edit an old webhooks applet, instead create a new webhooks applet. I found that editing one of my previous applets with the new info did not work. This might also just be by chance and your experience may be completely different.

I hope it all makes sense and that hopefully someone might get some answers from my post.

Ps. I used noip.me to create my ddns address

1 Like