# Smartthings (Samsung Connect)

**URL:** <https://forum.bondhome.io/t/smartthings-samsung-connect/491>\
**Category:** Integrations\
**Created:** [June 3, 2019, 7:47pm UTC](https://forum.bondhome.io/t/smartthings-samsung-connect/491 "2019-06-03T19:47:30Z")\
**Posts on this page:** 1\
**Showing post:** 72

<div class="post-metadata">

**Author:** ![jacob](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/jacob/32/312_2.png) [@jacob](https://forum.bondhome.io/u/jacob)\
**Post date:** [January 14, 2020, 6:22pm UTC](https://forum.bondhome.io/t/smartthings-samsung-connect/491/72 "2020-01-14T18:22:24Z")

</div>

> [@rfs](#):
>
> It will work such that I can create a customized option to run the “Down” command several times in repetition with a single “Off” command?

There’s a field you could use for this, `reps` (documented [here](http://docs-local.appbond.com/#tag/Device-Command-Signal/paths/~1v2~1devices~1%7Bdevice_id%7D~1commands~1%7Bcommand_id%7D~1signal/patch)). When you’re recording a raw signal (as opposed to getting a fully-built result from our remotes database), this field defaults to 1, but you could increase it to 10. This’d basically replicate you tapping the button 10 times in quick succession. This has worked for other users with similar issues.

You’d want to record your “Down” signal as an “Off” (of course, you can keep the plain “Down” as well), then modify its `reps` so that it sends a repeated signal.

The [curl](https://en.wikipedia.org/wiki/CURL) for this would look like:

`curl -i -H "BOND-Token: <your Bond's token>" http://<Your Bond's serial>.local/v2/devices/<device_id>/commands/<command_id>/signal -X PATCH -d '{"reps": 10}'`

There’s a lot to unpack there, we definitely need to get an in-app way to modify this! The token can be found in the Bond’s settings, the device ID can be found in the device’s settings, the command ID I guess you’d have to “discover” by requesting the commands list as follows:

`curl -i -H "BOND-Token: <your Bond's token>" http://<Your Bond's serial>.local/v2/devices/<device_id>/commands`

You’ll get a list of IDs which you could individually query with

`curl -i -H "BOND-Token: <your Bond's token>" http://<Your Bond's serial>.local/v2/devices/<device_id>/commands/<command_id>`

until you find the one you’re looking for.

If this all seems really intimidating, PM me your Bond ID and the name of the fireplace and I could either find the command ID for you, or just directly tweak the `reps` for you.

---

_[View the full topic](https://forum.bondhome.io/t/smartthings-samsung-connect/491)._
