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

Main Menu

[KNX]Script to Convert the .csv ETS3 exported file in a LMCE ReadyToUse file

Started by massabuntu, September 08, 2009, 06:47:39 PM

Previous topic - Next topic

massabuntu

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.

Marie.O

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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

massabuntu

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

Marie.O

If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

massabuntu

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? 

rages

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

Marie.O

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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]