Great tuorial. Worked like a charm. Thank you. Is there a way to toggle light on or off based on the device state? Light switching off the light if it is on and vice versa
@vibroidpaper8027
11 күн бұрын
Kind of. You need to keep track of the device state using Tasker variables. And use an if statement in the Task edit window to check what the previous state of the device was before executing on/off and updating the state of the device. But this only works if you exclusively turn the light on/off using the NFC tag. If you press the physical light switch, there is no (easy) way for tasker to know the if the light is on or not.
@kumarSKumars
Жыл бұрын
Will it work even if screen is locked
@vibroidpaper8027
Жыл бұрын
Not without Rooting your Android Phone. Your phone must be unlocked to scan NFC tags. Otherwise its a security risk for users using contactless payment.
Пікірлер: 4