Use nmap to check if a device is online and create mqtt package with the output
4.7K
Simple container that runs nmap to check if a device is online and puts the output in a mqtt packet. I use it to check if my phone is on my network to see if I am home and process the mqtt packet with nodered.
You can configure the behaviour by using the following environment variables (with example values):
DEVICEIP: 192.168.1.23
MQTTHOST: 192.168.1.5
MQTTPASSWORD: mosquitto-secret
MQTTTOPIC: nodered/in
MQTTUSER: mosquitto
DEVICENAME: device
Content type
Image
Digest
sha256:dd0af4598…
Size
62.2 MB
Last updated
11 months ago
docker pull deputynl/nmap2mqtt