Author Topic: Is it possible to delete device templates?  (Read 1220 times)

eloy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Is it possible to delete device templates?
« on: September 06, 2007, 05:19:58 pm »
In the process of trying to get to work a Generic Serial Device I ended up with several device templates that aren't used. Is it possible to delete them? I don't see a way of doing it through the GUI but perhaps this can be done by issuing a direct SQL DELETE statement? Has anyone done this before, and if so, what are the tables that need to be touched?

Thanks!

Eloy.-

coley

  • Guru
  • ****
  • Posts: 481
    • View Profile
Re: Is it possible to delete device templates?
« Reply #1 on: February 13, 2008, 02:33:08 pm »
Bump!

I've run into this issue too. While trying to get the ACT Zwave controller going I added a new manufacturer and device and set this up with the device id. So now when I plug the zcu201 in I get numerous devices detected :( , the correct one as per the new wiki entry (thanks hari) and my old incorrect one.

How can I delete the incorrect device template?

thx
-Coley.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Is it possible to delete device templates?
« Reply #2 on: February 13, 2008, 06:17:10 pm »
if you want to delete it with a sql statement you have to manually follow the relations and clean that up, too.

coley: for a quick hack simply remove the relevant plug and play data from the old device template.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation