![]() |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Are other apps performing ok on your device? Even the heavier ones like the browser? |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Well I don't have here maps installed, because simply need it. Dammit if here maps is mandatory to be installed if I want use location feature. and next subject, perfomance issue. So I should go terminal and type something jornalctl? Or anyways I should debug this issue, for further investigation. |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
Any chance of flight mode to work?
|
Re: Situations app - bugs, questions, answers, help etc..
Quote:
I'm just guessing here, though. And yeah, I've had both browsers crash many times :( Mostly that's been for lack of system resources on sites they handle badly. |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hep,
There's a new (beta) version of the app available here: https://github.com/pastillilabs/pack...leases/tag/186 Some change log: - Changed condition & action selection layout - Improved runtime state handling over server restarts - Fixed Mobile Data, Airplane Mode & Internet Sharing features when set as conditions - Sync with all other internal implementation improvements done to the Android version Having not used Sailfish actively for a long time, I noticed that increasing number of features seem to work only when the app is run as root. Which is kind of disappointing, as Android - while having the same frustrating direction - is now doing much better in that regard :( Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hep,
New beta (3.1.192) available here: https://github.com/pastillilabs/pack...leases/tag/192 It is also already in the store review process. Contains only fixes & improvements to existing functionality: - Improved / fixed in-call handling - Improveed / fixed runtime state handling over reboot & service restarts - Fixed Launch & Close plugins having multiple entries Well... in-call handling is kind of new functionality. It means that some actions will be delayed until an active or incoming call has ended. There was application logic for it in place already from the Symbian times but it never got platform specific backend implementation (for Android & Sailfish) done until now. There is now also an option to re-activate actions on background service restart. On Android this is done only when the service is autostarted on boot. By default, background service restarts just continue from where the execution was left. On Sailfish this means that if you are using some autostart mechanism, you should probably have a "reset" parameter added to the service startup command if you want re-activation to happen (for example launch apps with an ongoing situation in device boot). Launching the service from the app UI currently does not have the "reset" option. Not sure if it should or not. But it might get added in the next update. Br, Heikki Haveri Pastilli Labs |
Re: Situations app - bugs, questions, answers, help etc..
Hey @hhaveri, I really like this app.
I know it is not working as supposed on SailfishOS because of the attitude of Jolla towards devs but nevertheless I want to thank you for this great app! I will use it and hope that some day Jolla will make SailfishOS great again :D:D:D Edit: maybe make a send API request to Jolla button in the app to send a mail to Jolla to adjust the api's for Situation ap :p |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
New beta available here:
https://github.com/pastillilabs/pack...leases/tag/194 - Fix serialisation issue that loses data in some cases - Fix hidden flightmode action on Sailfish - Fix some remaining state handling issues when app is disabled Sorry, no "API button" to send mail to Jolla... Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Another update (already in store review):
https://github.com/pastillilabs/pack...leases/tag/198 - Adds "Any connection" option to WiFi Pro condition - Other small fixes |
Re: Situations app - bugs, questions, answers, help etc..
Aaaand yet another update (also in store review):
https://github.com/pastillilabs/pack...leases/tag/204 - Adds "Any connection" option to BT Pro condition - Many fixes affecting mainly Android version of the app Info available also in the improved website: https://pastillilabs.com/2019-02-08-version-204/ Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
HHaveri is on fire!
|
Re: Situations app - bugs, questions, answers, help etc..
One more update to the fire. Mostly Android stuff, but also some small fixes affecting the Sailfish version:
- Fixed situation state handling after manual timing - Added clearing of "NOT" state when last condition from a group is removed More info here: https://pastillilabs.com/2019-02-21-version-212/ Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Ok, since it seems last update had some issues with the extra plugins & Android version had fixes waiting to be released, I updated both at the same time once more. Technically I could just have updated the extra plugins for Sailfish, but to keep up with Android versioning and make the plugin update explicit, the whole app was updated.
For Sailfish: - Fixed extra plugins not working properly with previous release - Brought back Help item in menu (links directly to FAQ web page) If there are no major bugs, this might now be the last release for a while. More info here: https://pastillilabs.com/2019-02-25-version-216/ Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
New release available in store and here:
https://github.com/pastillilabs/pack...leases/tag/220 For Sailfish: - Added call state plugin - Added powersave plugin - Fixed overlapping actions restore state handling - Fixed evaluation of situation being moved from manual to automatic state More info here: https://pastillilabs.com/2019-03-27-version-220/ Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Has there been any advancement on the WiFi management? I just noticed that some update seems to have removed connmanctl on my device, so my script to enable / disable wifi is no longer working.
|
Re: Situations app - bugs, questions, answers, help etc..
1 Attachment(s)
hi i wrote a comment on jollastore perhaps somebody has the same issue:
I tested more, on my xperia which is also on 3.0.3.9 there is not the problem. There i had installed situations for upgrading the device to sailfish 3 |
Re: Situations app - bugs, questions, answers, help etc..
Sorry for the long response time, there is a beta release available here that should fix the issue:
https://github.com/pastillilabs/pack...leases/tag/232 Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hi, is there any way to manually set up cell towers cids in settings?
I can manually add them into json settings file, but it has checksum in the end. |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hello folks,
I implemented a quick (and dirty?) companion daemon "Sonar" for Situations app that makes it possible to run privileged actions on Sailfish without any other hacks. And it is now available for testing. First implementation is just bringing back functionality that has previously been crippled by updates to Sailfish security policies. But with this daemon, new & improved functionality should be possible to implement in the future too. This version just re-enables the following actions: - Bluetooth state - Wifi state - Mobile network - Airplane mode In addition, the package implements autostart for Situations background service - so it might be incompatible with any other autostart tweaks available. Obviously the package cannot be available in harbour, so users need to install it separately. NOTE: Since the Sonar daemon runs as root and opens holes to the current Sailfish security model, the sources of it are open (and available for improvement suggestions). Beware that absolutely any app could use the same interface to access same functionality that is exposed to Situations. Sonar sources are available here: https://github.com/pastillilabs/sonar A ready made rpm package can be fetched from here: https://github.com/pastillilabs/sona...ases/tag/0.0.1 A compatible alpha version of Situations app is available here: https://github.com/pastillilabs/pack...leases/tag/248 Briefly tested on Jolla 1 and nothing else. Feedback & improvement suggestions are welcome. Would be nice to know if anyone is actually willing to use this ;) Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hep,
An update to Sonar & Situations alpha versions: Additions to Sonar: - Basic check for acceptable clients. Only situations binary is allowed to connect, so this adds at least some sort of security to Sonar. - Initial calendar support - Due to changes in IPC, only compatible with updated Situations app Available here: https://github.com/pastillilabs/sona...ases/tag/0.0.2 Situations: - Added basic calendar condition! Available here: https://github.com/pastillilabs/pack...leases/tag/248 Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
I really should try the new versions out, I've just grown used to going around with Wifi always enabled out of laziness (which isn't necessarily good for security, either). |
Re: Situations app - bugs, questions, answers, help etc..
Thanks for the feedback. I must say I currently have no idea how to implement such mechanism and not sure if it would really make things any safer / private. Any pointers to examples / concrete suggestions for implementation are welcome :)
Using some sort of public/private key signature is the best protection I can currently think of, but I think even that would be hackable and perhaps not worth the effort. In the end, without some sort of platform support for sandboxing apps / protecting IPC, it comes down to trusting all the software you have installed on the device not to be malicious. Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
My idea was, that having key-based authentication would add another layer of security. Then again, I don't really know if it is easy or hard to fake the process command line on SFOS (or Linux in general - probably easy with root privs but how about with normal user privs?). But you might be right, in the current situation what you've implemented might be as good as it gets without. Anyway, I installed Sonar and the matching version of Situations over the weekend and I'm soon to find out how things work with them. |
Re: Situations app - bugs, questions, answers, help etc..
@hhaveri,
Haven't used Situations in a while. Will install it this week with Sonar to start testing. Maybe you can put this apps on Openrepos so a greater audience becomes available for you. Also Sonar won't be a problem there like in harbour.... |
Re: Situations app - bugs, questions, answers, help etc..
After reading these new developments, I decided to install Sonar and the new Situations. Great that this wonderful app becomes useful again!
I'm happy with it in daily use, and yet there are some observations: 1. Not all the What are eligible at all times. For setting the Location settings, I have to start with a proper example. 2. When - it won't register cell towers. 3. It seems my phone (XA2) has become more unstable than before. I'll try to register specific issues. Many thanks anyway, hhaveri! |
Re: Situations app - bugs, questions, answers, help etc..
Thanks, not sure if I understood the 1st point, though. If I remember correctly, 2nd one was due to something being different in the platform implementation for XA2. No idea what could cause no.3.
Anyway, I'll try to have a look at all reported issues. Lately I've had some difficulties to find time to "finalize" the sonar stuff - mostly on situations side. Hopefully within a couple weeks... Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
I am looking to send SMS automatically (without manual intervention) from FindMyJolla and GPSInfo.
I am expecting that I will hit a permissions problem**, and your daemon might be the answer. Should I be making my own functional daemon to do my task for each app, or would it be better to use yours? If "use situations daemon", then would you think it best to add the functionality to your daemon or would it just give me a privileged commandline to send any command to? Any suggestions on how to do the send welcome. To be specific, 1) it must send when phone is unattended. 2) it does not need to do it invisibly or in secret. ** Yup indeed I do get access denied as they say at the bottom of this sending-an-sms-via-the-command-line Code:
[nemo@Sailfish ~]$ dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"+123456789" string:"test sms" |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
Thanks, I'll try it on the next go round.
Current problem: I don't get the phone number of incoming sms.... |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
On the same dbus service there is a IncomingMessage signal and a GetMessages method. But don't know if there can deliver the number. Maybe it is also worth to look here: https://sailfishos.org/wiki/Telephony https://sailfishos.org/wiki/Messaging telepathy-ring telepathy-qt libqofono |
Re: Situations app - bugs, questions, answers, help etc..
It uses this DBUS channel.
Code:
#define DBUS_INTERFACE "org.freedesktop.Telepathy.Channel.Interface.Messages" https://together.jolla.com/question/...pathy-message/ sender-identity is IMSI not MSISDN (phone number) |
Re: Situations app - bugs, questions, answers, help etc..
1 Attachment(s)
@crun ok I could seperate the phone number with dbus service org.ofono.MessageManager. Listening on signal IncomingMessage (service: org.ofono, path: /ril_0, interface: org.ofono.MessageManager). There you get a variant map [string, variant]. The second key is "Sender" where its variant holds the number.
I attach a deb which I used for listening on ImmediateMessage, IncomingMessage and MessageAdded. But for me only IncomingMessage got triggerd. It has some debug messages and in the end it prints to stdout the number. You can quit with x+enter. EDIT: lol wrong slot, IncomingMessage got triggerd not Immediate, fixed it. |
Re: Situations app - bugs, questions, answers, help etc..
@crun I uploaded a code example
https://github.com/halftux/smsrun/bl...src/smsrun.cpp |
All times are GMT. The time now is 10:06. |
vBulletin® Version 3.8.8