Search found 286 matches

by Bushmills
16 Jul 2016 21:30
Forum: User Help / Bug Reports
Topic: WiFi disconnect issue. Need advice
Replies: 5
Views: 12037

Re: WiFi disconnect issue. Need advice

Well, I like to have geofence monitoring on outside anyway, because the device responding to different locations in various ways, therefore home presence detect kind of gets a free ride.
by Bushmills
16 Jul 2016 17:26
Forum: User Help / Bug Reports
Topic: WiFi disconnect issue. Need advice
Replies: 5
Views: 12037

Re: WiFi disconnect issue. Need advice

WiFi dis- and reconnect happen sporadically. Not really frequently here, but enough to make addition of extra logic to home presence detection desirable. What I do here is to use WiFi disconnect from home SSID to enable geolocation monitoring, and disable geolocation monitoring when connecting to ho...
by Bushmills
16 Jul 2016 15:40
Forum: Feature Requests
Topic: Add action (Rename file)
Replies: 22
Views: 60372

Re: Add action (Rename file)

"Move files" action allows globs (wildcards), for specification of group of files - for example, all those matching a specific extension -, while as destination, a directory may be specified. That way can you move many files with one action to another directory, without the need to know their names.
by Bushmills
15 Jul 2016 08:35
Forum: Feature Requests
Topic: make a new action: delete a variable
Replies: 3
Views: 12349

Re: make a new action: delete a variable

Yes, you forgot to quote the name, as in
removeVariable("global_dateA");
otherwise you'll (try to) remove a variable with the name expressed by the value of global_dateA.
I dont want to delete the variable.bin
no need to, simply use removeVar() correctly.
by Bushmills
12 Jul 2016 01:56
Forum: User Help / Bug Reports
Topic: Init.d script
Replies: 3
Views: 10700

Re: Init.d script

Instead of specifying solely the script name in Automagic "execute command" action - with hashbang in script needed, and execute bit set -, you could give as command: sh /path/to/script/name_of_script. Invoking the script this way doesn't require you to do any of the above. Running scripts at boot t...
by Bushmills
11 Jul 2016 23:45
Forum: User Help / Bug Reports
Topic: Does flow structure matter?
Replies: 13
Views: 30481

Re: Does flow structure matter?

Are you offering to carry together examples, test and publish them, or are you merely asking others to do that for you? That wasn't quite clear from how you put it, "wish list" can mean either. In the first case, consider that there exist different levels of skill and experience - you may want to fo...
by Bushmills
11 Jul 2016 10:11
Forum: User Help / Bug Reports
Topic: refreshWidget
Replies: 4
Views: 11515

Re: refreshWidget

Dann vermute ich, dass das Problem eher bei "aus irgendeinem Grund" als bei refreshWidget() liegt.
by Bushmills
11 Jul 2016 10:00
Forum: User Help / Bug Reports
Topic: refreshWidget
Replies: 4
Views: 11515

Re: refreshWidget

Ohne deine Ansicht zu kennen, ist es schwer, zu beurteilen, was nicht funktioniert, geschweige denn warum nicht. Darum vermute ich, dass du eigentlich Funktion setWidgetElementProperty() benutzen wollen würdest um das zu erreichen, was du von refreshWidget() erhoffst.
by Bushmills
10 Jul 2016 20:17
Forum: User Help / Bug Reports
Topic: global Variablenname mit Variable bestimmen
Replies: 6
Views: 14693

Re: global Variablenname mit Variable bestimmen

name="foo"; setValue("global_{name}", "bla"); // nach global_foo schreiben wert = getValue("global_{name}", "nix"); // von global_foo lesen Alternativ kann dafür auch eine map verwendet werden, mit name als key. Das würden die meisten vermutlich vorziehen. Vorteil davon wäre, dass du nicht für jede...
by Bushmills
10 Jul 2016 18:23
Forum: User Help / Bug Reports
Topic: global Variablenname mit Variable bestimmen
Replies: 6
Views: 14693

Re: global Variablenname mit Variable bestimmen

getValue() und setValue() erhalten als erstes Argument den Namen der Variablen - dieser kann der value einer anderen Variablen, welche an der Stelle namentlich angegeben wird sein, oder das Resultat einer Funktion. Ein literaler String darf es auch sein, aber dann angeführt.