Situations app lock device (Xperia X) bluetooth
Hi,
Has anyone got something like this working?
My aim is to get my (Xperia X 3.0.1.11) to lock when it loses Bluetooth connection to my Pebble watch (connected via Rockpool). I would not want to use device lock on any other time.
I found the below command that does what I want when run in terminal. (Works without root priviledges)
sh -c "dbus-send --system --type=method_call --dest=org.nemomobile.devicelock /devicelock org.nemomobile.lipstick.devicelock.setState int32:1 & dbus-send --system --dest=com.nokia.mce --print-reply --type="method_call" /com/nokia/mce/request com.nokia.mce.request.req_display_state_off"
When inserted to Situations run command section it doesn't work =( , any suggestions ?
Thanks
Wellcome to the Club of None working services in Sailfish (X etc) phones. https://together.jolla.com/question/168828/where-are-all-the-situations-gone-long-time-passing/
N9Sailfish ( 2019-01-16 16:50:46 +0200 )editPlus addition: https://together.jolla.com/question/172269/xperia-x-situations-app/
Due to policy of Jolla, Dbus and connmanctl services do not work anymore e.g. with Situations App. Very happy too, indeed.
N9Sailfish ( 2019-01-16 16:54:18 +0200 )editOh, I see. So nothing I can do. I don't want to use any work arounds because they often won't work for long, if at all. I'm rather annoyed by this. My finger print scanner is not working (I'm fairly sure it's hardware related) and this would have been perfect solution for it. Quess I'll leave my phone unlocked and just hope no one steals it. I was wery impressed with Situations btw, good job!
olli ( 2019-01-16 22:03:12 +0200 )editSituations is great, but Jolla isn't thinking in devs or apps......
BonoNL ( 2019-01-17 13:30:00 +0200 )edit