Search found 56 matches

by Horschte
11 Jan 2020 22:06
Forum: User Help / Bug Reports
Topic: shortening links
Replies: 3
Views: 9479

Re: shortening links

Use action HTTP Request and put this into the URL field: https://u.nu/api.php?action=shorturl&format=simple&url={long_url} Replace {long_url} with the url you want to shorten. Activate Custom HTTP Headers and put this into the field: accept:text/html,application/xhtml+xml,application/xml;q=0.9,image...
by Horschte
04 Jan 2020 01:22
Forum: User Help / Bug Reports
Topic: status vpn verbunden abfragen ?
Replies: 6
Views: 16295

Re: status vpn verbunden abfragen ?

Thank you for both approaches Desmanto and anuraag.

But in my tests the java way is much faster than the execute command action:

java: about 5 ms
execute command: about 100 ms
by Horschte
22 Dec 2019 22:48
Forum: Flow Sharing Area
Topic: German, an einem bestimmten Standort ein Widget antippen lassen
Replies: 4
Views: 14287

Re: German, an einem bestimmten Standort ein Widget antippen lassen

Die App stellt kein Plugin zur Verfügung? Meine Yeelight-App z.B. hat ein Plugin, welches ich über Automagic ansteuern kann.

Oder ist Shelly per URL erreichbar und schaltbar?
by Horschte
22 Dec 2019 18:26
Forum: Flow Sharing Area
Topic: German, an einem bestimmten Standort ein Widget antippen lassen
Replies: 4
Views: 14287

Re: German, an einem bestimmten Standort ein Widget antippen lassen

Widget antippen wird nur funktionieren, wenn der Bildschirm an und entsperrt ist. Ist es das, was Du willst? Muss das Widget unbedingt angetippt werden?
by Horschte
17 Dec 2019 21:54
Forum: User Help / Bug Reports
Topic: Expressions!!?!
Replies: 5
Views: 11516

Re: Expressions!!?!

That should work:

Code: Select all

if (value == my_value){
  return true;
}
Or simply:

Code: Select all

value == my_value
by Horschte
07 Dec 2019 16:32
Forum: User Help / Bug Reports
Topic: Envoking package from shell
Replies: 2
Views: 6619

Re: Envoking package from shell

You have to install ADB on your computer. Then connect your phone with the computer. Search for "minimal adb" and you will find further instructions.

The dot is just another way of displaying the space character.
by Horschte
07 Dec 2019 16:19
Forum: User Help / Bug Reports
Topic: Character encoding in HTTP-Request
Replies: 5
Views: 11593

Re: Character encoding in HTTP-Request

The solution goes like this:

Instead of saving the response from the HTTP-Request to a variable save it to a file. Then load that file using the action Init Variable Text File and set the Encoding to "iso-8859-1".

Credits for this solution go to Desmanto.
by Horschte
01 Dec 2019 13:43
Forum: User Help / Bug Reports
Topic: Reformat writable file
Replies: 7
Views: 13420

Re: Reformat writable file

Convert your response to an object and access the desired value like this:

Code: Select all

obj = fromJSON(response);
sunset = obj['results']['sunset'];
by Horschte
01 Dec 2019 13:26
Forum: User Help / Bug Reports
Topic: Rain api help
Replies: 6
Views: 12603

Re: Rain api help

Try this:

http://automagic4android.com/flow.php?i ... f9b3e0998c

It saves a radar image in your Automagic folder using your current location.