Presence Detection broken

After the most recent update, presence detection no longer shows on the webUI.

Check for error in your log. The lastest release introduced the validation of the configuration. It might be that your configuration.yaml contains syntax errors.

still new to “code”…

I found an error, it was duplicate devices in the known_devices.yaml. I don’t know why one of my laptops keeps getting added. I deleted the extra entries and it is working again.

Thanks

This will work for a little while. DHCP will reuse IP addresses over time. The default title chosen in known_devices.yaml will never remain unique and was probably a bad choice for them to use. I resolved this in my config by renaming the devices that I was familiar with and appending letters to the items that I wasn’t.

hplaserjetacmenet:
  name: hplaserjet.acme.net
  mac: ff:ff:ff:ff:ff:ff
  picture:
  track: no
  hide_if_away: no

192168132a:
  name: 192.168.1.32
  mac: ff:ff:ff:ff:ff:f0
  picture:
  track: no
  hide_if_away: no

192168132b:
  name: 192.168.1.32
  mac: ff:ff:ff:ff:ff:f1
  picture:
  track: no
  hide_if_away: no