Which gateway to choose Serial, Ethernet or MQTT?
-
I'm currently running OpenHab on RPi2. I was looking at some other controller option just out of curiosity. Some of them support Serial and/or Ethernet gateway.
I'm wondering for ex. I want to try out Domoticz. It supports Serial and Ethernet. So, which one should I choose? Does it matter? Serial is better choice over ethernet or vice-versa?
would be great if you can shed some light on this. Thanks!
-
I guess it mostly depends on what you have available and where you want to place the Gateway. With the serial option you have to have the Gateway quite close to your computer, while with the ethernet option you can have them further apart.
On the other hand, the ethernet option can be more expensive than the serial option since you need an ethernet adapter for the gateway.
For my part I'm quite happy using the serial Gateway together with OpenHAB (earlier) and now testing it with Domoticz without any problems.
-
... and the serial gateway usually is powered by the host USB computer/controller, while the ethernet gateway requires its own power adapter.
Just adding my two cents
-
How could you deal with the need of 'restarting' the arduino (USB) after server reboots?
I use Domoticz on OrangePI and when it reboots, the arduino is powered all the time, so it doesn't see serial arduino port after reboot.
-
I use my Serial gateway plugged on my Vera-Lite USB port, no issues when rebooting. Serial port is always there as it should.
-
@kolaf Great, Thanks for the response. The serial gateway sound a good option to me. I'm using RPi2 with OpenHab. Would you happen to have any tutorial link where I can look learn the to connect serial gateway to RPi with Openhab? Do I still need MQTT with serial gateway?
PS: I'm new to all this and do not hesitate to ask questions. Hope thats okay.
Thanks
-
@rvendrame That is definitely a plus point. For me the question is, if serial gateway works with RPi + OpenHab?
-
There should be a recent topic on this somewhere in the forum. I can look it up when I'm at the computer later.
-
@kolaf If you could find, that would be very helpful. Thanks!
-
-
@TimO Thanks, I will try this.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports β’ 23 Mar 2014, 23:37 β’ andriej 24 Mar 2014, 22:52 -
Human presence sensors....
General Discussion β’ 31 Jan 2025, 10:54 β’ skywatch 9 Feb 2025, 19:36 -
ESP-NOW
General Discussion β’ 22 Apr 2018, 05:58 β’ NeverDie 17 Feb 2025, 22:24 -
Code Garage to the rescue.
General Discussion β’ 11 Jan 2025, 11:25 β’ skywatch 23 Feb 2025, 14:57 -
No merge into master in the last 5 years, should we use development?
General Discussion β’ 23 Sept 2024, 17:48 β’ kiesel 10 days ago -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion β’ 24 Jan 2023, 17:16 β’ Yada Kijsathan 18 days ago