Using two gateways MQTT
-
Hello!!
As the title I would use for my control Domoticz two Gateway MQTT, being my Etherneth network very well distributed.is it possible to use 2 Gateway MQTT with a Domoticz controller ???
Thank you!!
-
Hello!!
As the title I would use for my control Domoticz two Gateway MQTT, being my Etherneth network very well distributed.is it possible to use 2 Gateway MQTT with a Domoticz controller ???
Thank you!!
-
Grazie mille!!
Thanks!!
-
I do not understand. Tell me I'm available
-
@mfalkvidd How does the system knows which gateway is?
-
It's not actually the same because the mqtt broker is only one, the controller can not identify the gateway if they are publishing to same topic, unless there is a way to assign an ID for each gateway. Right?
@gohan oh, now I understand. Yes, if you use the same broker you would need to set different topics.
// Set this node's subscribe and publish topic prefix #define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out" #define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway1-in"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login