maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Situations app - bugs, questions, answers, help etc.. (https://talk.maemo.org/showthread.php?t=94442)

LVPVS 2018-02-01 10:17

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1540747)
On Android the actual activity recognition is provided by Google Play Services. On Sailfish I would need to implement my own engine. A simple one might be doable - but it's not in the plans right now.

Br,
Heikki

Hei,


I see.
It's not that I really would need it for anything, I was just curious.

What is this "initial accessibility support"?


Kiitos,

LVPVS over.

fooxl 2018-02-01 15:44

Re: Situations app - bugs, questions, answers, help etc..
 
The app would be great for me and basically it worked.

I would use it to turn off wifi and start the media player, when the phone (SailfishX) connects to my car audio system via bluetooth.
Unforunately it interrupts the bluetooth audiostream every minute for some seconds. I guess it happens every time the app checks, if it is connected.

LVPVS 2018-02-01 19:42

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by fooxl (Post 1540759)
The app would be great for me and basically it worked.

I would use it to turn off wifi and start the media player, when the phone (SailfishX) connects to my car audio system via bluetooth.
Unforunately it interrupts the bluetooth audiostream every minute for some seconds. I guess it happens every time the app checks, if it is connected.

Hei,


Try switching the Bluetooth What to 'No scanning'... It works for me.


LVPVS over.

hhaveri 2018-02-02 06:20

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by LVPVS (Post 1540750)
Hei,
What is this "initial accessibility support"?

Support for accessibility features such as screen readers, voice control, etc. used for example by visually impaired folks. Mainly valid for Android, as I guess Sailfish does not have much accessibility features(?).

Br,
Heikki

LVPVS 2018-02-02 20:37

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1540766)
Support for accessibility features such as screen readers, voice control, etc. used for example by visually impaired folks. Mainly valid for Android, as I guess Sailfish does not have much accessibility features(?).

Br,
Heikki

Hei,

Thanks for the clarification.
I don't think sailfish has anything like that at the moment.

Kiitos,
LVPVS over.

fooxl 2018-02-05 12:36

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by LVPVS (Post 1540760)
Hei,


Try switching the Bluetooth What to 'No scanning'... It works for me.


LVPVS over.

How's this done?
I can only switch BT on/off in the "What" section.

hhaveri 2018-02-05 12:45

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by fooxl (Post 1540898)
How's this done?
I can only switch BT on/off in the "What" section.

Install 'Bluetooth Pro' condition from Features page. It gives an option to adjust scanning interval.

Br,
Heikki

zagrim 2018-02-10 09:32

Re: Situations app - bugs, questions, answers, help etc..
 
I've been lately having issues with cell ID based situations. It seems like the application is thinking I'm connected to a cell that belongs to a certain situation even when that's not true. I took the time to rebuild my config today in case it had somehow grown bad along the years, but after copying the correct cell ID arrays in situations.json this still seems to be happening.

Right now the app has one situation (let's call that A) active that is correct for the location I am, and one other (B) that is totally incorrect. I've verified (using SimScout) that the current cell ID does not belong to the situation B. When I deactivate situation B it doesn't get reactivated automatically (which is of course correct), but if I open the situation, the app is showing the cell ID condition as green (valid/matching). What is even more weird is that I have also another situation C with the exact same cells listed in conditions as B, and that situation isn't getting activated. Edit: I realised later that situation C also had a time condition which didn't match now. After removing time condition from C it also got activated. All this while not being connected to any of the cells listed for B or C.

I've also seen this happen also with two incorrect cell ID based situations at the same time (with those two situations having different cells in conditions).

I'm not quite sure when this has started, but it's been going on occasionally maybe some moths now. I'd like to keep using cell based situations as I rely quite much on location in my setup and using phone positioning is too hungry for battery. Any ideas what to do about that?

Edit (later on): After taking the device to another location and getting then back, the issue seemed to go away for now, meaning only the correct situation was activated.

hhaveri 2018-02-11 13:27

Re: Situations app - bugs, questions, answers, help etc..
 
Thanks for the report, I'll see if I can reproduce the issue or find out any problems by just reading the code. Might take some time, though.

Br,
Heikki

hhaveri 2018-02-12 09:35

Re: Situations app - bugs, questions, answers, help etc..
 
Hep,

v3.1.156 available here: https://github.com/pastillilabs/packages/releases

- Small UI fixes
- Power consumption optimizations to Bt & WiFi scanning conditions
- Attempt to fix issues with Network Cells condition
- Non-root Airplane Mode support is back

Br,
Heikki

hhaveri 2018-02-12 10:16

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1541071)

@Zagrim, please try this one if it helps with the Network Cells condition.

Br,
Heikki

LVPVS 2018-02-12 14:36

Re: Situations app - bugs, questions, answers, help etc..
 
Hei,


I cannot tell how much I like this App.


Might it be the same issue with 'network off' mode, as it was with 'airplane' mode?
Not if I need it much, just wondering. :)


Kiitos,
LVPVS

