Page 1 of 1

wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 25 Dec 2019, 18:38
by leachimtrebron
how do I specify in Ruls on which MQTT server I want to send my information I have given 3 different ones under controller

Server 1: I want to set up GPIO states
Server 2: weather data only
Server 3: error messages only




how can I address the MQTT server 1 to 3 individually under Ruls

Re: wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 25 Dec 2019, 18:49
by grovkillen
Only on MQTT server is supported at this time. Can you elaborate why you need three?

Re: wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 26 Dec 2019, 14:20
by leachimtrebron
Good Morning and goog Morning grovkillen
Here is a more detailed answer to your question why:

3 MQTT servers have to be addressed because each MQTT server has its special tasks and access. They are also in different networks.
Private networks (VPN) as well as on the Internet and on the intranet.

Server 1: (is in a separate DMZ)
Stati of various actuators are collected here, which are to be installed throughout Europe. These actuators should also be controlled via MQTT. The actuators are installed in their own VPN networks so that they cannot be reached from the Internet, but only via the VPN network, from the DMZ.

Server 2: (public MQTT broker on the Internet)
Since the actuators also collect weather data that should be made accessible to private users, this data must land on an MQTT server that can also be accessed from the Internet so that all users have something of the values ​​(temperature / humidity / wind direction / brightness / fine dust / co2 etc)

Server 3: (MQTT broker that has a gateway to an SNMP system)
At a different location, this collects all relevant messages such as battery level, critical sensor readings, actuator failures, watchdog messages, etc.

NETWORK topology:
All actuators connect via the VPN access to the central office, which address the different MQTT brokers through routing in the central router
The distinction between where to route is done through port forwarding

MQTT Server-1: port 1883 (DMZ in Germany)
MQTT Server-2: port 2883 (Internet Server in Germany)
MQTT Server-3: port 3883 (VPN connection to France to the SNMP server gateway)

Hence the 3 MQTT servers.

So separation of the systems into publicly accessible data and private data and service data.

For security reasons, everything should be separate.

sorry for my bad english i hope you understand what i mean

Re: wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 26 Dec 2019, 16:46
by grovkillen
Ok I understand but that is not currently possible with one unit.

Re: wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 26 Dec 2019, 17:55
by leachimtrebron
maybe in one of the upcoming versions then I have to come up with something else

Re: wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Posted: 26 Dec 2019, 18:58
by grovkillen
Yes maybe. We have a lot on our plate at the moment. It's not part of the to-do list for the next version. I