FAQ: WIFI Devices in ST? How can I integrate a WiFi device that isn’t on the official compatibility list?


(Greg) #1

Is there any way to get WIFI devices, such as a plug, to list in ST? I currently have 3 WIFI plugs that are running off Alexa, but I would like to get them into ST somehow so I can include them in my automations, plus it would be nice to have everything in one place and feed to my ActionTiles.

Thank you.


Linking smartthings with my insignia light switch? [Developer]
New BHyve wifi water timer
PetSafe Smart Feeder?
Hodgepodge of WiFi devices
(Andy - United Kingdom) #2

Greg
It really depends what make/model the wifi plugs are.
Although they may not be officially supported there are a lot of guys on here that have created software to make different wifi devices run with SmartThings.

Someone may already have done the work for you


(Kraeg) #3

As long as they are on the same network as the hub, it should be possible. Also make sure you don’t have any form of client isolation on your WiFi as this will stop the hub from finding them.

Best solution would be to search the forums for the make/model of plug you have and see if there is a DTH for them, else post and ask if anyone has one.

Kraeg


(Dave Gutheinz) #4

TP-Link devices are already completed and running. Link below:

Belkin Wemo devices also have some integration. Main problem is determining the command structure for the cloud-based integration. Should be simple, however, simple is not a word understood by SW developers.


#5

As others have mentioned, it depends on the specific brand and model.

Wi-Fi doesn’t have a fixed set of standard commands the way Zwave and zigbee do , so it’s not just a matter of being on the same network. SmartThings would have to know the exact message content that that particular device expects.

Typically you can get integration in one of five ways depending on the brand and model:

One) the device manufacturer publishes an “open API,” which is documentation describing the exact messages that their device expects. These are the manufacturers that want to encourage integrations, such as Phillips hue with their bridge. If the manufacturer has an open API, it will usually be described on their website, again because they are trying to encourage integrations.

  1. The device manufacturer has an official integration with SmartThings. There are some of these, like iHome. In that case, it will be listed on the SmartThings support site.

https://support.smartthings.com/hc/en-us/categories/200376124-Things

Three) The device has an IFTTT service/channel, and then you can get simple integration that way. For example, miLight has one.

Four) The device works with HomeKit. If so, If you’re already running HomeKit and you’re willing to run an additional computer as a “man in the middle” server, you can set up a Homekit simulation, called homebridge, and get some integration that way. This is the more technically difficult Then the first three methods, but there are other community members who will be able to help you if you are interested.

Five) The light switch is one of many inexpensive Chinese Wi-Fi switches which use the Tuya SmartLife app. See the FAQ:

OK, those are the fairly straightforward ways.

Other Options

Then, as has been mentioned, if none of those five are true it sometimes happens that a community member has figured out what messages the device is expecting and has set up some kind of integration. These often require a strong technical background to set up, and may require an additional “man in the middle” server like a laptop or a raspberry pi.

To find those, usually the easiest way is to go to the quick browse lists in the community – created wiki and look on the “pocket socket” list in the device type handler section. If an individual thread is tagged " requires server" then it’s one of the ones that is going to need an additional server device and some programming skills.

You can also check the same quick browse list to see if there’s a simple integration that’s already been done. Or just search this forum directly.

http://thingsthataresmart.wiki/index.php?title=How_to_Quick_Browse_the_Community-Created_SmartApps_Forum_Section

So it just comes down to the specific brand and model. :sunglasses:

If you already have an MQTT broker running, you can try the following code, although recently people have been reporting difficulties getting it to run.

Using Alexa as a “man in the middle”

There is one more option which is goofy, but works for some people. If the switch works with Alexa, you can set up a separate device to speak commands which Alexa will then respond to.


SimpleLink WiFi & SmartThings
(Greg) #6

2 of the plugs are Insignia NS-SP1X7. The 3rd I am not sure but can find out.

Everything is on the same home network connected through our AT&T router.


#7

Again with Wi-Fi it’s not a matter of just being on the same network, you have to know the exact format of the messages that the devices will understand. It’s like the difference between being on the same phone network and speaking the same language. I might be able to call your phone, but if I speak Hungarian and you speak English we aren’t going to be able to communicate. :disappointed_relieved:

Last I heard, insignia is a Best Buy house brand and doesn’t talk to anything else except Alexa. It might be possible to do something with Tasker and sharptools if you have an android phone. But if you have an iOS phone i think you’re going to be out of luck.

There are also, I’m not kidding, some people who’ve set up a cheap android device sitting next to their echo and automate the android device speaking command to the echo to get integration with devices that can’t be reached in any other way. But that’s a pretty hacky way to do it.


(Greg) #8

Looks like it’s easier to buy Z Wave plugs. Lol

Thanks everyone!


#9

There are some Wi-Fi plugs that work just fine with SmartThings, it just depends on the brand and model. For example, the iHome plug iSP8 work and some people like those because they also work with HomeKit.