Help deleting/fixing a virtual device that is not editable via the web UI

Ok, so I installed the PingSensor plugin that Ted Striker wrote and when I created the device under MIOS Developers, I accidentally entered the D_PingSensor.xml filename into the UpnpImplFilename instead of the UpnpDevFilename. Now I have a virtual device that I can’t edit using the web interface (e.g. if I click on the edit icon in the upper right corner of the device panel for that device).

Is there a way to fix or remove the device config via ssh? Any other ideas for a remedy to the mess that I created?

Thanks in advance for your help / wisdom.
Bruce

Hi blacey,

Probably a stupid question but have you tried the Add/Remove Devices Button at the top left of your main dashboard?

m0jon

Tried that too but couldn’t find a way to navigate to the virtual device using the add/remove device panel. Are you able to see your ping virtual devices using add/remove device? If so, which section are they under?

I did the same stupid thing and now I’m left with a virtual device. Did you find away to remove the virtual device you created? If so, please let me know how I can get rid of mine. My virtual device is just sitting in the device section with no way to delete it. When I click on the wrench, nothing comes up.

Thanks,
Rob

Try associating to a parent device, save and restart. Then try deleting. It has work for me with similar problems.

How would I do that? When I click on the Wrench nothing happens, no dialog or anything pops up to allow me to associate the device with. Is there another way without using the wrench feature to do what you are saying?

Ok, I figured out a work around =) Just in case this happens to someone else, here is how to delete a dead virtual device that won’t respond to the wrench icon. Find out what the dead virtual device ID number is by associating the bad virtual device label in the advanced tab as a parent to another good device then unassociate it once you have the ID# =). Then create another valid virtual device or use a device you don’t care about that’s valid, click the wrench, under the advanced tab change the ID# to the dead virtual device ID number and it will pull it out of the device section assigning the dead device to the good device. Now click the wrench and remove it =) What a pain in the butt, but it worked!!!

Cheers…

I also finally figured out a work-around for others who might be interested. You can delete the device using LLUP Requests.

  1. Retrieve a listing of all devices using http://:3480/data_request?id=user_data&format=json
  2. Search the returned Json for the name of the device and note the
  3. Delete the device by entering http://:3480/data_request?id=device&action=delete&device=<device id from step 2>

Works like a charm.