hpr4512 :: HomeAssistant - Nmap ("Network Mapper")

Presence detection in Home Assistant and more

Thumbnail of Reto
Hosted by Reto on Tuesday, 2025-11-18 is flagged as Clean and is released under a CC-BY-SA license.
HASS, HomeAssistant, Presence, NMAP, Blueprint. (Be the first).

Listen in ogg, opus, or mp3 format. Play now:

Duration: 00:36:54
Download the transcription and subtitles.

general.

A Deeper Look


Triggers & Conditions:

The blueprint uses both a state change from not_home to home for your PC tracker and a motion sensor activation. A numeric state condition ensures that the automation only runs when ambient lighting (from your illuminance sensor) is below the defined threshold (default 37 lux). This minimizes unnecessary operations when the area is already well lit.


Light Brightness Based on Sun:

Using the built-in sun condition, the automation distinguishes between a day period (starting 30 minutes after sunrise) and a night period (adjusted using offset around sunset). This means your light’s brightness is automatically tailored to the natural light context, setting it to the day brightness (default 81%) or to the night brightness (default 69%).


Handling PC Presence & Motion:

Two branches further refine the control:

If the PC is not_home, the blueprint waits until motion ceases before turning off the light.

If the PC is home and ambient light remains low, the light is ensured to remain on until the PC changes to not_home, at which point the light turns off with a smooth transition and a flash effect.


This  design  is ideal for scenarios where a PC’s presence and environmental conditions are combined to manage indoor illumination dynamically.


Xiaomi Aqara motion sensor RTCGQ11LM  www.zigbee2mqtt.io/devices/RTCGQ11LM.html

TRADFRI bulb E27 white opal 1000lm

Xiaomi Mijia Thermo-/Hygrometer  Bluetooth  LYWSD03MMC flash  http://pvvx.github.io/ATC\_MiThermometer


Blueprint  https://gist.github.com/tido-/e486e7504081a1cfdcd837afba43ebf4


My forum post  https://community.home-assistant.io/t/nmap-to-detect-running-tower-pc/888689


Radiation of radio transmission

Heart rate using the WiFi signal  https://hackaday.com/2025/09/05/heart-rate-monitoring-via-wifi/

www.consumerreports.org/radiation/do-i-need-to-worry-about-radiation-from-wifi-and-bluetooth-devices/

www.elektrosmog.com

www.gigaherz.ch


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?