Leviton WiFi device support?

Do you have a URL to the Leviton Switches are you using?

Just a note - I used IFTTT with both SmartThings and Hubitat and found it reliable and fairly low latency.

This is the one I purchased.

I see Leviton as an option in IFTTT as well.
You could control it with Alexa or Google.
While I have not tried this, I would think you could create a virtual device (switch) in Hubitat and use that to trigger IFTTT to turn the light on or off via the Leviton cloud.
I couldn't tell how it's done on SmartThings although the documentation I found via Google mentions needing credentials for the Leviton account.

1 Like

I would be interested in that. Is there a way for Hubitat to actually recognize devices registered with Alexa? Or only to trigger routines? Still useful if the latter, but actually exposing devices would be better (especially since Alexa could then also be the conduit to my thermostats).

Sounds like you have a lot of cloud dependent devices to deal with. I know @ogiewon can help you with the Alexa method going. He also wrote an HE driver for Google Assistant Relay which you can use for TTS to a Google Home device, but you can also use it to silently control devices via Google Assistant. That doesn't require you own a Google Home, you simply need to setup a Google account and you use Google Assistant, which you already mentioned you don't use, but to be honest I don't really either. I almost never talk to my Google Home Mini. It just does certain announcements for me and the Google Assistant Relay driver for HE silently controls some cloud devices I have, for which there is no option in HE at this time.