zagrim 2018-02-13 03:35

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1541073)
@Zagrim, please try this one if it helps with the Network Cells condition.

Br,
Heikki

Thanks! I've now installed it and will try to monitor if the issue still occurs.

hhaveri 2018-02-13 10:42

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by LVPVS (Post 1541076)
Might it be the same issue with 'network off' mode, as it was with 'airplane' mode?

I just got a hint from a friendly user suggesting that a connmanctl command can still be used to toggle Airplane Mode without root. Not sure if similar commands exist for other privileged cases.

Anyway my guess would be that this is just a hole waiting to be patched by Jolla at some point...

Br,
Heikki

jackspost 2018-02-14 16:33

Re: Situations app - bugs, questions, answers, help etc..
 
Hi,

didn't know if this is the right place to ask. How can I make sailfish not to ask for a password to unlock the device (display) in a specific environment (at home)?
Thank you!
jack

LVPVS 2018-02-15 20:31

Re: Situations app - bugs, questions, answers, help etc..
 
Hei,

Another thought, would it be possible to have a 'what' of the hall sensor?
If we had one, any active flip cover with a magnet could trigger anything.

Kiitos,
LVPVS over.

P@t 2018-02-17 21:47

Re: Situations app - bugs, questions, answers, help etc..
 
@hhaveri
Is that normal that with latest jolla store update, the watchface plugin does not seem to work anymore?

zagrim 2018-02-19 03:44

Re: Situations app - bugs, questions, answers, help etc..
 
Heikki,
After installing the v3.1.156 release I don't think I've seen any oddity with network cells condition anymore. Thanks for the fix!

hhaveri 2018-02-21 08:40

Re: Situations app - bugs, questions, answers, help etc..
 
Hep,

Sorry for a small delay - had a short vacation...

@LVPVS: More sensors will be added at some point. Hall sensor might be included ;)

@P@t: How does it not work? Just doesn't change watchface correctly or is the UI also broken or does it crash or something else?

@zagrim: Thanks for the info :)

Br,
Heikki

P@t 2018-02-21 12:25

Re: Situations app - bugs, questions, answers, help etc..
 
@hhaveri
I hope you had a nice break :-)

Regarding the watchface, actually it works now. An issue solved with a reboot (I should have reported back) and so I have no idea what happened but the situation app was not changing the watchface anymore. And when I tried to delete the action and re-insert the action (the 'what'), the watchface plugin interface was not proposing the watch I was connected to...
Let's see if it happens again but it seems that there is nothing to worry about if I am the only user having faced that and if this happened only once to me...

DrYak 2018-03-07 11:22

Re: Situations app - bugs, questions, answers, help etc..
 
Thanks for your wonderful application.

There's an information I can't manage to find / search in this thread :

Do Wifi conditions work based on which Wifi network is *currently connected to* ? Or do they work based on which Wifi networks *happen to be visible around* ?

I want to have a custom rule to force my University's VPN to start when ever I connect to a few select captive portal Wifi.

Some commercial wifi networks here around (e.g.: nationnal telco's network of wifi access) have captive portals to have paying users log-in or new users pay for a data plan *BUT* have an agreement with universities to let their users through (if you activate your VPN while on these partner's wifi, you basically get eduroam-like access outside the UNI in nearly everywhere that Telco has Wifi coverage).

Obviously, for that rule to get trigered, I need to be already connect at that moment.

hhaveri 2018-03-07 12:15

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by DrYak (Post 1542124)
Do Wifi conditions work based on which Wifi network is *currently connected to* ? Or do they work based on which Wifi networks *happen to be visible around* ?

The default Wifi condition works by scanning any available networks around. No need to be connected.

If you install the "pro" version from Features page, it lets you also choose a scanning interval. And if you choose "No scanning" from there, then only a connected WiFi triggers the condition.

Br,
Heikki

DrYak 2018-03-07 12:30

Re: Situations app - bugs, questions, answers, help etc..
 
Thank you very much for your help

hhaveri 2018-03-09 06:37

Re: Situations app - bugs, questions, answers, help etc..
 
Hep,

There's a new beta (3.1.160) available at https://github.com/pastillilabs/packages/releases/

Changes:
- Added dual sim support to Network Cell condition
- Fixed a bug in app logic when switching between enabled & disabled state

I'm unable to test the dual sim support, so any reports of it working or not are welcome.

Br,
Heikki

hhaveri 2018-04-05 06:48

Re: Situations app - bugs, questions, answers, help etc..
 
... released now in Jolla Store as well (as version 3.1.166)

P@t 2018-04-09 12:01

Re: Situations app - bugs, questions, answers, help etc..
 
Hello @hhaveri
Fyi I have one non-working 'situation'. It is not super urgent though ;)

Context:
I have a pebble watch that I put sometimes in flight mode, and so disconnected to the phone
I have several situations related to the watch, and for instance a series of watchface that I use depending on certain 'situations'. And that works flawlessly.

Situation:
I have created a 'situation' which is the connection between the phone and the watch (after a flight mode of the watch). I use the 'bluetooth devices' list and select the watch. And the action is a change in the watchface.

