Questions tagged [smartthings]

SmartThings is a connected, open hardware platform for the Internet of Things, most specifically home automation. SmartThings was acquired by Samsung in August of 2014.

Our developer portal: http://developer.smartthings.com/ Getting Started Guide: http://docs.smartthings.com/en/latest/getting-started/up-and-running.html

If you have any questions, our community site is a great resource: http://community.smartthings.com

39 questions
4
votes
0 answers

Use smart things SDK for our own custom android app and provision Samsung smart devices, ex- fridge etc (not using Samsung smart things app)

I want to create a section in my existing Android app to make my end-users capable of connecting & discover their Samsung brand smart devices and appliances using Smart Things SDK I have explored the API 3 documented on the Samsung website but did…
Puja
  • 192
  • 9
4
votes
1 answer

Turn Philips HUE Lights on When the Ambient Light is Below X

I have Philips HUE Lights throughout my office and I've been trying to find a way to get them to turn on when it gets below a set lux / ambient light luminous so we don't have to wait till some realises its way too dark and turn them all on. It…
Trent
  • 429
  • 1
  • 5
  • 19
3
votes
0 answers

Lookup hostname or using hostname in HubAction (SmartThings)

I have the following code in my SmartThings app: def result = new physicalgraph.device.HubAction ( method: ‘GET’, path: “/api/alarm/${url}”, headers: [ HOST: “${settings.ip}:${settings.port}” …
Denis
  • 11,796
  • 16
  • 88
  • 150
3
votes
1 answer

How do I subtract minutes from current time

I am trying to subtract 10 minutes from the current time, but I cant find the proper syntax in the documentation I have looked up I have this so far def deltaMinutes = 10 use(TimeCategory) { def nowTime = new Date() - deltaMinutes.minutes …
Brian
  • 622
  • 10
  • 29
1
vote
0 answers

Zigbee Cluster Library Commands to a SmartThings Hub

I am trying to create a zigbee HA device. So far I have used https://nzfalco.jimdofree.com/electronic-projects/xbee-to-smartthings/ as well as the zigbee ZCL spec to get me to the point where I am sending commands on the HA Basic cluster. I am…
wdtj
  • 4,554
  • 3
  • 17
  • 20
1
vote
0 answers

Homebridge v2 devices not showing in Home app

I can’t seem to find my Homebridge v2 devices in the Home app! Homebridge is installed on a Raspberry Pi, as well as the web GUI and the homebridge-smartthings-v2 plugin. The Homebridge app is installed in the Smartthings app on my iPhone and I…
Kenny Cason
  • 497
  • 5
  • 17
1
vote
0 answers

Need help understanding Smartthings REST API

I've been trying to create an app which does pretty much the same thing smartthings app does with some additional functionalities. But I've struggled to understand their documentations and terminologies. I've tried to illustrate my intentions…
Sanju
  • 1,478
  • 2
  • 20
  • 41
1
vote
2 answers

How classes for devices and sensors are implemented in Samsung SmartThings applications?

we want to implement an infrastructure for Samsung Groovy SmartThings. The major part for the infrastructure of course is to implement different classes for each device with their corresponding methods. For example for locks' devices, we assumed…
AJ_IoT
  • 13
  • 4
1
vote
0 answers

raspberrypi smartthings-mqtt-bridge auto start not working

I am trying to auto start the smartthings-mqtt-bridge using the following command in the .service file: ExecStart=/usr/local/bin/pm2 start /usr/local/bin/smartthings-mqtt-bridge This doesn't work. However, if I type the exact same thing ('$…
Chacho
  • 11
  • 1
1
vote
0 answers

Alexa to ask me something as part of a routine

I'm looking for a way that Alexa responds with a question after I give her a command. My case: My setup is an Alexa with Samsung SmartThings with a ton of devices. When I tell Alexa --> Good morning, she disables my alarm and tells me the weather…
Andre
  • 11
  • 2
1
vote
2 answers

Firebase RT database child not updating from httpPostJson

I'm trying to log an event that happens with a Smartthings device into a Firebase database. The function in my Smartthings app is: def reportSwitchOnHandler(evt){ log.debug "reportSwitchOnHandler called: $evt" def params = [ uri:…
user936141
1
vote
0 answers

Get actual state of the smartthing's smart device programatically from web service smartApp

I am developing a web application which shows the status of the all available smart devices in my hub. and I can also control the devices from this application. For example, if I want to turn on the switch I send "on" commands with appropriate…
ARUNBALAN NV
  • 1,634
  • 4
  • 17
  • 39
1
vote
1 answer

how to use an zigbee IAS Zone device

I'm handling the Smartthings Zigbee motion sensor and i know this is IAS Zone device. I read an question-answer and they said, "Before you get the information from the sensor, you need to enroll first." (zigbee motion detect sensor usage) so i tried…
eyeballs
  • 169
  • 1
  • 3
  • 15
1
vote
0 answers

Smartthings Groovy scheduling limitations workaround

According to Smartthings documentation, only 4 jobs can be scheduled at once. I'm curious if this limit applies to all applications installed on a hub, or a namespace, or a single application. Even still, I have two single applications that require…
Ben
  • 458
  • 1
  • 5
  • 9
1
vote
3 answers

When can we get access to nest autoaway status?

Let me stress that I am not a programmer but I like messing around with things. I've been using @ifttt and @nest for years and recently started using @smartthings to do cool things in my house. I wanted to power off devices such as my lights and…
Casey
  • 11
  • 1
1
2 3