Automagic Automation on Sailfish

Why not just include PositionSource qml in Automagic?

Sorry, but I have no idea how I could access this from within a background process that uses neither Qt nor QML.

Sorry, I meant that the app has a declarative section which then will pick up if Location service is running. Your daemon does what you’re doing now. The qml part is just there to keep the location service active if it’s enabled.

Wonderful app! I want to receive alarms via MQTT. This is the very first useful app that might make it possible to avoid email or SMS!

Unfortunatelly it seems that there is no SSL option for MQTT. My MQTT broker sits on a virtual server in the internet, so secured connection is mandatory.

Could you please check if version 1.0.16 fixes this issue when you use a tls:// prefix in front of the address?
I currently don’t have a broker set up for tls so can’t test it.

3 Likes

Wow! I wouldn’t have thought, you’d immediatelly put efforts into that! :slight_smile:

Stupid me - just found the armv7 image, will test right now!

And it works! Thank you so much, Sir!

3 Likes

Sorry, my fault, I should have linked both packages.

Perfect, then I can upload it to OpenRepos.

3 Likes

You coud use gpscon (small binary) for this.

3 Likes

Thank you for the tip.
I’ve been able to reverse-engineer what gpscon is doing and implement it directly in the daemon.
It still needs a bit of tweaking, but if all goes well, I might release an update tomorrow.

5 Likes

Version 1.0.17 adds GPS location as source or trigger:

7 Likes

Pushed to github. Not sure if anyone is using it that way :slight_smile:

1 Like