# Devices API: Remote Device Monitoring for the Square Terminal (Beta)

**URL:** <https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892>\
**Category:** Announcements\
**Tags:** devices-api\
**Created:** [October 2, 2023, 10:58pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892 "2023-10-02T22:58:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wootmoot](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/wootmoot/32/21_2.png) [@wootmoot](https://developer.squareup.com/forums/u/wootmoot)\
**Post date:** [October 2, 2023, 10:58pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/1 "2023-10-02T22:58:29Z")

</div>

We’re excited to release **Remote Device Monitoring for the Square Terminal on the Devices API in beta**. Now, you can remotely monitor the status of Square Terminal devices running a Terminal API application in real-time, such as its network connectivity, battery level, and more, for improved operational efficiency.

Check out [the documentation](https://developer.squareup.com/docs/terminal-api/terminal-device-monitoring) and drop any questions down below!

> **[Terminal Device Monitoring](https://developer.squareup.com/docs/terminal-api/terminal-device-monitoring)**
>
> Learn how to use the Devices API to monitor Square Terminals.

---

<div class="post-metadata">

**Author:** ![wootmoot](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/wootmoot/32/21_2.png) [@wootmoot](https://developer.squareup.com/forums/u/wootmoot)\
**Post date:** [October 2, 2023, 10:58pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/2 "2023-10-02T22:58:37Z")

</div>

Pinned globally on October 2, 2023, 10:58pm UTC



---

<div class="post-metadata">

**Author:** ![bitbaker](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@bitbaker](https://developer.squareup.com/forums/u/bitbaker)\
**Post date:** [October 17, 2023, 3:41pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/3 "2023-10-17T15:41:54Z")

</div>

Is there anything in particular we have to do to get this to work? I keep getting the message “Could not find device matching device\_id: xxxxxxxxxxxxxxxx”. The device does exist, is on and online. Not sure what I’m missing here.

I’m using the Nodejs sdk.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 17, 2023, 4:23pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/4 "2023-10-17T16:23:56Z")

</div>

No, this will work out of the box. Is the `device_id` one that was created with the Devices API? Or was the device created in the Seller Dashboard? 🙂

---

<div class="post-metadata">

**Author:** ![bitbaker](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@bitbaker](https://developer.squareup.com/forums/u/bitbaker)\
**Post date:** [October 17, 2023, 4:38pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/5 "2023-10-17T16:38:34Z")

</div>

Hmm, I’m not sure what you mean. Is the device id not the serial printed on the bottom of the terminal device?

Just to give a bit more info/context. We have an app that uses the terminal api, we can pair terminals to our “POS” stations. Everything work fine. However, for some reason towards the end of the day, \<4pm, a lot of the POS start to misbehave; checkouts don’t get created, webhooks don’t get sent, etc. The most likely culprit is that the terminal is stuck/unreachable. So we would like to interrogate the terminal before we try to create a checkout. Pinging the terminal takes too long, so I saw this endpoint and thought we could use it. But it always errors out.

All our terminals were setup through the Devices API.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 17, 2023, 6:00pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/6 "2023-10-17T18:00:12Z")

</div>

What’s your application ID and what errors are you getting? 🙂

---

<div class="post-metadata">

**Author:** ![bitbaker](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@bitbaker](https://developer.squareup.com/forums/u/bitbaker)\
**Post date:** [October 17, 2023, 6:07pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/7 "2023-10-17T18:07:00Z")

</div>

App Id: sq0idp-e40Zku\_jq6CCmmS4eQx1TA  
Error:

```auto
  headers: {
    date: 'Tue, 17 Oct 2023 18:06:07 GMT',
    'content-type': 'application/json',
    'content-length': '149',
    connection: 'close',
    'cf-ray': '817a793f9ece62a5-ORD',
    'cf-cache-status': 'DYNAMIC',
    'strict-transport-security': 'max-age=631152000; includeSubDomains; preload',
    'frame-options': 'DENY',
    'square-version': '2023-09-25',
    'squareup--connect--v2--common--versionmetadata-bin': 'CgoyMDIzLTA5LTI1',
    'x-content-type-options': 'nosniff',
    'x-frame-options': 'DENY',
    'x-sq-dc': 'aws',
    'x-sq-region': 'us-east-1',
    'x-xss-protection': '1; mode=block',
    'set-cookie': [
      '__cf_bm=34Yjh3TVlUjVDtH2Te1l0MIhs7D4BvpHtUUF697KHGI-1697565967-0-AV7x+w6vD+/x2j5A9cW2a3nL1dxZK7MBeiu2BBmebWmubwVKUhN8S4G/m
pmgp5o4i4BwM0AuZCZtfy5P8LZ4h4E=; path=/; expires=Tue, 17-Oct-23 18:36:07 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None'
    ],
    server: 'cloudflare'
  },
  body: '{"errors": [{"code": "NOT_FOUND","detail": "Could not find device matching device_id: \\"226CS149B1002723\\"\\n","category": "INVALID_REQUEST_ERROR"}]}\n',
  result: [Object: null prototype] { errors: [[Object: null prototype] ] },
  errors: [
    [Object: null prototype] {
      code: 'NOT_FOUND',
      detail: 'Could not find device matching device_id: "226CS149B1002723"\n',
      category: 'INVALID_REQUEST_ERROR'
    }
  ]
}

```

Edit: I’m a new user and so am only allowed 3 replies :0. I wanted to at least leave something here for posterity.

Reply:  
OMG. Thank you so much. I thought I was going crazy.

Also: [Terminal Device Monitoring](https://developer.squareup.com/docs/terminal-api/terminal-device-monitoring#get-information-for-a-single-device)

Here is a link to the docs. You can see why I was just passing the device\_id. It also looks like a UUID, which made me think I had the wrong device\_id altogether. None of my ids look like that.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 17, 2023, 6:26pm UTC](https://developer.squareup.com/forums/t/devices-api-remote-device-monitoring-for-the-square-terminal-beta/10892/8 "2023-10-17T18:26:48Z")

</div>

If you pass in `device:226CS149B1002723` it should work. It’s a bit confusing but the prefix `device:` needs to be included. 🙂
