Get var_list.csv for multiple eWons
Hello everyone,
Is there a way to extract var_list.csv from multiple eWons at the same time instead of manually exporting it from each eWon using ftp?
I want to extract these for over a 100 eWons and doing this one at a time is way too cumbersome and a tedious task.
If someone has an idea of creating a script that can do this would also be helpful.
Any and all suggestions are welcome!
-
Hello Lay Trivedi!
The var_list.csv can be downloaded from the webinterface manually or you can use a Tool like Filezilla to download it via FTP (also manually)
The FTP option is also possible to automate if you have some knowledge in programming but you would still need to connect to each EWON.
In this article there are a bit additional information on that topic:
Alternatives to editing tags in the Flexy's web interface – HMS Support Portal (hms-networks.com)
The same information of the var_list.csv is also at the end of the config.txt File
You can also use the Export Block descriptor to get Data from your Ewon (like the config.txt or the Tag/ Var List)
Here is the Article on Export Block descriptors:
Export Block Descriptor Resources – HMS Support Portal (hms-networks.com)
br
Franziska Gültig
0 -
I spoke to Lay about this over a ticket in our portal, but I wanted to share this information here for others as well.
To get this information out of an eWON you'll need to use the M2Web API to - in this case - retrieve the var_lst.txt out of the eWON. The var_lst.txt file contains the list of all the tag information of the eWON.
In the same way, you can retrieve other files from the eWON to use that information as well.
An example HTTP GET for an eWON with local login adm/adm would be (the capitalized entries need to be adjusted to your details):https://m2web.talk2m.com/t2mapi/get/EWONNAME/rcgi.bin/ParamForm?AST_Param=$dtTL&t2maccount=ACCOUNT&t2musername=USER&t2mpassword=PASSWORD&t2mdeveloperid=DEV-ID&t2mdeviceusername=adm&t2mdevicepassword=admSpecial characters in the URL need to be escaped, for instance, an Ewon name "Halmstad - Flexy 205" would become "Halmstad%20-%20Flexy%20205".
You'll need to perform this request for every eWON, so a custom script will have to be made if you want to do this on many eWONs.You can find all REST requests in our Postman collection (scroll down to "documentation").
0
Iniciar sesión para dejar un comentario.
Comentarios
2 comentarios