# Is anyone looking at SmartThings integration?

**URL:** <https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046>\
**Category:** Developers\
**Created:** [September 1, 2018, 6:19am UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046 "2018-09-01T06:19:10Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![saxnix](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/saxnix/32/277_2.png) [@saxnix](https://community.tempest.earth/u/saxnix)\
**Post date:** [September 1, 2018, 6:19am UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/1 "2018-09-01T06:19:10Z")

</div>

Hi, just wondering if WeatherFlow, or any developers are working on SmartThings integration??

I use SmartThings and webCore to do my automation and there are a couple of automations/rules I would like to do, but am not able to with the basic IFTTT integration.

Now that things are moving along with the project in general, is WeatherFlow (or any Devs) working on this?

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [September 1, 2018, 6:22am UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/2 "2018-09-01T06:22:43Z")

</div>

I have thought about it. I have a SmartThings Hub that I use occasionally to play with. I’m just not a fan of cloud based configuration.

What did you have in mind?

---

<div class="post-metadata">

**Author:** ![saxnix](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/saxnix/32/277_2.png) [@saxnix](https://community.tempest.earth/u/saxnix)\
**Post date:** [September 1, 2018, 6:54am UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/3 "2018-09-01T06:54:31Z")

</div>

Thanks for the quick reply Gary.

The first rule is this one;

> [@Home Control And Automation](https://community.tempest.earth/t/home-control-and-automation/164/31):
>
> … a rule where; if music is playing on the Pool/BBQ Sonos, and lightning is detected, pause the music, speak a message, and then resume playback. I would have different messages for the different lightning steps (\>35kms, 20km, 10km, 5kms), and would set conditions so that a message would only interrupt once for each distance, apart from the 5km one.

I currently have the following workaround for it that is less sophisticated than I would prefer - but does work.

 ![webCore%20Lightning%20annoucnement](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/8/8a87cbbe908af91bfa0a2e7717d889792a6e9c8e.png)

I would also like to build a rule where my kids can press a button that will check the UV index, and depending on result range, a specific announcement will be made on a Sonos. Eg;

- if between 0-4, announce “The sun isn’t too bad today, you don’t have to worry about sunscreen. Go get some vitamin D”
- If between 4.1-6, announce; “If you are popping in for a quick swim, you won’t need sunscreen, but if you are planning on staying in for more than 15 minutes, put sunscreen and a swim shirt on”
- if greater than 6, announce; “You need to sunscreen up and put a swim shirt on”

Something like that.

---

<div class="post-metadata">

**Author:** ![pswired](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@pswired](https://community.tempest.earth/u/pswired)\
**Post date:** [September 1, 2018, 1:32pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/4 "2018-09-01T13:32:53Z")

</div>

I’m also interested. I would like to disable my ERV when it’s actively raining to avoid bringing excess moisture into the house.

---

<div class="post-metadata">

**Author:** ![saxnix](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/saxnix/32/277_2.png) [@saxnix](https://community.tempest.earth/u/saxnix)\
**Post date:** [September 1, 2018, 11:06pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/5 "2018-09-01T23:06:07Z")

</div>

I made this work-around

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/b/b7aca21ebb2db598c338267e5d7c9f236cb01e21.png)

but it relies on IFTTT actually sending updates to turn on virtual switches. In general the rule is working, but the IFTTT applet didn’t run an hour ago when it should have - when when the UV index rose above 6. So the result is that it is still playing the message for UV range 4-6, even though currently it is 7.8.

If WeatherFlow integrated directly with ST / webCore it would be able to report accurately, and more information could be addded to the announcements.

I really hope you consider working on an integration 🙂

Also, OT, but I think you mentioned previously that you want home automation that isn’t cloud-based. Have you looked at [Hubitat](https://hubitat.com/). Lots of ST users are looking at this as an alternative. I will probably get it once the ST app forces the upgrade. Apparently at that point you can’t use custom device handlers.

---

<div class="post-metadata">

**Author:** ![rrmajiros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/rrmajiros/32/4663_2.png) [@rrmajiros](https://community.tempest.earth/u/rrmajiros)\
**Post date:** [April 11, 2019, 6:07pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/6 "2019-04-11T18:07:44Z")

</div>

I also would like to see ST integration.

IFTTT is great but it’s so limited. For example, I have an Automower that I would like to undock if lighting is detected. I don’t want it to mow I just want it to undock and get 10’ or so away from the docking station and then stop. I can’t do that with IFTTT. In fact, most users are parking their Automower when lightning is detected and that’s actually the worst thing you can do, in my opinion. But we just don’t have the options we need with IFTTT. Webcore is a very powerful solution in ST that would still rely on IFTTT to get the needed sequence of commands to the Automower at the correct timing.

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [April 11, 2019, 7:32pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/7 "2019-04-11T19:32:22Z")

</div>

Your best course of action is to find a SmartThings developer to integrate the WeatherFlow API.

---

<div class="post-metadata">

**Author:** ![saxnix](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/saxnix/32/277_2.png) [@saxnix](https://community.tempest.earth/u/saxnix)\
**Post date:** [April 11, 2019, 7:58pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/8 "2019-04-11T19:58:47Z")

</div>

I ended up switching to [Hubitat](https://hubitat.com/) about 6 months ago and am not using ST. Anyone wanting to develop for Hubitat? 🙂

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [April 11, 2019, 8:09pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/9 "2019-04-11T20:09:50Z")

</div>

Again, your best bet is to find a Hubitat developer.

One needs to integrate the WeatherFlow API into Hubitat, Not Hubitat into WeatherFlow

---

<div class="post-metadata">

**Author:** ![WFmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/wfmarketing/32/62_2.png) [@WFmarketing](https://community.tempest.earth/u/WFmarketing)\
**Post date:** [June 4, 2019, 7:37pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/10 "2019-06-04T19:37:36Z")

</div>

> [@rrmajiros](#):
>
> For example, I have an Automower that I would like to undock if lighting is detected. I don’t want it to mow I just want it to undock and get 10’ or so away from the docking station and then stop. I can’t do that with IFTTT.

Hi @rrmajiros . Actually, we’re speaking directly with the product team at Husqvarna Automower about IFTTT triggers and actions. At WeatherFlow, we can enable the weather triggers including lightning, rain, freeze/frost, etc. Once a trigger is fired…then there is the action. In this case, the Automower team simply needs to code the action to undock the mower on their end. We are actually working on this together right now (May 2019). 😊

---

<div class="post-metadata">

**Author:** ![barton.pepe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/barton.pepe/32/5270_2.png) [@barton.pepe](https://community.tempest.earth/u/barton.pepe)\
**Post date:** [July 27, 2019, 1:07am UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/11 "2019-07-27T01:07:12Z")

</div>

> [@rrmajiros](#):
>
> I also would like to see ST integration.

You can use the WeatherFlow API to pull most of your staton’s weather observations into webcore and then automate your stuff with SmartThings. I currently use the temperature from my station to change the color of an RGB bulb.

Unfortunately, I don’t see lightning and rain alerts in the API observations, so I still use IFTTT with webcore for those, but so far they have worked well.

 ![API%20Pull](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/5/52db132a2d259efcc321876868b8ca422c0e0a03.png)

---

<div class="post-metadata">

**Author:** ![apsmith12](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@apsmith12](https://community.tempest.earth/u/apsmith12)\
**Post date:** [August 28, 2019, 3:01pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/12 "2019-08-28T15:01:27Z")

</div>

How exactly do you use the API to pull into webcore?

I also thought based on the product page there was native Smartthings integration.

---

<div class="post-metadata">

**Author:** ![barton.pepe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/barton.pepe/32/5270_2.png) [@barton.pepe](https://community.tempest.earth/u/barton.pepe)\
**Post date:** [August 28, 2019, 4:43pm UTC](https://community.tempest.earth/t/is-anyone-looking-at-smartthings-integration/2046/13 "2019-08-28T16:43:55Z")

</div>

> [@apsmith12](#):
>
> How exactly do you use the API to pull into webcore?

You’ll set up an HTTP Get Request to the WeatherFlow API address as listed below. You’ll set a variable for the Response to define which data you want to use.

[https://swd.weatherflow.com/swd/rest/observations/station/\*\*YOURSTATIONID\*\*?api\_key=20c70eae-e62f-4d3b-b3a4-8586e90f3ac8](https://swd.weatherflow.com/swd/rest/observations/station/ **YOURSTATIONID**?api_key=20c70eae-e62f-4d3b-b3a4-8586e90f3ac8)
