Post your questions and help other users.
Moderator: Martin
-
mindenes
- Posts: 2
- Joined: 04 Jun 2014 18:18
Post
by mindenes » 04 Jun 2014 18:42
As a new user of automagic i cant find the possibility to use the logical call "or".
Namely, I'd like to make a flow:
In case that a bt device (h123) is connected OR the device is connected to wifi (ssid: ap123), than unlock device (do not ask for passcode). Otherwise lock the device with passcode.
Can someone help me with this, please?
Thank you

-
BoBo
- Posts: 129
- Joined: 05 May 2014 12:45
Post
by BoBo » 04 Jun 2014 20:25
Check
action:scripts for details

-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 04 Jun 2014 20:43
Hi,
Depending on situation, you could add two triggers to a flow:
Flow 1:
-trigger WiFi Connected
-trigger Bluetooth Device Connected
-action Set Lock PIN/Password: Clear
Flow 2:
-trigger WiFi Disconnected
-trigger Bluetooth Device Disconnected
-action Set Lock PIN/Password: Set PIN
You can also use conditions in the flow to check whether wifi and/or bluetooth is currently connected.
Working with the lock screen of Android can be unreliable and frustrating. Please check the help page of the Set Lock PIN/Password for some tips. You can also test if action Set Kayguard State works reliable on your device/ROM.
Regards,
Martin
-
mindenes
- Posts: 2
- Joined: 04 Jun 2014 18:18
Post
by mindenes » 05 Jun 2014 21:41
Thanks Martin, done it with your tips