It does require you set up a standalone Node.js server on a Raspberry Pi or spare computer, so that really depends on your skill and comfort with those sort of things (although it's not too hard actually). The Google Assistant Relay is quite valuable to me. I'm doing some things that just wouldn't work well via IFTTT as the latency is too slow for a few of them (not all IFTTT tasks are slow, but some are really slow). Google's cloud on the other hand is really fast and reliable, across the board.

Anyway, here's a post that describes a few of my most recent uses for it.

I actually only have a couple. This one light switch and my thermostats. I don’t actually care too much about getting the thermostats in Hubitat. It would be nice but not critical. The light switch I want to automate. To my knowledge Echo/Alexa doesn’t support motion sensors (nor z-wave) hence wanting this in a different hub.

I’m frankly wondering when Amazon is going to ship an Echo with a full-fledged rule engine and Z-wave + Zigbee antennas (and when Google will do the same) and just crush most of the existing home automation market. The Echo Plus with Zigbee hints at the inevitability.

I'd really be surprised to see Z-Wave show up in an Alexa device. I don't honestly believe they wanted to even go with Zigbee, but for smart lighting, that's the number one choice. If they have any kind of rule engine (and you could argue that Alexa Routines are a rudimentary early version), it will be cloud-based. That's not what I want personally.

It's going to take at least another 10 years before we have the stability and speed from the cloud that this kind of thing demands. There are just too many major infrastructure changes that still need to occur. Edge computing, like what Hubitat is doing, is taking hold. You can expect to see more of that in the next 5 years than full cloud only solutions. The evidence shows that the industry is rethinking that strategy.

My $00.02 worth:

"Cloud" computing (done correctly) can be pretty darn reliable and fast. I see the larger problem as the "last mile" of the network connectivity. There will be people located at the end of a network "dirt road" for a long time and they want something that works reliably.

I don't think most people care about Edge vs Cloud. They care that "it works", which is what Amazon and Google are capable of delivering. I expect we will see most "smart home" tech be cloud-based for the foreseeable future and "on premises" solutions will remain a niche, becoming a smaller portion of the market over time. Compute in the cloud is just simpler for most things, including automation. Hub gets stolen/broken? Plug in a new one and sign in and you’re good to go. Complex rules overwhelm your hub? Who cares, it’s running in AWS. Need hub updates for new integrations? Nope. In the cloud. In fact this is the biggest plus for WiFi over Z-Wave/Zigbee. You don’t care about the hub.

People who are willing to invest in home automation but can’t get reliable internet connections will be a niche even within the niche of home automation.

A bigger problem to me than speed with the cloud, is security. I don't trust anybody, even AWS, to be able to prevent hacking...color me paranoid maybe? In any case, my hope is that regular consumers at some point will realize the security risk and prefer a local home automation solution.

IMHO the biggest issue with Hubitat and mainstream acceptance is that at least for me so far, you have to kind of be a tinkerer to make it work. If they can eventually get over that hump, I don't see why the hub wouldn't be extremely popular.

1 Like

I would love some more information on how to do this.

Thank you!

Do you really think that random hackers are going to break into your system to control your lights? Or, even to open your locks? No, of course not. There's no money in doing that because they aren't even on the same continent. They're looking for banking info and credit card numbers. If someone wanted to break into my house, all they would have to do it break in a window or my sliding glass door. Now, the alarm would go off, but in reality, if someone wanted to get in they could. The whole point of security is deterrence. It's easier to break into someone else's house without a security system than into one that does, that's why security systems work. It's not that they're fool-proof. It's that there are so many homes without one.
The same with your cloud based home automation. There is no reason to break into a home automation cloud system because there's not enough money to be made from it. Let's not forget, that while they are criminals, hackers are doing it for a reason and not just for the hell of it (most of the time). And most "hacking" is not breaking in by busting codes, its stealing info folks give away unknowingly.

And as far as "end of the dirt road"...i'm sorry, but if my home is going to rely on something to work at all, it better be 100% of the time or damn close to it. The last month I was on ST I lost internet on a Sunday afternoon and I literally said to myself, "well, I don't really need to leave the house. I don't want to have to go around and do all that sh&t by hand." Now, while I am a lazy bastard, some of that really is because once you have it set up to be automated, you expect it to be. And when it's down, it sucks. I agree that the cloud will be the future but for me, only after it is a hell of a lot more reliable than ST was and only when my internet connection is a lot more reliable than "Slime Porner" or "Speculum" are.

Yes, actually. There’s plenty of evidence that if hackers can easily get in, they will, even if only to mess with you.

Now the key thing to note is that you aren’t magically more secure just because your hub is local. If you can access your system remotely, you have an attack vector. This includes cloud systems but also local systems exposed remotely. Of course you may have attack vectors you are not even be aware of as in this thread where (among other potential vectors), some people had unintentionally accessible network shares.

It might not even be about control. Maybe it's just monitoring. Once "they" get your leaving and arriving patterns along with any key pad entries, then your house is theirs. To a burglar, money is indeed a motive. To a miscreant, well who knows.

I don’t actually think that smart home monitoring is a particularly meaningful vector for burglary, at least not at present. The people willing to break into your house to steal your TV are generally not the sort of people able to hack into your automation system, whether it’s in the cloud or not.

For the most part, the people who would hack into your home automation system are just going to screw around with it because they find it amusing. However, some might use it as a vector to extort money with ransomware if they can leap from your home automation system to your computers. Similarly they might blackmail with security footage if they capture anything compromising.

Physical break-ins are generally not going to involve automation compromises, though. That’s just not very realistic right now. Just as it’s not realistic that checking in on Twitter/Foursquare/whatever makes you more likely to get burglarized. Burglaries just aren’t targeted like that for normal people. If you have actual enemies, then sure, but that’s not the case for typical people.

1 Like

Ooops! I apologize. For some reason, I was under the impression that within the Alexa App you could use the state of a switch device as a trigger for an Alexa Routine. This is not possible currently.

Sorry for any confusion!

You can do this within IFTTT. Use a Hubitat Virtual Switch as a trigger to change the state of your Leviton WiFi switch (assuming Leviton has support for IFTTT!)

Probably the best solution is to simply replace any WiFi switches you have with corresponding Z-Wave Plus or ZigBee switches. This way all communications will be local with no internet or cloud server dependencies.

1 Like

Not switches, but you can use contact sensors.

But, I agree, swap to z-wave or zigbee and you'll save yourself a lot of headache.

Unfortunately, not yet on Hubitat... :frowning:


That makes me a sad panda. :cry: