Skip to main content
added 85 characters in body
Source Link
oh.dae.su
  • 560
  • 1
  • 6
  • 14

If you want to send a "then that" trigger to your esp8266, you can use a webhook.


However, you need to do some preparations on your home network:

  • You need to have a webserver running on your esp8266.
  • You need to enable port forwarding on your router for one port to be forwarded to your esp8266.
  • You need to know your public facing IP-address or you need to use a DynDNS service.
  • You need to be aware about the security implications of opening a public facing port and forwarding this to your esp8266.

Here is what you then need to enter into the ifttt webhook action fields:

  • URL: enter your public facing IP-address (including port that is forwarded to the esp8266) or your dynDNS address.
  • Method/Content Type/Body: feel free to choose.

An example for a simple http call:

http://yourexternalip:yourport/msg?switch=0

Here is what you need to implement on your esp8266:

On the esp8266 you need to have the webserver check for a http request as configured in your webhook and react according to your wishes.

If you want to send a "then that" trigger to your esp8266, you can use a webhook.


However, you need to do some preparations on your home network:

  • You need to have a webserver running on your esp8266.
  • You need to enable port forwarding on your router for one port to be forwarded to your esp8266.
  • You need to know your public facing IP-address or you need to use a DynDNS service.
  • You need to be aware about the security implications of opening a public facing port and forwarding this to your esp8266.

Here is what you then need to enter into the ifttt webhook action fields:

  • URL: enter your public facing IP-address (including port that is forwarded to the esp8266) or your dynDNS address.
  • Method/Content Type/Body: feel free to choose.

Here is what you need to implement on your esp8266:

On the esp8266 you need to have the webserver check for a http request as configured in your webhook and react according to your wishes.

If you want to send a "then that" trigger to your esp8266, you can use a webhook.


However, you need to do some preparations on your home network:

  • You need to have a webserver running on your esp8266.
  • You need to enable port forwarding on your router for one port to be forwarded to your esp8266.
  • You need to know your public facing IP-address or you need to use a DynDNS service.
  • You need to be aware about the security implications of opening a public facing port and forwarding this to your esp8266.

Here is what you then need to enter into the ifttt webhook action fields:

  • URL: enter your public facing IP-address (including port that is forwarded to the esp8266) or your dynDNS address.
  • Method/Content Type/Body: feel free to choose.

An example for a simple http call:

http://yourexternalip:yourport/msg?switch=0

Here is what you need to implement on your esp8266:

On the esp8266 you need to have the webserver check for a http request as configured in your webhook and react according to your wishes.

Source Link
oh.dae.su
  • 560
  • 1
  • 6
  • 14

If you want to send a "then that" trigger to your esp8266, you can use a webhook.


However, you need to do some preparations on your home network:

  • You need to have a webserver running on your esp8266.
  • You need to enable port forwarding on your router for one port to be forwarded to your esp8266.
  • You need to know your public facing IP-address or you need to use a DynDNS service.
  • You need to be aware about the security implications of opening a public facing port and forwarding this to your esp8266.

Here is what you then need to enter into the ifttt webhook action fields:

  • URL: enter your public facing IP-address (including port that is forwarded to the esp8266) or your dynDNS address.
  • Method/Content Type/Body: feel free to choose.

Here is what you need to implement on your esp8266:

On the esp8266 you need to have the webserver check for a http request as configured in your webhook and react according to your wishes.