💬 MDMSGate
-
Unfortunately, for a while the MDMSGate will not be available for the sale (all 15 gateways have been sold). Now I am going to start the next 30 pcs into production. If someone wants to pre-order, please, send a PM to me.
-
@Anticimex , I have already uploaded the necessary license files.
-
@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? -
@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?@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 :
- 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.
- Open web interface of the controller and fill "IP address" and "Port" for the Ethernet gateway.
- Click "Connect" button and work!
Connecting through Wi-Fi a bit more complicated. If you want I can explain.
-
I have uploaded a small instruction "MDMSGate. Connection to Domoticz". This instruction explains how connect MDMSGate to Domoticz via LAN.
-
Now available in pcb (lot with 10 pcs) ...
-
@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.
-
@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.
@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?
-
@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?
@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 ....
-
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.jpgI 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.inoKind regards.
-
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.jpgI 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.inoKind regards.
@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.pdfThe sketch the same in all modes.
-
@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.pdfThe sketch the same in all modes.
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?
-
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?
@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.
-
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?
@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. -
The new batch of the MDMSGate (without an enclosure and cheaper) is already available....
-
@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.
-
@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.
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 ;)
-
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?
