Situations app lock device (Xperia X) bluetooth

asked 2019-01-16 16:08:00 +0200

olli gravatar image


Has anyone got something like this working?

My aim is to get my (Xperia X 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 --print-reply --type="method_call" /com/nokia/mce/request"

When inserted to Situations run command section it doesn't work =( , any suggestions ?


edit retag flag offensive close delete



Wellcome to the Club of None working services in Sailfish (X etc) phones.

N9Sailfish ( 2019-01-16 16:50:46 +0200 )edit

Plus addition:

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 )edit

Oh, 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 )edit

Situations is great, but Jolla isn't thinking in devs or apps......

BonoNL ( 2019-01-17 13:30:00 +0200 )edit