#Host IP is 192.168.168.101. I must use

1 messages · Page 1 of 1 (latest)

sharp flame
#

Assuming that the Mosquitto container is on the host network, yes, but you said you created a maclan...

main vapor
#

yes I know about the macvlan it was a mistake on my part! Sorry! I did a lot of tests and I was wrong.

sharp flame
#

Use MQTT Explorer and see if that can connect to your broker

main vapor
#

I've just installed MQTT Explorer and managed to connect to my MQTT server with the information I gave you earlier.

I really don't get it!

#

I can see my lights I've connected

sharp flame
#

What does your compose entry for HA look like?

main vapor
#

In MQTT Explorer ?

sharp flame
#

Your Docker Compose entry

main vapor
#

ah ok !

#

homeassistant: image: homeassistant/home-assistant:stable container_name: homeassistant networks: dockervlan: ipv4_address: 192.168.168.111 ports: - 8123:8123 privileged: true environment: <<: *default-tz-puid-pgid volumes: - ${DOCKERDIR}/appdata/homeassistant/config:/config - /etc/localtime:/etc/localtime:ro restart: always

#

In any case! A BIG THANK YOU for your help!

#

Could it be that HA is on macvlan and MQTT is on another network (driver bridge)?

sharp flame
#

Well... we've found your problem

#

The HA docs are very clear that you need to use host networking

#

I even mentioned that, and you said you were

#

And ... then we see that's not the case

main vapor
#

I'm looking. I'll tell you the result later.

#

We didn't understand each other about the network