Search found 25 matches

by piz
28 Feb 2019 14:23
Forum: User Help / Bug Reports
Topic: General Exception Handling
Replies: 7
Views: 16469

Re: General Exception Handling

If the flow shuts down abruptly at shutdown, then that will have to do. I'll have a look at Desmanto's variable logger - that should help a lot.

Thanks!
by piz
28 Feb 2019 00:29
Forum: User Help / Bug Reports
Topic: General Exception Handling
Replies: 7
Views: 16469

Re: General Exception Handling

I would like to have one action that catches all exceptions without having to make an exception connection to it from every other element in the flow. The flow from that action onward would decide what to do based on what exactly the exception is. The specific flow I'm working with might be interrup...
by piz
19 Feb 2019 20:32
Forum: User Help / Bug Reports
Topic: General Exception Handling
Replies: 7
Views: 16469

General Exception Handling

Is there any documentation about exception handling? I have a specific case of needing to catch a system shutdown within a flow vs using the shutdown trigger, but I'd like to fully understand exception handling in general.

Thanks!
by piz
31 Jan 2019 18:45
Forum: User Help / Bug Reports
Topic: BUG: Delete Action Button, Notification on Statusbar
Replies: 1
Views: 5673

BUG: Delete Action Button, Notification on Statusbar

In the light theme, the X button to delete an action in the Notification on Statusbar action is invisible. It's there, because tapping where is should show does delete the action, but you can't see it.
by piz
31 Jan 2019 18:41
Forum: User Help / Bug Reports
Topic: Delete an Action for Notification on Statusbsr
Replies: 3
Views: 8196

Re: Delete an Action for Notification on Statusbsr

Ah! I'm using the light theme and that X is invisible! When I tapped where you said it would be it appeared briefly and deleted the action.

Gotta report that bug. Thanks!
by piz
31 Jan 2019 17:02
Forum: User Help / Bug Reports
Topic: Delete an Action for Notification on Statusbsr
Replies: 3
Views: 8196

Delete an Action for Notification on Statusbsr

I copy/pasted a Notification on Statusbar action and I want to rename it so it's a separate one and delete the action that's currently in it. How do I delete that action setting?

Thanks!
by piz
05 Jan 2019 14:51
Forum: User Help / Bug Reports
Topic: Get the Current Timezone?
Replies: 4
Views: 9774

Re: Get the Current Timezone?

Thanks, anuraag, those are perfect, especially this one:
anuraag wrote:

Code: Select all

tz=callJavaMethod(callJavaStaticMethod("java.util.TimeZone", "getDefault()"), "java.util.TimeZone", "getDisplayName(boolean, int)", false, getJavaStaticField("java.util.TimeZone", "SHORT")); //IST
by piz
04 Jan 2019 19:33
Forum: User Help / Bug Reports
Topic: Get the Current Timezone?
Replies: 4
Views: 9774

Get the Current Timezone?

Is it possible to get the timezone I'm currently in? I need to convert local times to UTC and I might be in any timezone when that happens. The system knows the current timezone - does Automagic have a way to get it?

Thanks!
by piz
14 Nov 2018 19:54
Forum: General
Topic: Detecting Driving
Replies: 9
Views: 22442

Re: Detecting Driving

I've been doing more testing and I've found that I might have been misinterpreting what I saw. I now think the triggering is correct for the Bluetooth connect/disconnect and all should be well going forward.

Thanks for the help!
by piz
24 Oct 2018 17:19
Forum: General
Topic: Detecting Driving
Replies: 9
Views: 22442

Re: Detecting Driving

I'm testing flows that detect when the car's bluetooth connects/disconnects, but they go on & off all the time as if it's constantly connecting, disconnecting, and reconnecting. I could use a global variable that gets set to true on the first connect but I can't know which disconnect trigger will be...