HPR4512: HomeAssistant - Nmap ("Network Mapper")
Description
This show has been flagged as Clean by the host.
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/




