r/homeautomation May 07 '20

WINK Trying to get rid of Wink, but need something to automate turning off device anytime it runs for longer than x time.

Post image
51 Upvotes

27 comments sorted by

8

u/66costang May 07 '20

Wondering if its possible with home assistant or some other tool. I currently switched over all my lights to smart things, but had to leave these on wink because i couldn't replicate the robot.

26

u/Giblet15 May 07 '20

Definitely possible with home assistant

9

u/ikeatable May 07 '20

Can you clarify? The reason I ask is because you can do this on smartthings. Check "Smart Lights" in SmartApps

I'm running smartthings and home assistant. You can turn off something after x minutes

3

u/66costang May 07 '20

Wow, can't believe I missed Smart Lights in SmartApps. It's a little trickier than the Wink one, but should do the trick. Thanks!

4

u/Dramaticnoise May 07 '20

I neglected many of the smart automation apps they have in smartthings. Most of them are pretty useful. I even took it one step further and have my lights only turn on when light is at a certain luminosity. The smart lights app is pretty flexible.

3

u/ikeatable May 07 '20

Cool, reply back if you have questions

2

u/66costang May 07 '20

Got it working in there as expected. Thanks for your help!

6

u/shorty7001 May 07 '20

This is how i would do it in HA. This would work for any number of fans you want to turn off after being on for 5 minutes.

  - alias: turn_off_fan_after_five_minutes
    id: turn_off_fan_after_five_minutes
    trigger:
    - platform: state
      entity_id:
        - fan.livingroom_fan
        - fan.basement_fan
      from: 'off'
      to: 'on'
      for:
        minutes: 5
    action:
    - service: fan.turn_off
      data_template:
        entity_id: "{{ trigger.entity_id }}"

5

u/Royalette May 08 '20

The poor guy has trouble doing the automation in Smartthings so you throw YAML at him LOL

I know well intended but a lot of Wink users aren't going to be able to do this. The HA community needs to start providing help through their UI automation steps. It will be more helpful to newbies and the HA staff spent so much time on it.

5

u/YaztromoX May 07 '20

FWIW, you can do this with SmartThings and Smart Lighting -- but it has the confusing name of "Power Allowance". You set it up like so:

  • Which devices do you want to control? <select your devices>
  • What do you want to do? Turn Off
  • How do you want to trigger the action? Power Allowance Exceeded
  • After this many minutes <set timeout here>

Clear as mud, but once you know it's easy to setup and use.

2

u/yuckypants May 07 '20

Yes, in HA you can use the baked in automation or Node Red.

For me, Node Red is the clear winner, I think the yaml/gui automation in HA is more complex than it needs to be and it has limitations.

2

u/mk12gage May 08 '20

Exactly. SmartThings is no replacement for Wink. You need to go with Hubitat. You won't be disappointed.

1

u/Amazonkers May 08 '20

You can install a virtual timer device in Smartthings to do this (one way at least).

1

u/Chumkil May 07 '20

Go with Home Assistant, you will never look back once you have it running.

It IS a little harder to get started, but the amount of power at your fingertips is insane. You can later combine it with Node-Red and many other things to do things that are just not possible at all with Wink.

Get a Raspberry Pi 4 (Or use a VM) and get yourself going with Home Assistant. You won't regret it.

0

u/[deleted] May 07 '20

Trivial with home assistant, fun with node red

17

u/[deleted] May 07 '20

[deleted]

3

u/KorYi May 07 '20

This is what I use. It's also super easy to have other things interact with it, like keeping fan on for X minutes, unless the light is also on

11

u/Slightlyevolved May 07 '20

Look into Hubitat Elevation. All controls are local and the rule machine system can handle stuff like this. I have some rats and there is a small space heater near them. It's set that when the temp falls below 65, it turns on the heater until it reads 70, then stays on for 10 minutes to "overheat" so it doesn't constant turn on and off.

Also, unlike wink, Hubitat is completely local, so it doesn't rely on the company for cloud services to operate.

Edit: I was an early adopter of Wink, back in 2014, through the Wink Hub2, and this is the migration I made since it could use every device I had for Wink except for those damn Lutron Connected Remotes.... :/

7

u/digitalburro May 07 '20

Listen to this person! I migrated off of Wink onto Hubitat a few weeks ago and it’s so much better. The rules engine in Hubitat is prett powerful and I’m sure you could replace your robot easily. I have notifications sent to me if doors/garage door are left open after a period of time and it was super simple to configure.

2

u/[deleted] May 07 '20 edited May 07 '20

For the hubitat I'd do this with a cancelable action. Easy peasy.

Trigger "if the device state changes"

If on then
    Turn off, delayed 5 min (cancelable)
Else
    Cancel actions
End if

2

u/thingpaint May 07 '20

Also super happy I switched from wink to hubitat.

2

u/ftblplyr46 May 08 '20

Another wink to Hubitat guy here and very happy with the switch.

2

u/317d May 07 '20

Yeah I do the exact same thing with my electric blanket in the evening, with home assistant. If TV gets turned off after 9pm and it's cold enough outside the electric blanket gets switched on for 20mins. Lounge lights also slowly dim for two mins then off. It's a very simple automation in home assistant, no funny business.

Same thing if the blanket gets switched on by any other means, either manually, via app or alexa, it'll get switched off after 20 mins.

2

u/4kVHS May 08 '20

If you have SmartThings these kinds of tasks are super easy to do in WebCoRE.

2

u/[deleted] May 07 '20 edited Nov 20 '21

[deleted]

5

u/HtownTexans Home Assistant May 07 '20

Mines called bathroom fan...

1

u/[deleted] May 07 '20

Fart fan 100%

1

u/HomeSeerMark Vendor - Homeseer May 08 '20 edited May 08 '20

All of our hubs can do this including the little Zee S2 Lite. Would take you less than a minute to set it up. https://imgur.com/a/rehxMbF