You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -80,6 +80,41 @@ The integration can be configured in two ways:
80
80
- Password: (optional)
81
81
- SSL: Enable/disable SSL connection
82
82
83
+
### Method 3: Using Home Assistant MQTT Broker (Bridged Configuration)
84
+
Some users prefer to reduce the direct load on their Victron server and use bridge from the Venus device to a local mosquitto server running as add-on on the HAOS.
85
+
86
+
#### Prerequisites
87
+
1. Install the [Mosquitto broker add-on](https://github.com/home-assistant/addons/tree/master/mosquitto) from the Home Assistant Add-on Store
88
+
2. Configure a user and password for the MQTT broker in the add-on configuration
89
+
90
+
#### Configuration Steps
91
+
1.**Configure the Mosquitto Bridge**: Edit the Mosquitto configuration file at `/share/mosquitto/mosquitto.conf` (accessible via File Editor add-on or SSH) and add:
92
+
```
93
+
connection victron
94
+
address <YOUR_VENUS_IP>:1883
95
+
topic N/# in 0
96
+
# TO CHANGE settings via MQTT, one has to write to the "W/" topic!!
97
+
topic W/# out 0
98
+
topic R/# out 0
99
+
start_type automatic
100
+
allow_anonymous true
101
+
```
102
+
Replace `<YOUR_VENUS_IP>` with your Victron device's IP address.
103
+
104
+
2.**Restart the Mosquitto Add-on** to apply the bridge configuration
105
+
106
+
3.**Configure the Integration**: When setting up the Victron MQTT Integration:
107
+
- Host: `core-mosquitto` (the internal hostname for the HA MQTT broker)
- Provides a single MQTT broker for all your Home Assistant MQTT devices
116
+
- Allows for better network traffic management
117
+
83
118
## Adding entities
84
119
If you want to help the community and add more entities, please take a look at the [module](https://github.com/tomer-w/victron_mqtt) which drives this integration. It is very simple to extend this integration. I wrote a [document](https://github.com/tomer-w/victron_mqtt/blob/main/CONTRIBUTING.md) about it.
85
120
@@ -101,6 +136,7 @@ If you want to help the community and add more entities, please take a look at t
101
136
- enable SSL/TLS
102
137
- use user root
103
138
- use password that you have defined to protect the instance
139
+
-**Alternative**: Consider using the bridged configuration (Method 3) if you're experiencing frequent connectivity issues or want to reduce load on your Venus device.
104
140
105
141
2.**Authentication Failed**
106
142
- Double-check the username and password if authentication is enabled.
0 commit comments