Hi all! I have a HA server in my LAN and all my IoT devices are in a separate VLAN. In this way to insert all the devices I have to configure them all manually using MQTT commands. Since I’m fed up about this method, I’ve added a second NIC to the HA VM (Proxmox) that is in the IoT VLAN. When I enter the terminal I see that HA has 2 IPs, one for each network and I thought that all the Shelly (they use the same MQTT broker that uses HA, they’re not configured for cloud connection and ColoT is enabled) devices would appear in HA, but…they don’t. How do you think that I can troubleshoot this problem?

  • peregus@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    is multicast DNS enabled and available in that VLAN?

    In OPNsense there is no multicast DNS option to be enabled, but since the Shelly devices and HA are in the same VLAN, the router shouldn’t even come into play.

    have you set up the network for HA using the ha network commands?

    No, I didn’t, but in the HA in the “Configure network interfaces” section I see the 2 NICs with the 2 correct IPs. Should I do something else?

    • thr0w4w4y2@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      If you’re using OPNsense I recommend you install and enable Avahi to help route discovery traffic, and I would double check multicast is functioning on your wifi.

      IIRC with home assistant there are some commands you can run to make it aware of your VLANs… have a look at this