• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Remote access to MCv2 Dashboard

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 811 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    wint0178
    last edited by 7 Jul 2023, 22:12

    My understanding is that I will be able to get my MC server setup to see it from any computer with a web browser. Is that correct? If so, how do I access the dashboard remotely to view the data?

    I think I could use my IP address on port 8080 or 8443(secure), but my understanding of residential internet is that my internal IP is certainly not the same as my external IP address. How do I navigate to my server to view the dashboard from a machine somewhere else?

    I plan to look into DDNS, but would love to hear from others if this is the best way to do this?

    1 Reply Last reply Reply Quote 0
    • W Offline
      wint0178
      last edited by 7 Jul 2023, 23:16

      I was able to get my DDNS service to work through my residential router and a service it provided. I have setup port forwarding for port 8080 and am able to see my dashboard on my mobile device.

      I am curious if the same will be needed for the MQTT nodes/gateways that will be setup at remote locations. Will I need to setup some port forwarding for those too?

      I noticed that there is a place in the MySensor Gateway sketch that uses a url rather than an IP address and I assume I will simply use the DDNS username in the complete url with port number to link my gateways to my MQTT broker running in docker on the same RPi as my MC Server.

      J 1 Reply Last reply 8 Jul 2023, 00:05 Reply Quote 0
      • J Offline
        jkandasa @wint0178
        last edited by 8 Jul 2023, 00:05

        @wint0178 we have many options, one of them is, port forward required services as you mentioned in your router. you need separate entry for each service(MyController, MQTT broker, etc.,)

        Some use reverse proxy. do one a port forward to your reverse proxy via 443 and 80, then do all other changes in your reverse proxy. Someof the famous reverse proxy servers are caddyserver, traefik, nginx, etc.,

        W 1 Reply Last reply 8 Jul 2023, 03:55 Reply Quote 0
        • W Offline
          wint0178 @jkandasa
          last edited by 8 Jul 2023, 03:55

          @jkandasa Thank you for this reply, for now the port forwarding seems to be working, but this will give me other options to look into if this stops working for my implementation.

          S 1 Reply Last reply 1 Oct 2023, 18:46 Reply Quote 1
          • S Offline
            skywatch @wint0178
            last edited by 1 Oct 2023, 18:46

            @wint0178 FWIW I run a local wireguard server on a pi (docker image) - works well and simple to set up! - As a bonus you get to all your local lan devices and service securely.

            W 1 Reply Last reply 23 Apr 2024, 13:12 Reply Quote 1
            • W Offline
              wint0178 @skywatch
              last edited by 23 Apr 2024, 13:12

              @skywatch I was able to setup several MQTT Gateways using NodeMCU boards with attached I2C sensors. The Gateways are all Wifi gateways, but I have been able to use my DDNS in place of the IP address to send data from several locations including one that is international. I think this is working well at this point. Thank you for your reply!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              0

              Online

              619

              Users

              531

              Topics

              3.4k

              Posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization