wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
leachimtrebron
Normal user
Posts: 24
Joined: 12 Mar 2018, 20:11

wie kann ich 3 Unterschiedliche MQTT Server unter rulseinzeln ansprechen

#1 Post by leachimtrebron » 25 Dec 2019, 18:38

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

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

#2 Post by grovkillen » 25 Dec 2019, 18:49

Only on MQTT server is supported at this time. Can you elaborate why you need three?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

leachimtrebron
Normal user
Posts: 24
Joined: 12 Mar 2018, 20:11

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

#3 Post by leachimtrebron » 26 Dec 2019, 14:20

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

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

#4 Post by grovkillen » 26 Dec 2019, 16:46

Ok I understand but that is not currently possible with one unit.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

leachimtrebron
Normal user
Posts: 24
Joined: 12 Mar 2018, 20:11

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

#5 Post by leachimtrebron » 26 Dec 2019, 17:55

maybe in one of the upcoming versions then I have to come up with something else

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

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

#6 Post by grovkillen » 26 Dec 2019, 18:58

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
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 30 guests