Search found 48 matches

by Horschte
24 Jan 2020 22:17
Forum: User Help / Bug Reports
Topic: Division
Replies: 2
Views: 19

Re: Division

Code: Select all

r = 5/2 //r = 2
r = 5/2.0 // r = 2.5
r = 5.0/2 // r = 2.5
r = 5.0/2.0 // r = 2.5
by Horschte
13 Jan 2020 22:29
Forum: User Help / Bug Reports
Topic: shortening links
Replies: 3
Views: 102

Re: shortening links

I didn't know the service either. :lol: I just searched for a service which doesn't require an api key or a login.
by Horschte
11 Jan 2020 22:06
Forum: User Help / Bug Reports
Topic: shortening links
Replies: 3
Views: 102

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: 2429

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: 207

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: 207

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: 963

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: 172

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: 521

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.