LinuxMCE Forums
May 18, 2013, 02:52:27 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: [KNX]Script to Convert the .csv ETS3 exported file in a LMCE ReadyToUse file  (Read 1639 times)
massabuntu
Veteran
***
Posts: 97



View Profile
« on: September 08, 2009, 05: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

Br,
Martino.
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2620


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #1 on: September 11, 2009, 10: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.
Logged

massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #2 on: September 11, 2009, 11:39:04 am »

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
« Last Edit: September 11, 2009, 11:59:20 am by massabuntu » Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2620


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #3 on: September 11, 2009, 12:16:24 pm »

Thanks for the ticket.
Logged

massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #4 on: September 11, 2009, 01: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? 
Logged
rages
Guru
****
Posts: 182


View Profile
« Reply #5 on: September 11, 2009, 11:28:36 pm »

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
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2620


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #6 on: September 13, 2009, 06:50:32 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.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!