Recent content by RSF

  1. R

    Trigger SmartThings scene from MacroDroid [Please scroll to see Sept 2023 updates]

    I'm back. I don't know what changed, but as @tstancat noted, there was an IF statement that somehow stopped working (perhaps a glitch in MacroDroid relative to local variables in Action Blocks??). In any event, please see attached an updated "Smart Things - Trigger Scene" action block, which...
  2. R

    Trigger SmartThings scene from MacroDroid [Please scroll to see Sept 2023 updates]

    Out of town for about a week, so can't access devices to check, but will check on it when I return. Must be a change in SmartThings' API...
  3. R

    Newb: Any way to put the current weather temp and a weather icon in the status bar?

    Turns out there's a third option, sort of a "light" version of the first option. MacroDroid has a Weather trigger to trigger a macro if the weather has changed at the location stored in MacroDroid's settings (Settings > Trigger Options > Weather Trigger > Weather Location). If you're OK with...
  4. R

    HTTP GET/POST

    Could you describe a bit more what you need in a "payload" and name variant? Do you mean you want to embed local variable values in the content body of the HTTP request? Can you share a link to documentation of the site you're getting from or posting to?
  5. R

    Newb: Any way to put the current weather temp and a weather icon in the status bar?

    Couple possibilities come to mind: You could use MacroDroid's Notification > Display Notification action to post the current temperature in the notification bar, and the same action to post an additional notification showing an icon of a sun, or cloud, etc. That gives you the most...
  6. R

    Extract email subject and text

    Try using the value of the phone # and message variables directly, instead of using the "String Value" option: See the "{lv=...}" instead of "{strval=...}"... That "strval=" option attempts to convert a string into a number, which might be confusing your SMS app.
  7. R

    Variable issues

    Given the reference to "entries" in the log, might your variable be defined as an array, vs. a string? That'd result in this behavior. Try re-creating linkss as a string.
  8. R

    Http get and pont request (required cookie)

    Are you trying to obtain cookie value(s) as part of the response from the HTTP GET action? If so: GET's send cookie values back in the header of the HTTP response, but I'm not sure MacroDroid makes that available... You can send a cookie value in an HTTP POST (or GET) action via the "Header...
  9. R

    Delete Individual Entry of Global or Local Variable

    And if you want to do it via a macro action: 1) 2) 3) 4) If you set up an Action like that and run it, you'll have only the 2nd entry left in your test array
  10. R

    Delete Individual Entry of Global or Local Variable

    If you mean, to delete an entry in an array or dictionary variable, use the Variables > Clear Dictionary/Array Entry action, with the Delete Key option. That allows you to delete a specific entry from either an array or dictionary using its index/key.
  11. R

    Clear notifications working when testing macro but not when triggered live

    You won't be able to use Contact Groups, or find a contact from the Contacts app, as you can with the SMS Received trigger, but you can look at filter for certain text in the Notification Received trigger, and inspect the sender info via Notification-related variables ("Magic Text") in the body...
  12. R

    Clear notifications working when testing macro but not when triggered live

    If you're right about the race condition, which seems credible, adding a Wait action at the beginning of the macro should help. If not, as an alternative, you could switch from using an SMS trigger, to using a Device Events > Notification > Notification Received trigger (specifying the Messages...
  13. R

    Using a Variable as a Constraint for an Action

    See simpler example, attached; might help. I think you'll need to use a shell script -- I don't see a way to check for a folder's existence solely within MacroDroid's native actions. But this example may help illustrate the variables you'll need to (a) capture the output of the shell command and...
  14. R

    How to get call duration?

    Oh. The Log Event action automatically date/time-stamps each entry. With other actions like Write to File, you can use the "..." button to add various system info like date, time, etc.: then You'll have to string a few of these together to get e.g. mm/dd/yyyy hh:mm, which works fine. Just...
  15. R

    How to get call duration?

    In general, nothing; many times, they're essential. MacroDroid has a handy user-log action (Logging / Log Event) -- -- that writes to the log visible by tapping "User Log" on the home page. That's easy but note that if you use the action across multiple macros, everything gets logged together...
Top