Show guests..... possibly by showing devices in a certain range?

I’d like to create a view or lovelace card that shows any guests in my house.

I use DHCP and all of my devices either have a static IP or a reserved IP.
If a guest gets on my network, they will get a DHCP address in a certain range… x.x.x.220-240
Any ideas how to do this?

thanks

Use the auto-entities card to show trackers with that IP address range.

1 Like

But what if their devices are not connected to WiFi?
Assume that you have a guest access point w/o a password.
Even then a device must be manually connected - unless this AP is remembered as “always connect to this AP automatically”.

thanks

here’s my card

card:
  title: Guests
  type: glance
filter:
  include:
    - attributes:
        ip: 10.0.0.23*
      entity_id: device_tracker.*
      state: home
    - attributes:
        ip: 10.0.0.24*
      entity_id: device_tracker.*
      state: home
show_empty: true
type: custom:auto-entities
card_mod:
  style: |
    ha-card {
      color: red;
    }

my guest network also has a password so there most likely won’t be devices that I’m not aware of.
this is also to help remind me when I add a device, to also reserve an IP.