# Is it possible/Howto start an action of an app from Homeyscript

**URL:** <https://community.homey.app/t/is-it-possible-howto-start-an-action-of-an-app-from-homeyscript/89930>\
**Category:** Developers\
**Tags:** homeyscript\
**Created:** [September 21, 2023, 9:52pm UTC](https://community.homey.app/t/is-it-possible-howto-start-an-action-of-an-app-from-homeyscript/89930 "2023-09-21T21:52:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Govaers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_govaers/32/58041_2.png) [@Peter\_Govaers](https://community.homey.app/u/Peter_Govaers)\
**Post date:** [September 21, 2023, 9:52pm UTC](https://community.homey.app/t/is-it-possible-howto-start-an-action-of-an-app-from-homeyscript/89930/1 "2023-09-21T21:52:39Z")

</div>

Take for instance the Chronograph app, which allows you to start/manage timers.  
I can get the App object in Homeyscript with Homey.apps.getApp({id:‘nl.fellownet.chronograph’});  
But how can I start a timer with a certain timeout on this app?

Thanks!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 21, 2023, 11:18pm UTC](https://community.homey.app/t/is-it-possible-howto-start-an-action-of-an-app-from-homeyscript/89930/2 "2023-09-21T23:18:36Z")

</div>

When you run `example-flowcard-list.js` in Homeyscript, it generates all And and Then flowcards of your installed apps, which you can use in HS.  
I searched for chronograph for instance:

```auto

Start or replace timer [[namedd]] / [[name]] with a duration of [[time]] [[unit]]

{
  "uri": "homey:app:nl.fellownet.chronograph",
  "id": "timer_start_v2",
  "args": [
    {
      "name": "namedd",
      "required": false,
      "type": "autocomplete",
      "title": "Pick",
      "placeholder": "Pick or type"
    },
    {
      "name": "name",
      "required": false,
      "title": "Name",
      "type": "text",
      "placeholder": "Type a name"
    },
    {
      "name": "time",
      "title": "Duration",
      "type": "text"
    },
    {
      "name": "unit",
      "title": "Unit",
      "type": "dropdown",
      "values": [
        {
          "id": "seconds",
          "title": "seconds"
        },
        {
          "id": "minutes",
          "title": "minutes"
        },
        {
          "id": "hours",
          "title": "hours"
        },
        {
          "id": "days",
          "title": "days"
        }
      ]
    }
  ]
}

```

An example of how to use it, this sends a push message:

```auto
Homey.flow.runFlowCardAction({
        uri: 'homey:manager:mobile',
        id: 'push_text',
        args: {
			    user: {
			    //name: 'John Doe', // optional, the 'id' and 'athomId' are key here
			    id: '6bxxxxx-xxxxxxx-xxxxx-xxxx-xxxx-xxx',
			    athomId: '5fxxxxxxxxxxxxxxxxxx',
		    	},
		    text: 'Test push notification from HomeyScript test_pushmessage.js'
        },
      });
  return(true);

```

---

<div class="post-metadata">

**Author:** ![Peter\_Govaers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_govaers/32/58041_2.png) [@Peter\_Govaers](https://community.homey.app/u/Peter_Govaers)\
**Post date:** [September 23, 2023, 5:15pm UTC](https://community.homey.app/t/is-it-possible-howto-start-an-action-of-an-app-from-homeyscript/89930/3 "2023-09-23T17:15:55Z")

</div>

Thanks a lot!
