I'm trying to write a REXX script to list the devices available on my home LAN.
It use commands available in the OS to get the host name, ip-number and mac address.
Here I can see on the names that it has found computers, mobile phones, vacuum cleaner, routers etc. on the same subnet and indicate if they're offline or not.
I'd also like to, if possible, find out
what kind of device the script has listed and set icons accordingly, and not just online/offline.
How?!That also mean that I need help to create the artwork for it.

The script in default mode without parameters determine the ip-address of the computer, ping and check for others 1 to 255.
With environment variable SET WOL=1 it also send a "wake on lan call" to each machine.
With environment variable SET NET=1 it also create a folder Network Map* in the folder Network, with a sub folder for workgroup* or domain* and individual objects (online*/offline*) for each device. If one click on a device it will refresh (run the script and update the object itself).