Hello. First, I am brand new to Home Assistant. I have 2 Cerbo-S GXs. I have the 1st one running on HA just fine. I am using MQTT and Mosquitto. I am not sure how to tell Mosquitto or File Editor to look for a 2nd Cerbo. Mosquitto has a file that looks like this to link to the cerbo
connection victron
address 192.168.50.123:1883
topic N/# in 0 victron/
topic R/# out 0 victron/
Can I add the 2nd Cerbo-S's address in there somehow. I copied the code from a github post and copied in my Cerbo's Id. I also have the File Editor code for the first Cerbo in it's own file called mqtt.yaml, and included it in the configuration.yaml with the line
mqtt: !include mqtt.yaml
could I call the 2nd Cerbo's mqtt2.yaml and add it's code the same way?
I've been reading about the MODBUS method, but I am not sure on how to make that work yet. I am still looking for info. I would like to have them both read in the same way if possible. I'm sure it is simply a way of entering in the address of the 2nd Cerbo, telling Mosquitto to look for it, and having the code in File Editor. I have tried many combinations but haven't figured it out by accident. I can link up with the 2nd Cerbo with MQTT Explorer. Any help is greatly appreciated.
Windows 10 laptop, Python 3.12.1, Oracle Virtual Box 7.0.14