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. OpenHardware.io
  3. 💬 MDMSGate

💬 MDMSGate

Scheduled Pinned Locked Moved OpenHardware.io
atsha204amysensors gatewayesp8266ethernetmysensorsgatewaynrf24l01usbatmega328rfm69
82 Posts 22 Posters 27.5k Views 25 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.
  • kalinaK Offline
    kalinaK Offline
    kalina
    Hardware Contributor
    wrote on last edited by kalina
    #63

    New batch of devices is in stock and available now ...

    0_1500907927502_New batch.jpg

    M 1 Reply Last reply
    1
    • kalinaK kalina

      New batch of devices is in stock and available now ...

      0_1500907927502_New batch.jpg

      M Offline
      M Offline
      MagnusF
      wrote on last edited by
      #64

      @kalina I'm new to "MySensors" and I think this device will suits me very well. My plan is to use MQTT and Wi-Fi mode.
      Is this possible? To use Wi-Fi / Ethernet, as I understand, IP addresses for Gateway, router and controller must be defined but I have read that you in all modes is using the serial gateway sketch which not have IP adresses defined.
      I wonder if there is any other gateway sketch that shall be used or how to solve this?

      kalinaK 1 Reply Last reply
      0
      • M MagnusF

        @kalina I'm new to "MySensors" and I think this device will suits me very well. My plan is to use MQTT and Wi-Fi mode.
        Is this possible? To use Wi-Fi / Ethernet, as I understand, IP addresses for Gateway, router and controller must be defined but I have read that you in all modes is using the serial gateway sketch which not have IP adresses defined.
        I wonder if there is any other gateway sketch that shall be used or how to solve this?

        kalinaK Offline
        kalinaK Offline
        kalina
        Hardware Contributor
        wrote on last edited by kalina
        #65

        @MagnusF said in 💬 MDMSGate:

        My plan is to use MQTT and Wi-Fi mode. Is this possible?

        Unfortunately, no. This gateway uses a microcontroller PIC18F67J60. Firmware of this uC doesnt support MQTT protocol (in future I probably add this feature). You can only use it as a ethernet gateway. In Wi-Fi mode, the ESP-12 module acts as well as the PIC18F67J60 microcontroller - converts the packets of TCP/IP to UART and vice versa.

        Connection to controller through Ethernet :

        1. Connect MDMSGate to the router (network). After this router will define IP address for gateway through DHCP (for example 192.168.1.6). You also can see this adress in router web interface.
        2. Open web interface of the controller and fill "IP address" and "Port" for the Ethernet gateway.
        3. Click "Connect" button and work!

        Connecting through Wi-Fi a bit more complicated. If you want I can explain.

        1 Reply Last reply
        0
        • kalinaK Offline
          kalinaK Offline
          kalina
          Hardware Contributor
          wrote on last edited by kalina
          #66

          I have uploaded a small instruction "MDMSGate. Connection to Domoticz". This instruction explains how connect MDMSGate to Domoticz via LAN.

          1 Reply Last reply
          0
          • kalinaK Offline
            kalinaK Offline
            kalina
            Hardware Contributor
            wrote on last edited by kalina
            #67

            Now available in pcb (lot with 10 pcs) ...

            1 Reply Last reply
            0
            • M Offline
              M Offline
              marvin78
              wrote on last edited by
              #68

              Could you please describe the "WLAN way"? Tank you.

              kalinaK 1 Reply Last reply
              0
              • M marvin78

                Could you please describe the "WLAN way"? Tank you.

                kalinaK Offline
                kalinaK Offline
                kalina
                Hardware Contributor
                wrote on last edited by kalina
                #69

                @marvin78 Hi, as i understand you got MDMSGate without Wi-Fi (ESP-12), because you didn't specify it in the order. I have written a small manual that describes how to start work in Wi-Fi mode in this case. Please, go to "Design files" menu and download "MDMSGate. Manual for installing Wi-Fi.pdf" file.

                M 1 Reply Last reply
                0
                • kalinaK kalina

                  @marvin78 Hi, as i understand you got MDMSGate without Wi-Fi (ESP-12), because you didn't specify it in the order. I have written a small manual that describes how to start work in Wi-Fi mode in this case. Please, go to "Design files" menu and download "MDMSGate. Manual for installing Wi-Fi.pdf" file.

                  M Offline
                  M Offline
                  marvin78
                  wrote on last edited by marvin78
                  #70

                  @kalina You're right. But it is no problem for me to solder in the ESP-12. So thank you.

                  One question: will I be able to use Wifi, Serial OR (not and) LAN if I follow the steps from your instruction? As in just change jumper positions and use the other one? Does the sketch support that?

                  kalinaK 1 Reply Last reply
                  0
                  • M marvin78

                    @kalina You're right. But it is no problem for me to solder in the ESP-12. So thank you.

                    One question: will I be able to use Wifi, Serial OR (not and) LAN if I follow the steps from your instruction? As in just change jumper positions and use the other one? Does the sketch support that?

                    kalinaK Offline
                    kalinaK Offline
                    kalina
                    Hardware Contributor
                    wrote on last edited by kalina
                    #71

                    @marvin78 said in 💬 MDMSGate:

                    One question: will I be able to use Wifi, Serial OR (not and) LAN if I follow the steps from your instruction? As in just change jumper positions and use the other one? Does the sketch support that?

                    Yes, you're absolutely right. It was the main goal. The mode changing just with change jumpers position. And as for sketch - in all 3 modes it is standard serial gateway sketch. I have written about it befor ....

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      giltesa
                      Hardware Contributor
                      wrote on last edited by
                      #72

                      Hello Kalina,

                      On April 7, I presented my domotics nodes at the Arduino Day in Zaragoza, Spain. Your gateway worked all day like a champion!
                      https://giltesa.com/wp-content/uploads/2018/04/ArduinoDayZgz2018_stand.jpg

                      I have a question, would it be possible to get the Arduino sketch that has recorded the Atmega328P?
                      Is this code? Do you only need that to work for NRF24L01+Ethernet?
                      https://github.com/DmytroKalinkin/MDMS/blob/master/Gateway_2.4GHz/Gateway_2.4GHz.ino

                      Kind regards.

                      kalinaK 1 Reply Last reply
                      0
                      • G giltesa

                        Hello Kalina,

                        On April 7, I presented my domotics nodes at the Arduino Day in Zaragoza, Spain. Your gateway worked all day like a champion!
                        https://giltesa.com/wp-content/uploads/2018/04/ArduinoDayZgz2018_stand.jpg

                        I have a question, would it be possible to get the Arduino sketch that has recorded the Atmega328P?
                        Is this code? Do you only need that to work for NRF24L01+Ethernet?
                        https://github.com/DmytroKalinkin/MDMS/blob/master/Gateway_2.4GHz/Gateway_2.4GHz.ino

                        Kind regards.

                        kalinaK Offline
                        kalinaK Offline
                        kalina
                        Hardware Contributor
                        wrote on last edited by kalina
                        #73

                        @giltesa said in 💬 MDMSGate:

                        Your gateway worked all day like a champion!

                        Nice to hear! MDMSGate is my first and the best device))

                        @giltesa said in 💬 MDMSGate:

                        Is this code? https://github.com/DmytroKalinkin/MDMS/blob/master/Gateway_2.4GHz/Gateway_2.4GHz.ino

                        Yes, MDMSGate is programmed by standard serial gateway sketch.

                        @giltesa said in 💬 MDMSGate:

                        Do you only need that to work for NRF24L01+Ethernet?

                        No, I also use (in some case) serial and Wi-Fi connection. For the serial connection just change jumpers position. As for Wi-Fi connection you can read this
                        https://www.openhardware.io/dl/5782866b09fcb093053825e4/design/MDMSGate. Manual for installing Wi-Fi.pdf

                        The sketch the same in all modes.

                        G 1 Reply Last reply
                        0
                        • kalinaK kalina

                          @giltesa said in 💬 MDMSGate:

                          Your gateway worked all day like a champion!

                          Nice to hear! MDMSGate is my first and the best device))

                          @giltesa said in 💬 MDMSGate:

                          Is this code? https://github.com/DmytroKalinkin/MDMS/blob/master/Gateway_2.4GHz/Gateway_2.4GHz.ino

                          Yes, MDMSGate is programmed by standard serial gateway sketch.

                          @giltesa said in 💬 MDMSGate:

                          Do you only need that to work for NRF24L01+Ethernet?

                          No, I also use (in some case) serial and Wi-Fi connection. For the serial connection just change jumpers position. As for Wi-Fi connection you can read this
                          https://www.openhardware.io/dl/5782866b09fcb093053825e4/design/MDMSGate. Manual for installing Wi-Fi.pdf

                          The sketch the same in all modes.

                          G Offline
                          G Offline
                          giltesa
                          Hardware Contributor
                          wrote on last edited by giltesa
                          #74

                          @kalina

                          I find it surprising that without writing any line of programming code, apart from the constants, the MySensors library takes care of everything, it's great!

                          My intention was to change the channel of the NRF24L01, the transfer speed, and configure the ATSHA204A.

                          I think I read that the MDMSGate does not support MQTT because of hardware stuff, do you plan to release a second version?
                          The truth is that I am not sure that it is essential either, but I ask you out of curiosity.

                          Edit:
                          More questions...

                          Why is the sketch configured with MY_RF24_PA_LEVEL = RF24_PA_LOW? Would not it be better to use the value RF24_PA_HIGH or RF24_PA_MAX?

                          kalinaK AnticimexA 2 Replies Last reply
                          0
                          • G giltesa

                            @kalina

                            I find it surprising that without writing any line of programming code, apart from the constants, the MySensors library takes care of everything, it's great!

                            My intention was to change the channel of the NRF24L01, the transfer speed, and configure the ATSHA204A.

                            I think I read that the MDMSGate does not support MQTT because of hardware stuff, do you plan to release a second version?
                            The truth is that I am not sure that it is essential either, but I ask you out of curiosity.

                            Edit:
                            More questions...

                            Why is the sketch configured with MY_RF24_PA_LEVEL = RF24_PA_LOW? Would not it be better to use the value RF24_PA_HIGH or RF24_PA_MAX?

                            kalinaK Offline
                            kalinaK Offline
                            kalina
                            Hardware Contributor
                            wrote on last edited by kalina
                            #75

                            @giltesa said in 💬 MDMSGate:

                            My intention was to change the channel of the NRF24L01, the transfer speed, and configure the ATSHA204A.

                            You can make any changes that the MySensors library allows.

                            do you plan to release a second version?

                            I am completely satisfied with this version. But despite this,
                            i think about a new version all the time: RS485, Bluetooth, MQTT ... what else???, So, i still don't see "the main feature" of the second version. As soon as i will find it, second version will be released immediately.

                            Why is the sketch configured with MY_RF24_PA_LEVEL = RF24_PA_LOW?

                            Because RF24_PA_LOW configuration completely covers an area on which all my nodes are located. And I see no reason to increase the power.

                            1 Reply Last reply
                            1
                            • G giltesa

                              @kalina

                              I find it surprising that without writing any line of programming code, apart from the constants, the MySensors library takes care of everything, it's great!

                              My intention was to change the channel of the NRF24L01, the transfer speed, and configure the ATSHA204A.

                              I think I read that the MDMSGate does not support MQTT because of hardware stuff, do you plan to release a second version?
                              The truth is that I am not sure that it is essential either, but I ask you out of curiosity.

                              Edit:
                              More questions...

                              Why is the sketch configured with MY_RF24_PA_LEVEL = RF24_PA_LOW? Would not it be better to use the value RF24_PA_HIGH or RF24_PA_MAX?

                              AnticimexA Offline
                              AnticimexA Offline
                              Anticimex
                              Contest Winner
                              wrote on last edited by
                              #76

                              @giltesa many power their devices through USB on their computers for bringing up nodes.
                              Often the radio is powered by the same source, and driving it at max makes the nrf24 unstable if the power supply is not rock solid.
                              Besides, having the default being at the lowest power, you have reasonable power optimization by default for battery powered nodes.
                              If it does not work you can always gradually crank it up. And not the other way around.

                              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                              1 Reply Last reply
                              2
                              • kalinaK Offline
                                kalinaK Offline
                                kalina
                                Hardware Contributor
                                wrote on last edited by
                                #77

                                The new batch of the MDMSGate (without an enclosure and cheaper) is already available....

                                1 Reply Last reply
                                1
                                • A Offline
                                  A Offline
                                  Animal64
                                  wrote on last edited by
                                  #78

                                  @kalina I'm new to MySensors and exploring if there are gateways that suite my needs. Yours looks particularly interesting. However in this topic I read MQTT is not supported. I assume that this means you cannot run a MQTT broker on the MDMSGate but that it can be an MQTT client correct? Also I do need both RFM69 and NRF2401 radios can both be active at the same time on the device or is it mutually exclusive and does one need a gateway for each radio? Please explain. Many thanx in advance.

                                  kalinaK 1 Reply Last reply
                                  0
                                  • A Animal64

                                    @kalina I'm new to MySensors and exploring if there are gateways that suite my needs. Yours looks particularly interesting. However in this topic I read MQTT is not supported. I assume that this means you cannot run a MQTT broker on the MDMSGate but that it can be an MQTT client correct? Also I do need both RFM69 and NRF2401 radios can both be active at the same time on the device or is it mutually exclusive and does one need a gateway for each radio? Please explain. Many thanx in advance.

                                    kalinaK Offline
                                    kalinaK Offline
                                    kalina
                                    Hardware Contributor
                                    wrote on last edited by
                                    #79

                                    Hi @animal64, we are glad to welcome you in the MySensors community.

                                    I don't use MQTT, but one of users, who took the gateway, did some work in this direction, you can find on this link - https://gitlab.com/denissp/mdmsgate_mqtt/

                                    Yes, for each type of radio module you need your own gateway, its own subnet. This means that two gateways are needed.

                                    If you have any questions, please contact us, we will always be happy to help ;)

                                    1 Reply Last reply
                                    1
                                    • kalinaK Offline
                                      kalinaK Offline
                                      kalina
                                      Hardware Contributor
                                      wrote on last edited by
                                      #80

                                      I am going to production a new batch of gateways, but before that I want to upgrade it. Does anyone have any suggestions for improving current version MDMSGate?

                                      berkseoB 1 Reply Last reply
                                      2
                                      • kalinaK kalina

                                        I am going to production a new batch of gateways, but before that I want to upgrade it. Does anyone have any suggestions for improving current version MDMSGate?

                                        berkseoB Offline
                                        berkseoB Offline
                                        berkseo
                                        wrote on last edited by
                                        #81

                                        @kalina said in 💬 MDMSGate:

                                        I am going to production a new batch of gateways, but before that I want to upgrade it. Does anyone have any suggestions for improving current version MDMSGate?

                                        Hi, put away the black radio and put the EBYTE green radio :). The remaining problems do not concern HW.

                                        ps/ Where have you gone?

                                        kalinaK 1 Reply Last reply
                                        0
                                        • berkseoB berkseo

                                          @kalina said in 💬 MDMSGate:

                                          I am going to production a new batch of gateways, but before that I want to upgrade it. Does anyone have any suggestions for improving current version MDMSGate?

                                          Hi, put away the black radio and put the EBYTE green radio :). The remaining problems do not concern HW.

                                          ps/ Where have you gone?

                                          kalinaK Offline
                                          kalinaK Offline
                                          kalina
                                          Hardware Contributor
                                          wrote on last edited by
                                          #82

                                          Hi @berkseo. Thanks for the suggestion, but could you describe in more detail? As for my TODO list, there is already a task to add 485 interface to the gateway. My latest device "xRoom" have this interface.

                                          ps/ Where have you gone?

                                          I have been working on "xRoom" shield. A small announce:

                                          0_1562049826156_5e44feda-bb1e-4a93-b30a-0bc99a201ee5-image.png

                                          Do you remember the discussion about multinode? So, it will be available soon))

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


                                          13

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