Page 1 of 1

Action Import Flow/Widget FilePath as URL to import from Web

Posted: 07 Mar 2016 21:49
by roman1528
Hi there.

First of all you have to excause me for my bad, german, english. Thank you :)

Is there a possibility to change the Import Flows/Widget Action in order to put a Web-Path like "http://www.domain.country/folder/FlowsToImport.xml" as File-Path?

I tried to make a Flow that can triggered by HTTP-Request to update, overwrite and activate some existing Flows. But the File-Path line only accept ... yea... File-Path's... like: /folder/anotherfolder/file.xml

Maybe you know AMAD or someone called CoolTux or else. He integrated Android devices in "FHEM" (smart-home-server) with Automagic over HTTP-Request.
I thought there have to be an update method to update the required Flows for AMAD over http. Easyer than put the file on phone or tablet, remove the Flows, import the Flows, activate the flows.

Thanks for support. Automagic is awesome!!

Regards from Germany^^

Re: Action Import Flow/Widget FilePath as URL to import from

Posted: 08 Mar 2016 15:33
by Martin
Hi,

The action could be extended to also support http-URLs. I add it to the todo-list.

As a workaround you can use action HTTP Request and store the response in a file before importing the flows.

Regards,
Martin

Re: Action Import Flow/Widget FilePath as URL to import from

Posted: 08 Mar 2016 21:16
by roman1528
Hi.

Danke für deine schnelle Antwort. Freue mich, dass es auf der ToDo-Liste gelandet ist. Wird uns (AMAD-Nutzer) eine Ecke weiter bringen.

Grüße^^

======

Hi.

Thanks for your fast respond. I'm happy about you will add this to your todo-list. This will push us (amad-user's) forward.

Regards^^