Switch to desktop version  
[Flexy 205] Is it possible to set set settings in bulk? - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Ewon Embedded Technology (https://techforum.ewon.biz/forum-51.html)
+---- Forum: Ewon Connection Tools (https://techforum.ewon.biz/forum-6.html)
+---- Thread: [Flexy 205] Is it possible to set set settings in bulk? (/thread-1957.html)



[Flexy 205] Is it possible to set set settings in bulk? - pablo.yanez@mondas-gmbh.de - 15-03-2022

Our customer has several Flexy 205 gateways and I need to access the historical & real time data via Talk2M.

I already configured the gateways to send data to  Talk2M via Setup > System > Main > Net Services > Data Management. But even after one hour, the REST call to /syncdata and /getdata did not return any data. That's when I went into the Tags > Values settings and I realized that none of the values have the checkboxes set for Historical Logging and Realtime Logging. I cannot find a way to set this checkboxes for all the sensors in bulk, I have to set it sensor by sensor, not a fun job when you have thousands of sensors across multiple gateways. So is there a way to automate this process?

Thanks


RE: [Flexy 205] Is it possible to set set settings in bulk? - ziozetti - 15-03-2022

HERE you can find a solution: you can import all the tags, edit them with Excel and send back them to the Flexy.
Pay attention to commas: you have to change all decimal separator from comma to dot in order to make the macro work.


RE: [Flexy 205] Is it possible to set set settings in bulk? - pablo.yanez@mondas-gmbh.de - 17-03-2022

(15-03-2022, 07:24 PM)ziozetti Wrote: HERE you can find a solution: you can import all the tags, edit them with Excel and send back them to the Flexy.
Pay attention to commas: you have to change all decimal separator from comma to dot in order to make the macro work.

Thanks for the link, I'll have a look at it.


RE: [Flexy 205] Is it possible to set set settings in bulk? - pablo.yanez@mondas-gmbh.de - 17-03-2022

(15-03-2022, 07:24 PM)ziozetti Wrote: HERE you can find a solution: you can import all the tags, edit them with Excel and send back them to the Flexy.
Pay attention to commas: you have to change all decimal separator from comma to dot in order to make the macro work.

So this does not help me at all. I've checked the macros expect the gatway to be on your own LAN, the UploadFTP() function connects directly to the FTP server of the gateway. The gateways I'm trying to configure can only be accessed via https://m2web.talk2m.com. And even through m2web api you cannot uploads files as far as I can see (I've read the whole rg-0009-00-en-reference-guide-export-block-descriptor.pdf file). I don't know if I can upload files via m2web api.


RE: [Flexy 205] Is it possible to set set settings in bulk? - ziozetti - 17-03-2022

You have to use eCatcher


RE: [Flexy 205] Is it possible to set set settings in bulk? - pablo.yanez@mondas-gmbh.de - 17-03-2022

(17-03-2022, 03:33 PM)ziozetti Wrote: You have to use eCatcher

So this is not scriptable via REST API? OK, I'll have to talk to my customer, he's the only one who has access to eCacther.


RE: [Flexy 205] Is it possible to set set settings in bulk? - ziozetti - 17-03-2022

Sorry, I didn't understand you didn't have complete access to customer's account. You can ask him a limited eCatcher account in order to only connect to ewons.


RE: [Flexy 205] Is it possible to set set settings in bulk? - pablo.yanez@mondas-gmbh.de - 17-03-2022

(17-03-2022, 08:22 PM)ziozetti Wrote: Sorry, I didn't understand you didn't have complete access to customer's account. You can ask him a limited eCatcher account in order to only connect to ewons.

Thanks for explaining. I'll have to talk to my customer anyway, perhaps they want me to do the changes, in that case a limited eCatcher account would come in handy; or perhaps they he would prefer to do it himself. Thanks anyway.