Outcome:
nothing happens when the watch is detected by the phone except that the application visually reports that the situation becomes active. But the watchface is not changed.

A very much guess: that could be because the request to change the watchface is sent too early to the watch (before the proper connection is in place)?

hhaveri 2018-04-09 14:56

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by P@t (Post 1543149)
Hello @hhaveri
Fyi I have one non-working 'situation'. It is not super urgent though ;)

...

A very much guess: that could be because the request to change the watchface is sent too early to the watch (before the proper connection is in place)?

Your guess is as good as mine :)

I have no means to test the plugin at all, so it is going to be a blind attempt, but I'll try adding some delay to the action. That is, as soon as I have a chance to do it. I wonder if 1 second delay would be somewhat ok(?).

Br,
Heikki

hhaveri 2018-04-10 10:41

Re: Situations app - bugs, questions, answers, help etc..
 
There's now an update for the Watchface plugin adding 1 second delay to the action. Go to Features page to update the plugin. Might require restarting the whole app after the update.

Might fix the issue or might not...

Br,
Heikki

P@t 2018-04-10 10:54

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1543180)
There's now an update for the Watchface plugin adding 1 second delay to the action. Go to Features page to update the plugin. Might require restarting the whole app after the update.

Might fix the issue or might not...

Br,
Heikki

Hi Heikki
Thanks a lot for your prompt reply and proposed fix.
And guess what, it works ! I only did a quick test but seems to perfectly fix the issue :)
Best

jenix 2018-06-11 07:49

Re: Situations app - bugs, questions, answers, help etc..
 
Is there a possibility to start Situations on boot? I recently noticed that this is not the case by default (as far as I know, this is because Apps with auto-start are not allowed into the Jolla Store, right?). Nevertheless, it would be great to have this option in some way (maybe an autostart script for the user? systemd service? something different?).

R1v3r 2018-06-11 07:51

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by jenix (Post 1545316)
Is there a possibility to start Situations on boot? I recently noticed that this is not the case by default (as far as I know, this is because Apps with auto-start are not allowed into the Jolla Store, right?). Nevertheless, it would be great to have this option in some way (maybe an autostart script for the user? systemd service? something different?).

At least I am using Auto-start for situations app from openrepos.

jenix 2018-06-11 09:25

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by R1v3r (Post 1545317)
At least I am using Auto-start for situations app from openrepos.

Thanks, exactly what I was looking for.

P@t 2018-06-12 09:47

Re: Situations app - bugs, questions, answers, help etc..
 
Is it me or airplane mode seems not working again via situations?

wrm 2018-06-12 12:03

Re: Situations app - bugs, questions, answers, help etc..
 
No, its not working.

mosen 2018-06-12 20:22

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by jenix (Post 1545316)
Is there a possibility to start Situations on boot?

Thank Schturman ;)
https://openrepos.net/content/schturman/auto-start-situations-app

rfa 2018-06-13 09:59

Re: Situations app - bugs, questions, answers, help etc..
 
I'll make a new thread if this question warrants it;

Does the situations app allow users to set it up such that:
a) when I enter range of a known WiFi (home WiFi) the phone can
b) check if my PC is on / connected to network
c) transfer new images to a particular folder
d) only when charging?

nthn 2018-06-13 10:31

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by rfa (Post 1545420)
I'll make a new thread if this question warrants it;

Does the situations app allow users to set it up such that:
a) when I enter range of a known WiFi (home WiFi) the phone can
b) check if my PC is on / connected to network
c) transfer new images to a particular folder
d) only when charging?

I don't know about Situations, but that is essentially exactly what Syncthing does. See here for more information.

Korkkiruuvi 2018-11-19 19:42

Re: Situations app - bugs, questions, answers, help etc..
 
Hi, I currently start using situations but I noticed that location feature not working. When I choose location in "when" section it just simply does nothing it not even give any options.

So afterall this application is nearly useless for me because this..

I laso noticed some stuttering/lag when using this application so there is some performance issues also? For example when navigating in settings and properties sections I see noticeble stuttering/lag what ever. I remember earlier version of this application there wasn't any kind of this lag.


Can you diagnose this fault?

My device is xperia x (F5121) with sailfish 3.0.0.8.

hhaveri 2018-11-22 10:32

Re: Situations app - bugs, questions, answers, help etc..
 
Korkkiruuvi, do you have HERE maps installed on your device?

> I remember earlier version of this application there wasn't any kind of this lag.

I wonder if it was v2? In v3 there are much more graphical effects being used in the UI. The target being modern Android devices (and SW) -> no idea why your xperia would show significant lag, except something in the Sailfish OS xperia port perhaps causing it.

Br,
Heikki

balta 2018-11-24 11:48

Re: Situations app - bugs, questions, answers, help etc..
 
I don't know if it is because of Sailfish OS 3 or because of my Xperia XA2 Plus, but the mobile cell condition cannot record any cells. Does anybody else have this problem?


All times are GMT. The time now is 16:34.

vBulletin® Version 3.8.8