One of the 'wanted/needs', is to show a status given by an app. (It's a lot of digging and searching, but I think I can find my way trough with Kustom) That’s it! At this point, you should be able to send yourself SMS from CoRE using the format below and have it processed by the Tasker handle a callback in CoRE, simply create a piston that executes when IFTTT event Callback# is executed (replacing Callback# with whatever callback name you specified in the message).To start with: I'm a total beginner to everything, and looking out for all posibilities to do some cool stuff with Tasker/Kustom.įor the moment, I'm checking out Kustom to make a very nice Live Wallpaper, with just all the things I want/need. Once you receive an SMS from SmartThings, disable SMS notifications from that number (device dependent) Run the CoRE Notifier task, which will prompt for Dashboard URLĪ. Import the SmartThings SMS profile into TaskerĬ. Import the CoRE Notifier task into Tasker.ī. Here are the basic steps to set this up on your Android device:Ī. On success, the notification is cleared and “Success” is displayed, otherwise “HTTP Error” is displayed. An HTTP Get is performed using the CoRE IFTTT URL (stored in the %CN_URL variable) and the callback endpoint. When a notification action is selected, the CoRE Notifier task is called again with the action endpoint specified in Parameter 2. The CoRE Notifier task parses the value list and displays the appropriate notification. This provides an easy way to change the message source in case SMS is not desirable. The contents of the SMS message (%SMSRB) is passed to my CoRE Notifier task through Parameter 1 using an anonymous task. I created a Tasker profile to run anytime I receive an SMS from the SmartThings number. ![]() A screenshot of the CoRE piston is included at the end of the post for reference. Note that this does not require setting up an IFTTT channel with CoRE, it simply uses that interface for the action callbacks. This example only includes one action, but the Tasker task supports up to 3 actions.Each action is essentially a callback to CoRE using an IFTTT endpoint. disableGuestMode - Action 1 CoRE IFTTT endpoint.Text of the notification (keep it short, does not word-wrap) Guest Mode Reminder - Title of the notification.- Key indicating that the message is destined for my CoRE Notifier task. ![]() (This prevents the notification from showing up on my wife’s phone, and I found it was easier to prevent a notification on my phone for the SMS message.) The SMS message contains the following delimited list of Mode Reminder|Guest mode is enabled.|Disable|disableGuestMode I modified my CoRE piston to send an SMS message to my phone rather than a notification. My desire was to add a “Disable” link directly to the notification. While this worked, I still needed to open the SmartThings app in order to disable the presence sensor. I previously used CoRE to send myself a reminder notification at 8AM if “Guest Mode” was enabled. This works well, but sometimes we forget to turn it off after our guests leave. I use a virtual presence sensor named “Guest Mode” to prevent automatically turning off lights, locking doors, etc. The primary use case was to allow disabling a virtual presence sensor directly from an Android notification. Hopefully someone else will find this useful! This post describes the CoRE piston and Tasker task used for my implementation. I recently spent some time putting together a method to allow interactive Android notifications using CoRE and Tasker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |