SwiidInter Cord Switch (DTH in post 8)

Hello,

most of my lighting at home is done with table lamps, so I was wondering if anyone has tried the SwiidInter Z-Wave cord switch (link below) with SmartThings? I know I could use the SmartThings Outlet, but I would like to retain manual control.

Cheers,
Chris.

Never used it, but it should work. Z-wave will generally work without issue if it’s not any sort of fancy/odd device, and this looks like a pretty standard on/off item.

I like the idea too.

Love it. Certainly the path I would take if only such switch was available here in NA :rage:

It might need a custom device type to support the long press functionality.

So in order to connect this, do I first have to connect it to a Z-Wave controller, or can it be directly added to SmartThings?

Sorry, I’m a newbie…

Chris.

Should connect to your hub. If your switch connects to the hub but cannot be fully controlled (i.e. long press) you may need to look for a custom device type which is basically code written by either ST or the members here. Until this is an issue, dont worry about it. Get the switch connected to your hub first by using your app “Market Place/Connect New Device” option.

So I finally got one of the cord switches and it kind of works in ST as a generic “Z-Wave Switch”. However, it does not report its current status by default. So if you switch it on using ST, then switch it off manually, ST still thinks it’s on. In order for the switch to report its status, it has to be set to Association Group 2. And in order to do that, I believe I need a custom device type.

I’m not much of a coder, so I would love it if someone here could have a go at writing a custom device type. I’d even be happy to sponsor the effort by supplying a switch to anyone willing to take it on.

There is some basic information on the manufacturer website.
The user manual: http://www.swiid.com/medias/documents/ZCS-User-s-manual-vBAT2-02.12.2014.pdf
Advanced settings: http://www.swiid.com/medias/documents/advanced-swiidinter.pdf

I have a bunch of table lamps that I would love to use these with, so it would really make my day if someone could help with this.

Cheers,
Chris.

Thank you, thank you, thank you!! This works a treat. I don’t really need the long press, but the status indication is essential. Of course, if you do get it to work, I’ll look forward to an updated device handler.

Cheers,
Chris.

Thanks very much for this, I am very new to Smartthings but have invested in some Fibaro Universal Dimmer 2’s and some SwiidInter Cord Switch’s which seem perfect for my wife to continue using everything if required but so I can also play with home automation.

Just 1 question am I right in thinking I can just add my SwiidInter Cord Switch to the smart things then publish the code you have given in my device handles, make the switch use that code and everything will work perfectly with my SwiidInter Cord Switch?

The bit I don’t understand is talking about “Association Group 2” I cant work out how to change the association group, does the code you have give us do the association for me?

Is so sound ideal and really appreciate this!

Thank You sounds simple enough, the cord switches should arrive middle of next week will get them wired in and sorted.

Really appreciate your help and code

Yeah they seem to be the only option that allows the wife to carry on using the light as normal but allows me to tinker hehe! If you find anything better in the future please let me know, the hum does worry me, the first ones are for side lamps in the living room but I also want to use some on the bed side lamps.

I cant think of another way do achieve this other than these for the bedside lamps.

Am I right in my thinking that the hum is only there when the lamps are set to on and the switches are silent when off?

The hanging doesn’t worry me if its very infrequent.

Yeah think I understand the Fibaro 2’s I will be using Hijar’s code hopefully this should work perfectly. I have also bought the bypass as I use LED’s around the entire house so thought it wise to avoid issues with small loads.

Any other devices you recommend that allow my home to go from a dumb device to a smart device? I like both the Fibaro’s and SwiidLinter’s as you wouldn’t really know the smart integration is there.

Thanks very much, the humming at all times does worry me (not from a point of view of blowing up but the annoyance level) but I will test it with my lamp in the living room first to see first hand. There is obviously more background noise in the living room but will give me a good idea.

I wont bring it up with the wife though if I can live with it and she doesn’t hear it I have learnt to not mention it hehe

Some great product will have a good look through them, I’m currently on with putting Logitech Harmony remotes in each room as I have a Roku 3 box linked to each TV so these work idea for having a single remote control everything on the TV but also have home automation buttons which is proving very handy. 1 remote to do everything in each room sort of thing.

Just out of interest if your wife wanted to get up in the night and put the bedside lamp on what would she use now? Old habits die hard and all that, I have to make sure any tinkering I do doesn’t actually make turning lights on for her more difficult it really isn’t worth the ear ache hehe

Yeah the Fibaro product seem great for the UK market, I am thinking of setting up something in the porch which uses ambient light and motion to turn on the porch light, like a security light for inside the house but I only want it to come on when its dark enough to do so, would seem daft to come on, on a nice day just because is senses someone in the porch.

