Frankly, I don’t know how to use nmap in detail because I have just installed it. But I noticed it has a lot of possibilities.EscApe wrote: ↑Sunday 16 February 2020 8:23What are your poll interval and grace period settings for the plugin? As a rule of thumb use 3-4 polls within the grace period. Having just 1 poll within the grace period dramatically increases the chance to miss a connected device on a poll connection delay/error and any (short) connection drop by a phone.With ARP pfSense reports after approx. 20 minutes that the device is not present in the network.
If your devices go offline long enough to disappear from the arp table (which is already unusual on my asus router) then maybe you can modify the arp timeout on pfSense(?)
I find it difficult to find out which arguments to use for poll and grace, because this is a bit out of my league. However when I search on the internet for the words nmap, poll and grace it comes up in this part of the nmap manual: https://nmap.org/book/man-performance.html
Maybe you are willing to assist here?
Last week I had to reinstall my Rpi/Domoticz (raspbian stretch) system due to a crash, so I made a fresh Raspbian Buster system. On the stretch system I used the (modified) presence detection python script example on the Domoticz wiki page, which uses arping. This actually worked quite well, but on Buster it reports an error because a used methodEscApe wrote: ↑Sunday 16 February 2020 8:23It might be even easier to use nmap from the domoticz host itself, but wouldn’t the already available ping approach work just as well if you already know the (fixed) ip addresses? I have been experimenting with some network discovery but it is a resource heavy and slow process for the entire network, which is not desirable if you want to poll frequently.But pfSense has the possibility to install packages.
There is a package NMAP, which scans quickly whether a device is online or not.
Code: Select all
base64.decodestring(s)