LinuxMCE Forums

General => Developers => Topic started by: massabuntu on September 08, 2009, 06:47:39 PM

Title: [KNX]Script to Convert the .csv ETS3 exported file in a LMCE ReadyToUse file
Post by: massabuntu on September 08, 2009, 06:47:39 PM
Hi, we created this Python Script to convert the *.csv file you can easly export  with ETS3 with all your KnxDevice with relative Group Adresses, in the "KnxDeviceName"/"X"/"X"/"X" format for LinuxMCE.

You can donwload it here, the name is etstolmce.py

http://www.linuxmce-it.com/index.php?option=com_docman&task=cat_view&gid=34&Itemid=59
(http://www.linuxmce-it.com/index.php?option=com_docman&task=cat_view&gid=34&Itemid=59)
Br,
Martino.
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: Marie.O on September 11, 2009, 11:48:52 AM
massabuntu,

how about opening up a trac ticket with a feature_patch type, and adding the file to it. That way we keep it at a central location.
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: massabuntu on September 11, 2009, 12:39:04 PM
OK Posde,my intention was not to keep it separatly, simply i don't know yet the procedure of adding things. And first i'd liked to see if anyone was interested.

http://trac.linuxmce.org/trac.cgi/ticket/332
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: Marie.O on September 11, 2009, 01:16:24 PM
Thanks for the ticket.
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: massabuntu on September 11, 2009, 02:47:40 PM
Now colud be cool that the conversion should be done directly by the Admin Page, where u could upload directly the csv file.

We can simply run that script from php page and grab the output file  or we can write the script directly in php.

What do u thing? 
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: rages on September 12, 2009, 12:28:36 AM
Hi,

I created a script similar to C ++, unfortunately I am not an experienced programmer (this is my first job in C ++) and certainly could have done better, but if you can help is available.

I think that as Martin says this should be done automatically in the webadmin, especially when you consider how many group address there are in a complete installation.

Emanuele
Title: Re: [KNX]Script to Convert the .csv ETS3 exported file in a LinuxMCE ReadyToUse file
Post by: Marie.O on September 13, 2009, 07:50:32 PM
Quote from: massabuntu on September 11, 2009, 02:47:40 PM
Now colud be cool that the conversion should be done directly by the Admin Page, where u could upload directly the csv file.

We can simply run that script from php page and grab the output file  or we can write the script directly in php.

What do u thing? 

I think the idea is a nice one, and you might want to ping merkur2k on IRC about it, as he is quite into the web admin.