I chose the smartthings hub because of the integration with the Logitech Harmony and seems a wise move as the development for it on here is fantastic if it doesn’t officially support smartthings someone seems to have made sure it will work 1 way or another! Not really read about CoRE smartapp, but will do some research now.

Cant wait for my For my Fibaro dimmer and switch to turn up tomorrow so I can have a tinker when I get home from work

Yeah not sure so my Mrs is really going to take to getting her phone out to turn the bedside lamp on or picking up a remote but we will see…

My SwiidInter Cord Switch arrived today so I have just finished remove the old in-line switch and replaced, installed with Smartthings, then attached your code and its working beautifully works on and off by the button but also by Smartthings and updates perfectly so when it in manually turned on Smartthings can see that it has been pressed. Great Job! Also I have added the Smartthings to my Logitech Harmony remote so now from my TV remote I can turn the light on and off, once I have all the lights in each room linked to the TV remote that belongs in the room it will be very handy… and I will be broke!

I can hear the buzz but its pretty minimal, will test it over the next few night by swapping my bedside lamp with this one and see if I notice it, my tinnitus is far worse than the buzz anyway!

Haha great idea on the bins! I’m in a good routine of putting them out though. Do the bin lorries not smash the sensor though when they lift them up?

Will probably invest in a Fabio Motion sensor for the porch, would you recommend this over the Smartthings one?

I have a baby on way and all the nursery stuff just arrived today so next couple of nights will be dedicated to building that (only 7 weeks to go!) but hopefully I will get a spare hour or 2 on the weekend to install the Fabio Dimmer, I did most of the hard work for it this weekend, separating a 3 gang switch in 2 separate switches so I would have some room to install the dimmer, so everything is there and ready to just install the dimmer in the switch box, drop the ceiling light and install the bypass then get it setup and running hopefully!

Thanks again for the help and your code is superb, did you ever get anywhere with tinkering with the long press on these cord switches? Would be quite nice to be able to set a long press on my bedside light to turn off say the lights downstairs if I have left one on or something.

Ah well the long press would have been an absolute treat, real shame that as I like the idea of pressing something to shut down all light in the house before bed just in case. Maybe I will invest in 1 of those battery powered switches for the side of my bedside table or something

Managed to get both the Swiid Cord Switch and Fibaro Dimmer switches installed and working perfectly for me now, my LED bulbs are not dimmable so just have them as off on switches at the moment, took quite a bit of tinkering with settings to get the dimmer performing correctly but I have the settings perfect from the living room light now.

I have seen quite a few people using tablets, how are you powering the tablet just got a power supply plugged in and hidden away somewhere?

Sounds like the Fibaro is a far superior motion sensor and worth the few quid more over the Smartthings then.

Yeah when I get stuck in splitting the switches last week I did think about just hiding the Fibaro out of the switch box but I was too deep and into it by then, this way does also give me the option to put a dimmer on all 3 lights now so I can have 2 more dimmer outside the switch boxes in the future.

Thanks excited and nervous at the same time which I am sure is just the same as every expecting parent for the first time. Finished the nursery over the last couple of nights so almost ready for her now, need to get a few more dimmers bought and wired in though if I want to my little project done you are right as I’m about to have zero time and a lot of tiredness!

There is one other option if you have household members who just really want to push a button on the lamp, and that’s to get the Nodon NIU buttons in the UK or the flic buttons in the US and adhesive one to the lamp itself.

These are small buttons, about the size of a coin battery, that work via Bluetooth to a phone app which can then access IFTTT.

IFTTT lag varies from household to household, so these may work for some people but not for others.

The main point to note is that these only work when there is a Bluetooth device nearby that has Internet access. That could be a phone or a tablet. But if you pair it to your mobile phone and then you take your mobile out of range, the button doesn’t do anything.



We use the flics at our house and like them a lot, but we have a tablet set up as a home automation control center on each side of the house, so we have the buttons paired to those.

1 Like

Hmmmm they could be quite a nice addition

I like the idea of having a button to turn off “all downstairs lights” on my way up the stairs of an evening after making sure the door is locked for example, this could be a nice way to do it.

Thanks foe the tip I can see that coming in quite handy

Hi Robin, I’ve been trying to tidy up my device types and point them at Github repositories where possible. However with your brilliant Swiidinter DH, it keeps telling me “File is not in any repository”. It’s also not finding it if I delete it completely and try to add it from the repo.

Any ideas? I know this is going back into the dim and distant past…

Chris.