LinuxMCE Forums

General => Developers => Topic started by: fido on March 26, 2009, 09:40:18 pm

Title: New GSD Device Template for Linksys IP Cams
Post by: fido on March 26, 2009, 09:40:18 pm
I have put a GSD device template together for linksys ip cameras, i have tested it with my own WVC200 model and it all works great, plug n play etc.  Not tested on any other models.

A friend is using lmce and also has a linksys cam, whats the best way to export/import...i have tried Posde php script as listed here

http://forum.linuxmce.org/index.php?topic=6274.0

But it generates errors during the export, although the sql it generates does look in order i cannot be certain until i test it ( which i dont want to do on my own db right now ).  Are there any other means to do this effectively ?

If someone can also let me know how i can get it integrated into the sqlCVS i can have a look at that.  I will also put a wiki page together for the cam model.


Thanks

Title: Re: New GSD Device Template for Linksys IP Cams
Post by: Marie.O on March 27, 2009, 10:32:05 am
The script has some escaping issues. But what you can do, is backup your pluto_main db, apply the script, and see what happens. If you do not like it, restore the backup. No harm done.

Title: Re: New GSD Device Template for Linksys IP Cams
Post by: fido on March 27, 2009, 02:11:53 pm
ok, tried it on friends machine ( no point trying on mine as it already has all the data in the relevant tables )

All worked perfectly except the ruby commands were messed up....it has put in tons of extra commands that werent part of the template ( i.e. number keys, media buttons etc ) and inserted some of these with default hex IR codes.  I deleted these and manually entered the ruby code by hand.

So other than that it worked well. Many thanks