developer-ccei-pool / home-assistant-vigipool-installer

Apache License 2.0
0 stars 1 forks source link

Multiple MQTT servers / bridge #3

Open kefrens opened 3 weeks ago

kefrens commented 3 weeks ago

Hi / Bonjour

'Warning ! Home Assistant cannot connect to multiple MQTT servers, this means that this script cannot be used if the Vigipool product is not the Home Assistant MQTT server '

This is not true. In HA / Mosquitto you can bridge multiple MQTT Servers.

Simply configure your HA MQTT (let's call it main) You can bridge the VigiPool (Tild/Anteas) MQTT with HA

Simply create a mosquitto.conf file with this info:

connection bridge-01
address 192.168.1.XX:1883 # Ip address of your vigipool device
topic # out 0
topic # in 0

Then you will see everything: image

developer-ccei-pool commented 3 weeks ago

Hi,

Thank you, for your feedback, I didn't know this method

I will correct the readme with your new information, can I put a link to your explication and translate it in other languages ?

kefrens commented 3 weeks ago

Yes of course I forgot to add that in the conf of the add-on you need to enable customize: image

and I created the file under image

with this content:

connection bridge-01
address 192.168.1.XX:1883 # Ip address of your vigipool device
topic # out 0
topic # in 0

As well since a few days I have weird behaviour; the MQTT server of the Tild VP is connecting/disconnecting. It does the same on MQTT explorer. Does anything has changed? Its still anonymous access on port 1883?

kefrens commented 3 weeks ago

Replying to myself on the weird MQTT issue. Its maybe because I changed the main device (centrale vigipool) from anteaVS to tild. I changed it again to AnteaVS and it seems to work.

I can successfully bridge anteavs broker to home assistant broker (which is also bridged to paradox alarm and tasmota)

I can as well change pump speed (i made a PR for it) cheers

developer-ccei-pool commented 3 weeks ago

Thank you for the additional information

Glad to see everything is working !