cancel
Showing results for 
Search instead for 
Did you mean: 

Google Smart Home can't recognize "action.devices.commands.TimerStart" command.

Trellis
Community Member

Hi,

I'm integrating my sprinkler product with Google Smart Home. Everything else works except that the "action.devices.commands.TimerStart" command cannot be recognized by Google smart home.

 

Below is my SYNC response:

 "body": {
      "requestId": "12486236378229063564",
      "payload": {
             "agentUserId": "Oliver",
             "devices": [
                 {
                    "id": "AAAA-BBBB-CCCC-DDDD",
                    "type": "action.devices.types.SPRINKLER",
                    "traits": [
                         "action.devices.traits.Timer",
                         "action.devices.traits.StartStop"
                    ],
                    "name": {
                         "name": "Front yard"
                    },
                    "willReportState": true,
                    "deviceInfo": {
                         "manufacturer": "ABC company",
                         "model": "ABC",
                         "hwVersion": "3.2",
                         "swVersion": "11.4"
                    },
                    "attributes": {
                         "maxTimerLimitSec": 86399
                    }
                }
             ]
          }
       }

Below is the QUERY response:

"body": {
       "requestId": "7683156339707030974",
       "payload": {
            "devices": {
                  "AAAA-BBBB-CCCC-DDDD": {
                  "status": "SUCCESS",
                  "online": true,
                  "isRunning": false,
                  "timerRemainingSec": -1
              }
        }
  }

}

 

When I type or speak "Start Front yard" on Google home app, my backend server receives the following command, which is correct.

"payload": {
      "commands": [
          {
             "devices": [
                {
                   "id": "AAAA-BBBB-CCCC-DDDD"
                }
              ],
              "execution": [
                 {
                     "command": "action.devices.commands.StartStop",
                     "params": {
                          "start": true
                      }
                 }
              ]
          }
     ]
}

 

But when I type or speak "Run Front yard for five minutes" on Google home app, my backend server still receives the same command (action.devices.commands.StartStop) as the above. What I expect to receive is  "action.devices.commands.TimerStart" command. Can anyone pls help point out what I'm doing wrong?

3 REPLIES 3

armen_dpe
Solutions Expert
Solutions Expert

Thanks for bringing this to our attention. I'm able to replicate this issue on my side. We will be working with the teams to further investigate and mitigate the issue. I will reach out once we have an update.

Cmis
Community Member

Please fix. This is becoming very disheartened to my clients and me.

Inti
Community Member

Same here, would really appreciate if you could fix it

Run Front yard for five minutes, results as stated in a "action.devices.commands.StartStop" command. Sometimes it even creates a timer on the clock app