this post was submitted on 05 Jan 2025
15 points (100.0% liked)

homeassistant

12461 readers
18 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] peregus 1 points 2 weeks ago (1 children)

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?

[–] [email protected] 1 points 2 weeks 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