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. Controllers
  3. Domoticz
  4. MQTT and Mysensors gateway All in one

MQTT and Mysensors gateway All in one

Scheduled Pinned Locked Moved Domoticz
12 Posts 5 Posters 4.8k Views 2 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.
  • D Offline
    D Offline
    Dylano
    wrote on last edited by
    #1

    Best ..
    I want to build myself battery powered . I wanted to use the ESP 6288 , but has suffered from battery drain.

    Now I'm going to try mysensors .
    I would like to make an all in one gateway, mysensors and MQTT [ I do not know what it all is, but if I still start . :-) ]

    I have an Arduino envisioned as a gateway.
    Could it be one gateway for both protocols ?

    Can anyone help me on the road as a start ?
    Because when I read, it seems like the mysensors gateway , both supported?

    Thanks advance !!

    Domoticz, with a lot of working hardware, include mysensors :-)
    OpenPLI, RuneAudio, Solarmeter, etc......

    Not a great builder of software and hardware, more a user...
    Only i try to do my best :-(

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #2

      Hi Dylano!

      If you are going to use Domoticz controller mqtt is not officially supported: http://www.mysensors.org/controller/domoticz

      You can read this thread: http://forum.mysensors.org/topic/2698/anyone-has-the-setup-domoticz-mqtt-broker-mysensors-up-n-running, http://forum.mysensors.org/topic/1968/domoticz-and-mqtt-connections.

      If you are new to MySensors i would read [Getting started].(http://www.mysensors.org/about/) and http://www.mysensors.org/controller/

      Good luck!

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dylano
        wrote on last edited by
        #3

        Thanks...

        I gonna try it.. [ and read... :-) ]

        Only i think it should work in Domoticz...

        ScreenShot009.jpg

        But i try to start with my sensors..
        And then mqtt

        Domoticz, with a lot of working hardware, include mysensors :-)
        OpenPLI, RuneAudio, Solarmeter, etc......

        Not a great builder of software and hardware, more a user...
        Only i try to do my best :-(

        1 Reply Last reply
        0
        • dakkyD Offline
          dakkyD Offline
          dakky
          wrote on last edited by
          #4

          this will probably not work: domoticz is waiting for mqtt messages not matching the mqtt messages delivered by mysensors. When using domotitz ethernet or serial gateway is preferable

          Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
          Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

          Software: MySensors 2.0development

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dylano
            wrote on last edited by
            #5

            So i must make a gw for my sensors....[ uno is the best option? ]
            And make a gateway for MQTT?

            Thanks

            Domoticz, with a lot of working hardware, include mysensors :-)
            OpenPLI, RuneAudio, Solarmeter, etc......

            Not a great builder of software and hardware, more a user...
            Only i try to do my best :-(

            1 Reply Last reply
            0
            • dakkyD Offline
              dakkyD Offline
              dakky
              wrote on last edited by
              #6

              there is only one gateway in your network.

              you should proceed the following way:

              1. decide which controller to use
              2. build gateway, which fits to your controller
              3. build the nodes

              Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
              Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

              Software: MySensors 2.0development

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Dylano
                wrote on last edited by
                #7

                Sorry, for my stupids...
                My controller is Domoticz...

                I want to build a gateway for mysensors and mqtt
                What should i make....
                I prefer 1 hardware for the 2 protocols

                Or is the best option to make 2 different gateways?

                Domoticz, with a lot of working hardware, include mysensors :-)
                OpenPLI, RuneAudio, Solarmeter, etc......

                Not a great builder of software and hardware, more a user...
                Only i try to do my best :-(

                1 Reply Last reply
                0
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #8

                  You can use several gateways in Domoticz (for different protocols), just add them in hardware.
                  You need to code/create a mqtt gateway for Domoticz since this doesnt excist what i know of.

                  I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #9

                    @sundberg84 said:

                    I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.

                    It is possible to have several gateways; Just alter channel or base radio ir (for nrf). But one each node should only be "connected" to one gateway.

                    1 Reply Last reply
                    1
                    • D Offline
                      D Offline
                      Dylano
                      wrote on last edited by
                      #10
                      I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.```
                      

                      Do you have a how to?

                      Domoticz, with a lot of working hardware, include mysensors :-)
                      OpenPLI, RuneAudio, Solarmeter, etc......

                      Not a great builder of software and hardware, more a user...
                      Only i try to do my best :-(

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #11

                        Just set ret frequency/base-id in MyConfig.h before compiling gw/sensors.

                        1 Reply Last reply
                        0
                        • mountainmanM Offline
                          mountainmanM Offline
                          mountainman
                          wrote on last edited by
                          #12

                          Is it possible to use the same sensors with both ethernet and MQTT? I am currently using the ethernet gateway with vera but I would like to try MQTT/OpenHab. I would like to see the same sensors in both environments. Is the possible use the mutt gateway with vera?

                          Thanks in advance.

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


                          23

                          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