Skip to content

Instantly share code, notes, and snippets.

@auriiolym
auriiolym / configuration.yaml
Last active October 20, 2023 02:07
Triggerable nmap sensor
# Triggerable nmap sensor v1.1
# Created by Auriiolym ([email protected]).
#
# This is a custom nmap presence sensor that can be triggered by running the command_line.reload service.
# The nmap tracker integration (https://www.home-assistant.io/integrations/nmap_tracker/) does not
# support a service that can manually trigger an nmap scan. Such a feature can be useful when you
# want a motion sensor to trigger a presence scan.
# These steps create a binary_sensor entity synced to a device_tracker entity that you can add to a person
# entity. This is necessary because binary_sensor entites can not be added to a person, but device_tracker
# entities can.