toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

277
active users

#tasker

0 posts0 participants0 posts today

Oh shit! I finally managed to get #Tasker to talk to #HomeAssistant, with the HA companion app relaying the message instead of relying on the REST API!

The Companion App can listen to events, but in the past I've had no luck with that, it just wouldn't hear what tasker is broadcasting.

Until today! The trick was to *drumroll* actually add an automation that listens to the android.intent_received event. I'd only been listening for that event in the dev tools so far, and that never worked.

Turns out that you need to have that initial automation, without it, home assistant will not know what to do with the event :facepalm:

Now I've got two-way communication between home assistant and tasker, no matter where my phone is, and since it's piggy-backing on the already existing connection of the companion app, it's also really power efficient and fast! Woohoo!

Found a solution to a problem I wasn't exactly aware of.

Thought I was having problems with my Android phone getting switched to silent or low volume, because I was missing many, many text messages.

Eventually realized that the text alert sound was coming out my headset, or out the phone speaker, but never both. I was sure it used to come out both, the phone ringing comes out both...

Realized that this is a new phone (with IR and thermal cameras) and that the problem started when I changed phones.

Some Internet searching determined that some utter moron at Google has decided that only phone ringing can play out both the headset and the phone speaker, text messages will come out the headset if it's connected, out the speaker only if no headset is connected. WTAF, people? I take my headset off and put it in my pocket - no texts for me. Update your Android, start missing texts.

A little more searching found an easy solution - install Tasker or If This Then That, and program a simple task to play a phone ringtone on any incoming text.

I've tested it for a couple weeks now, it's a flawless workaround for a problem caused by idiotic software designers who think they know more than their users. You can even program different ringtones for texts from different people if you like.

I think the only reason why many ad infested apps haven't been replaced by #Tasker scripts with less than a dozen commands each is the rather peculiar user experience.
Which is me saying that a dentist visit may be more pleasant.
And what is it with video tutorials rather than good docs?

But there's really no alternative, is there?

How cool! Just got used to the left-right-shake to toggle play and pause of active media app via Tasker when I discovered "Tap, Tap" which seems to work fine with my Samsung Galaxy A53.

github.com/KieronQuinn/TapTap

"Tap, Tap provides over 50 actions that can be run from double or triple taps on the back of your device"

GitHubGitHub - KieronQuinn/TapTap: Port of the double tap on back of device feature from Android 12 to any Android 7.0+ devicePort of the double tap on back of device feature from Android 12 to any Android 7.0+ device - KieronQuinn/TapTap
Continued thread

My LG G8 with 128 GB storage has almost no free space. I hardly have any local media at all on here. The stuff that is is heavily compressed and takes maybe only 4 GB tops? I keep downloads pruned. Not many apps. Only a couple games.

Poof. 8 gigs free.

I've been satisfied with Android since the 4.4 and 5.0 days. My nerding and geeking streak disappeared. IDGAF. #Google been fucking things up wrt #Tasker and background services meant to keep running on 11 up, but that's for another time...

📦 #Platypush 1.3.0 is out!

This release turns procedures into first-class citizens.

Procedures are the bread-and-butter of Platypush customizations. They allow you to specify some custom logic that can run within the application, either from structured requests or code snippets - both #Python and #YAML scripts are supported. They are akin to recipes in #IFTTT and tasks in #Tasker.

You can call them from an event hook when a certain condition is met, from a cronjob or an alarm, from stand-alone scripts, from other procedures, and so on.

This release improves the integration of procedures into the UI, turning them into entities that can be controlled from the entities panel - and, soon, embedded into custom dashboards.

It also introduces a new powerful procedure editor, which allows you to visually create your automation routines through an intuitive UI with drag-and-drop support (a big part of this release has been about getting drag-and-drop to work nicely on mobile too). The new UI supports nested if/for/while blocks, break/continue/return, setting context variables, variable name autocompletion, export to YAML (if you prefer to have your procedures stored in the configuration rather than the db), and more.

This UI has been inspired by the job done by Joao Dias on Tasker (I’ve always wanted to have a similarly powerful block-based UI to create custom routines also on desktop/server), and in part by IFTTT’s recipe editor.

Python procedures can also be easily managed through a new file editor component that allows you to precisely navigate to their definition.

This release also includes a new file browser component. You can now browse your files on the Platypush instance, create/edit/delete/upload/download them directly from the Platypush UI, even if you don’t have SSH access to the machine.

Happy hacking!

I think I finally figured out a way to get my phone's alarms reliably into #homeAssistant - even if they're days into the future (e.g., recurring alarms each Wednesday) and other apps are filling up the "next alarm" the HA companion app reports - looking at you, Calendar >_>

I ended up using Tasker to read the system's log through its logcat event, because as it turns out, the default alarm app writes a log message that includes all the data I'd ever want about the next alarm once it's set.

That data gets processed to JSON on my phone through #Tasker, and is then sent to HomeAssistant where I'm reusing my "Create an auto-discoverable sensor through MQTT" script to, you guessed it, create/update a sensor for each alarm I have on my phone.

A template sensor picks up these alarms (I have one at :00, :15, :30 and :45, for which I'll only adjust the hours as needed), picks the next one and any changes in that template sensor are used as trigger for my #smartHome automations, such as turning the lights off, or playing music when the alarm goes off.

Getting the info from the system logs means I don't rely on the "next scheduled wakeup", which is the usual way you'd get alarm data - but that's often blocked by calendar events that have a notification going off before the alarm.

Android Tasker routine to warn if home WiFi is not functioning correctly

Been experiencing a bit of an issue the last month with everything seemingly on and connected, but my Chromecast device would not connect across Wi-Fi today, and sometimes my wife says her phone is not connecting, and I’d have to reboot the home rou ...continues

See gadgeteer.co.za/android-tasker

GadgeteerZA · Android Tasker routine to warn if home WiFi is not functioning correctlyBeen experiencing a bit of an issue the last month with everything seemingly on and connected, but my Chromecast device would not connect across Wi-Fi today,

Oops.

I have an automation in #HomeAssistant that replicates some data to my phone (eg. who's at home) where it gets picked up by #Tasker to cache the data locally and display it as widgets, notifications, etc

And it might have been running every minute for a while now, even with no state changes, because HA's default for a state trigger is "when the state or an attribute changes", and due to something in my specific HA config, my own location got updated every minute. :blobglarenervous:

Whoops, no wonder my battery's been kinda shit lately :ablobglitch:

Continued thread

So while I do have KDE connect set up on my laptop and phone, I finally got around to doing the actually super useful additional step of sprinkling some automation on top of that.

So I've got
#tasker set up to detect "significant movement" upon which to open the URL to lock my laptop through #KDEconnect. "Significant movement" is a hazy concept, but it seems to work well, for a couple of reasons:
- it will lock it by the time I'm a few meters away from my desk
- and what's even nicer it will lock regardless if someone has already started typing something or moving the mouse around, so you can't force the laptop to stay unlocked

Now unless someone's crafty enough to very quickly inflict damage, even if I do again forget to lock my laptop (I'm still keeping discipline, this whole thing is just a fail safe) it should be near impossible to manage to inflict meaningful damage. So I can keep my banitsa making abilities for the cases where I want to use them and am not obligated to do so.

I recently found a bunch of old #NFC cards, and while I couldn't get my initial idea of having them play an album from my Navidrome server working, I am curious what other neat things people out there might be doing with their NFC tags?

I'm on #Android and have #Tasker installed!