I want to send an HTTP command to MKR1000 from outside my local network.

So far, all the googled resources point to getting the local IP (example of MKR1000 and sending a command like to it and then parse it.

How do I send a command to MKR1000 from outside its local network?

I should clarify that I want this to be a consumer product and can't have the end-user fiddling with their routers for port forwarding etc.

  • 1
    Google "port forwarding" along with the make and model of your router. – Majenko Sep 24 '16 at 10:15
  • I want it to be a consumer product and don't want every end user to be fiddling with their router. Edited my question accordingly. – Kashif Sep 24 '16 at 10:15
  • 1
    Well you can't. Simple fact: devices on an internal network, regardless of how you may wish it, are not accessible from outside. Only the user can configure their router to forward access to it. – Majenko Sep 24 '16 at 10:17
  • But a lot of consumer IOT products (e.g. NEST) are controlled from your mobile device from anywhere? – Kashif Sep 24 '16 at 10:18
  • 2
    No they aren't. An external service is controlled from your device, and the IoT device queries that same external service. – Majenko Sep 24 '16 at 10:19

The only way I can think of to achieve this would be to port forward your router, and forward port 80 (http) to your MKR1000. You can check out https://portforward.com/ for instructions on that.

If you don't want to port-forward, you'd have to have the MKR1000 connect to a centralized IOT server somewhere, and have the user go through the server to access the MKR1000. That's how other iot devices such as nest cameras do it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.