itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
558 stars 166 forks source link

In DIY mode . How can I send http request via WAN instead of LAN? #111

Open Steven1937 opened 3 years ago

Steven1937 commented 3 years ago

Hi In DIY mode, How can I control the device via WAN, What URL can I use for WAN http request?

VTsuprov commented 3 years ago
  1. You have to open your local network to the internet
  2. You have to know what is your wan IP
  3. You have to do port forwarding in your router. If you trigger 8081 by wan IP the router should forward request to sonoff ip and port 8081
  4. That's all P.S. If you don't have fixed wan IP, your should use DDNS service to find out your wan IP. Noip.com is a good one
rtek1000 commented 2 years ago

https://www.tp-link.com/br/support/faq/1367/

MuhammadShafaullah commented 2 years ago

The same question, I wanted to know? please share any helpful video or post.. a beginner who can understand.