arp, nmap and smart home devices

My AT&T BGW210-700 gateway doesn't provide enough information, too much is lost in the Alexa and WeMo app

Updates, power outages, gateway and AP reboots, and just wear and tear cause WeMo switches to drop out. By drop out, I mean they are no longer controllable via echo voice commands, or the WeMo app. So, about once every other month I check all the WeMo devices to ensure they are working correctly.

I need something that scans my network and determines which devices are no longer controllable.

Description of my home network or LAN

How do I find my WeMo's IP Address, Port and Friendly Name?

Here is a script. Get the script from github:

$ wget https://raw.githubusercontent.com/dumbo25/wemosetup/main/wemosetup.py

You may have to change the address 192.168.1.255 in the script. This is the broadcast IP address on my home LAN. Yours might be different.

Run the script:

$ python3 wemosetup.py discover

Discovered:

- Exercise Light (192.168.1.100:49153)

- Back Porch Fan (192.168.1.130:49154)

- Upstairs Fan (192.168.1.132:49153)

...

Devices Found = 29

and it will list all WeMo devices on your network with: friendly name, IP Address and port

If there is a rogue DHCP Server on your network, then the discover command will identify it.

How do I get more information about my WeMo' device?

Run something like t following command for one of your WeMos:

$ python3 wemosetup.py data --ip 192.168.1.100 --port 49153


Data for WeMo device:


- Friendly Name: Exercise Light

- Model Name: Dimmer

- HW Version: v1

- Serial Number: 241832K1505105

- MAC Address: 24F5A2C73CE0

- Setup Code: 236-10-172