Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. no router configuration?

no router configuration?

Scheduled Pinned Locked Moved General Discussion
7 Posts 4 Posters 1.3k Views 3 Watching
  • 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.
  • S Offline
    S Offline
    sspence65
    wrote on last edited by
    #1

    I've seen several cloud based IOT hubs that claim to require no port forwarding or port triggering configuration on the home's default router. How can I deploy 2 way communication (oh, garage door is open? click button on cell phone app to close it.) without the user needing a course in router configuration?

    mfalkviddM 1 Reply Last reply
    0
    • S sspence65

      I've seen several cloud based IOT hubs that claim to require no port forwarding or port triggering configuration on the home's default router. How can I deploy 2 way communication (oh, garage door is open? click button on cell phone app to close it.) without the user needing a course in router configuration?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      @sspence65 welcome to the MySensors community!

      Are you asking this in the context of a Controller developer? If that's the case I would use either NAT traversal or UPNP if incoming connections are important.

      An alternative is to let the Controller create an outbound connection (websocket, mqtt, xmpp or whatever you like) to a cloud service, which acts as a relay point between the cell phone app and the Controller.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sspence65
        wrote on last edited by
        #3

        My understanding so far is like this: If a controller sends an update / heartbeat to a IOT server, instructions from the IOT server can be passed back through that session? So the user, talking to the IOT server with his cell phone, has the ability to tell the home controller to do something, without the user having to configure NAT/PAT on the router?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sspence65
          wrote on last edited by
          #4

          Is there a way to do this without a cloud server? Can the cell phone app "call home" without router configuration? Maybe pair the cell phone app with the controller initially, then a VPN or some such is maintained between them. Please forgive my ignorance. I have designed networked sensors that insert data into a mysql database, and graph the results using php and json, but sending info back to the home is new for me. I am a network engineer, but trying to prevent the user from having to be.

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #5

            I do believe that most of those systems, are using a service on the internet, like pubsub etc. So the phone, and the home appliance, doesn't talk directly to each other, but rather through a central node on the net.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sspence65
              wrote on last edited by
              #6

              That's what I have to figure out how to do. I was thinking of using MQTT, but pushing the commands back to the home system is kicking my butt. I can have the home subscribe to the MQTT broker, but how often should I check? If the user says "open garage door" he wants it done now, not 5 minutes from now. I can't assume I can open a IGP / UPnP port on his router.

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                If you use normal mqtt implementation, the communication is pretty much instantaneous; the only problem you may encounter is to keep NAT session open on the router so you need to make sure the node "pings" the mqtt broker regularly otherwise after some minutes without traffic routers will close the NAT session and traffic from the outside will not get through and reach your node

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                22

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular