Skip to content
  • 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. Feature Requests
  3. MQTT- and Ethernet-Gateway at the same time
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

MQTT- and Ethernet-Gateway at the same time

Scheduled Pinned Locked Moved Feature Requests
11 Posts 3 Posters 2.4k 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
    strangeoptics
    wrote on last edited by
    #1

    Is it possible to run the MQTT- and Ethernet-Gateway at the same time?

    This would open the possibility to run OpenHab and MYSController at the same time.

    YveauxY 1 Reply Last reply
    0
    • S strangeoptics

      Is it possible to run the MQTT- and Ethernet-Gateway at the same time?

      This would open the possibility to run OpenHab and MYSController at the same time.

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @strangeoptics Currently not. Having multiple concurrent controller connections would have to be tackled first.

      http://yveaux.blogspot.nl

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

        Openhab can work on ethernet too if I remember well

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

          Too bad :)

          My target infrastructure is OpenHab with MQTT and that is set. But for some features, especially overview and OTA, the MYSControllor looks promissing. But
          haven't tested it so far.

          thx

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

            For ota you can use mycontroller

            S 1 Reply Last reply
            0
            • gohanG gohan

              For ota you can use mycontroller

              S Offline
              S Offline
              strangeoptics
              wrote on last edited by
              #6

              @gohan yes but I had to switch to mycontroller and afterwards back to OpenHab every time I would like to use OTA

              gohanG 1 Reply Last reply
              0
              • YveauxY Yveaux

                @strangeoptics Currently not. Having multiple concurrent controller connections would have to be tackled first.

                S Offline
                S Offline
                strangeoptics
                wrote on last edited by
                #7

                @Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?

                I am not a big C++ programmer but in my home language java it would be a quick thing to do.

                YveauxY 1 Reply Last reply
                0
                • S strangeoptics

                  @gohan yes but I had to switch to mycontroller and afterwards back to OpenHab every time I would like to use OTA

                  gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  @strangeoptics how often are you updating firmware on nodes?

                  S 1 Reply Last reply
                  0
                  • gohanG gohan

                    @strangeoptics how often are you updating firmware on nodes?

                    S Offline
                    S Offline
                    strangeoptics
                    wrote on last edited by
                    #9

                    @gohan ;) aktually OTA is just an example. I like the MYSController with everything it can do and would like to switch it on and of whenever I would like to without any hassle.

                    I thought multi-controller-mode is easy to do and would give the project more flexibility.

                    1 Reply Last reply
                    0
                    • S strangeoptics

                      @Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?

                      I am not a big C++ programmer but in my home language java it would be a quick thing to do.

                      YveauxY Offline
                      YveauxY Offline
                      Yveaux
                      Mod
                      wrote on last edited by Yveaux
                      #10

                      @strangeoptics said in MQTT- and Ethernet-Gateway at the same time:

                      @Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?

                      Well, the issue isn't really to maintain multiple connections, but to handle the flow of data between multiple controllers and the gateway. Data coming from sensors can be distributed over connected controllers, but the question is how to handle data going to the sensors (which controller to listen to), which controller will supply ack's etc.
                      A lot of choices to be made, that probably also depend on the application...
                      If you want simultaneous connections it would probably be better to use some middleware like MQTT in between gateway and controllers.

                      http://yveaux.blogspot.nl

                      S 1 Reply Last reply
                      1
                      • YveauxY Yveaux

                        @strangeoptics said in MQTT- and Ethernet-Gateway at the same time:

                        @Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?

                        Well, the issue isn't really to maintain multiple connections, but to handle the flow of data between multiple controllers and the gateway. Data coming from sensors can be distributed over connected controllers, but the question is how to handle data going to the sensors (which controller to listen to), which controller will supply ack's etc.
                        A lot of choices to be made, that probably also depend on the application...
                        If you want simultaneous connections it would probably be better to use some middleware like MQTT in between gateway and controllers.

                        S Offline
                        S Offline
                        strangeoptics
                        wrote on last edited by
                        #11

                        @Yveaux Yes you are right, didn't thought about the ack's.

                        Another question. I would like to intercept the message flow in both directions in the gateway to put my logic in (smart sleep). Could you pinpoint me the method where this happens?

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


                        4

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.0k

                        Posts


                        Copyright 2019 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
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular