Very helpful module!
I have one feature request.
Running nmap on a different (remote) host, that would be very helpful for environments with vLANs (in a different subnet).
Public key authentication could easily be used for this.
(There is such a module with this possibility for another smarthome system, https://ips.air5.net/index.php/Nmap)