Version 1.0.23 adds import/export dialogs:
I was one behind but 1.0.23 is up on github now.
Question: I added as Action a bash Script Execution - can i grep or See the Script execution Status or the Log-Output of the Script and create New Steps based on the Output?
Usecase: I created a bash Script which syncs some Folders from Phone — seafilecloud and back with help of rclone — as trigger I want to set something like @home or time based or wifi-Network related to Sync only, when at Home to Save battery and mobile Data
Prior to version 1.0.24, as a workaround, you could only write the output to a file and then parse it in a get step, because actions do not currently return any output to the flow.
In the current version, you should be able to use shell execution in a get step instead of an action step, which can return the standard output to the flow. You can also split stdout by delimiter, regular expression, and so on.
Just in case you may need it, you can read the current wifi network name via dbus:
{
"address": "system",
"destination": "net.connman",
"enabled": true,
"id": "source_wifi_name",
"interface": "net.connman.Technology",
"method": "GetProperties",
"name": "Get Wifi Name",
"path": "/net/connman/technology/wifi",
"transformations": [
{
"in": "arg0/TetheringIdentifier",
"out": "wifi_ssid",
"type": "copy"
}
],
"trigger": false,
"type": "dbus"
}
I’ve added this to the online library.
Version 1.0.28 replaces the Examples Library with a Community Library, allowing users to share examples with the community:
Are there any other protocols worth adding, or any missing functionality?
maybe something related to flow testing / debugging of flows:
- If you run a flow, show last runs of it and if it failed or completed successfully
- and maybe show / allow to see states and values of item which run within the flow
that’s what i’m personally miss - right now debugging of flows is a little bit tricky to me or do you have any recommendations or best practices how to debug and test new flows?
Currently I just run journalctl -u automagic.service -f inside a terminal but you’re right and I probably should look into more convenient ways to debug flows.
I’ve just installed automagic on the new Jolla phone, but I can’t get the GUI to start. The services are running fine.
I noticed the .desktop file references /usr/bin/sailfish-qml, which does not exist on my device (sailfish-qml does not exist anywhere in PATH either).
Any idea what’s going wrong?
You can try if installing libsailfishapp-launcher helps:
e.g.
devel-su pkcon install libsailfishapp-launcher
That did install sailfish-qml, but now it launches to a white screen. When I try running the exec from the .desktop in a terminal it fails with “Command line does not match template”, though I’m guessing that’s because of an incorrect working directory or something. I can’t find any logs whatsoever.
The command line should be:
sailjail -p harbour-automagic.desktop /usr/bin/sailfish-qml harbour-automagic
Command line does not match template usually comes when the command line and the Exec line in .desktop don’t 100% match.
It should be irrelevant from which directory it’s started.
Thank you, I double-checked the actual files, and the .desktop file on my phone had /usr/share/harbour-automagic/qml/harbour-automagic.qml instead of just harbour-automagic like the desktop file in the rpm I downloaded to my pc showed, which I copied when I first tried manually running it. Not sure how that happened, but it’s working after replacing that path with harbour-automagic in the .desktop file.
I haven’t been able to find a “on phone startup execute this” trigger in Situations.
Anyway, @cypherpunks, thanks for this. I got scared away by the app multiple times because my brain could just not comprehend it but I finally got some things working!
It’s a working workaround:
just create a situation start condition with time from 0:00 to 23:59.









