We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Trigger ringtone or alarm via SSH

asked 2016-12-12 11:51:06 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2016-12-12 11:55:02 +0200

jiit gravatar image

I've lost my Jolla phone in the appartment thanks to my lovely 1+ year old daughter. I can see from the wifi config that the phone is still on the network. Is there a way to trigger a ringtone/alarm from SSH? The phone probably is on the silent profile as calling it doesn't result in the phone ringing.

edit retag flag offensive close delete

Comments

2

Would it be possible doing like this? I have not tried it, but apparently you should be able to change profile. link text

plemil ( 2016-12-12 12:36:23 +0200 )edit

Hi.

To change the ambience to a non-silent one try the examples I provided in an answer here at TJC sometime ago:

https://together.jolla.com/question/147707/dbus-command-for-ambient-change/

Hope this helps.

Regards.

Pasko ( 2016-12-12 13:49:28 +0200 )edit
1

dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"general"

...works! Marvelous.

droid001 ( 2016-12-12 23:52:20 +0200 )edit

2 Answers

Sort by » oldest newest most voted
8

answered 2016-12-12 15:26:39 +0200

spiiroin gravatar image

There is a tool meant mainly for testing alarms that should be usable in your case. Executing this from shell should cause clock-alarm-lookalike to occur in 5 seconds:

timedclient-qt5 -b'TITLE=button0' -e'APPLICATION=nemoalarms;TITLE=Hello;ticker=5'
edit flag offensive delete publish link more

Comments

This and @plemil's answer did the job. Hello little phone from underneath the sofa!

droid001 ( 2016-12-13 00:01:09 +0200 )edit

Glad to help. But I can not take any credit for the solution, just provided the link :-)

plemil ( 2016-12-13 13:58:35 +0200 )edit
0

answered 2016-12-28 11:20:10 +0200

Schturman gravatar image

You also can use this app for the next time :)
https://openrepos.net/content/ajalkane/find-my-jolla

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

Asked: 2016-12-12 11:51:06 +0200

Seen: 602 times

Last updated: Dec 28 '16