Zigbee wall switch

Hi,

I am planning to buy UK Smartthings. I am wondering if it support any zigbee switch like the following:

http://wallpad.en.alibaba.com/product/60321181570-802079833/Best_Sales_Wallpad_White_Glass_Zigbee_4_Gangs_Mobile_WIFI_Wireless_Android_IOS_Wifi_Remote_control_Wall_Light_Power_Switches.html

Can someone advice? since zigbee is standard protocol.

Unlikely that that one will work with SmartThings, unfortunately.

Zigbee has multiple profiles, and they don’t all work together.

SmartThings is certified for the zigbee Home Automation 1.2 profile. So the first thing to look for in any device is that certification ( ZHA 1.2). Which that light switch doesn’t have.

More information in the community-provided wiki:

http://thingsthataresmart.wiki/index.php?title=Supported_Network_Protocols

1 Like

Hi Robert,

sorry to bother you again … so as per your advice … i bought

smartthing hub can detect the device but its unknown. How can i configure it with simple on / off switch.

Sorry, very new with this. If you can help that will be great.

thanks

Hi Robert, I managed to go to developer forum n found out that, I can select device type.

However which device type I should select for a gang of 3 wall switch?

Thanks

Did you manage to get all 3 of the switches to work manually?

I think you may have to create virtual switches on the smartthings side of things

Didn’t manage to get it work that why I am waiting for Robert’s help :frowning:

Maybe @Sticks18 can help. He’s one of the zigbee guru around here. @JDRoberts is also a device expert but he doesn’t do code.

Edit : @blebson as well.

2 Likes

If you assign it to any of the zigbee switch or bulb devicetypes, does it turn on one of the switches?

It’s most likely 3 identical switch devices each using a different endpoint, so one of them should work with the stock devicetypes and it’s a matter of adding the other 2.

If the basic zigbee devicetypes don’t work one of the loads, then it might be because they only implemented the toggle command since it uses touch-sensitive push button controls and not an on/off button layout.

It would be helpful if you could look at this device in the IDE on the My Devices tab, click on it and paste here what it says in the Raw Description line. Sometimes there is no raw description.

1 Like

Hi Sticks,

I have been waiting for ur reply :slight_smile: … I tried all the switch device types available, its not working.

Only 1 zigbee device detected. I thought if it detect 3 zigbee device then its simple :slight_smile: … so 1 gang switch will work fine right?

I think some custom code required? if you can send me some sample … that will be great …

on top of that, do you know 3 gang zwave switch like the following work with out of the box device type of need to have custom code? as i see another post but no reply that its working fine.

Thank for your help in advance.

http://www.alibaba.com/product-detail/UK-Standard-Zwave-Touch-Switch-HOT_60325105281.html?spm=a2700.7724838.38.1.hsmAP5

I only expected it to show up as one device in ST, and it definitely needs custom code. It’s a matter of what that code looks like and the best way to implement it. Unfortunately, we still don’t have much info since the raw description wasn’t populated.

Can you try modifying the GE Zigbee Switch devicetype code? The on() and off() commands are very similar with on() using “1” as the 2nd parameter in zigbeeCommand(), off() uses “0”. Replace both those values with “2”, so both on() and off() will just be zigbeeCommand(“6”,“2”).

See if that works one load. That’s the zigbee command for toggle.

Also, you can try looking at your hub events in the IDE to find the join events for this device. Go to My Hub in IDE and click List Events, then filter on All and scroll to the right timeframe. The join events will hopefully detail the endpoints and clusters.

If you can’t find those, you’ll need to reset the device, then pair it again while running live logging to capture the join. We need info that will look something like:

join: ep cnt: 3
join: 01 0104 blah blah blah
join: 02 0104 blah blah blah
join: 03 0104 blah blah blah

No idea about the zwave version. I don’t know much about zwave devices.

I tried Ge Zigbee switch and there is no event log.

Does the following help?

No, unfortunately there’s nothing new there. There really won’t be any useful information in the event logs. We need the join logs to see what clusters the device supports and on what endpoints.

Did you try modifying the GE Zigbee Switch as I mentioned in my post? Or did you just apply the stock devicetype and attempt on/off?

Hi sticks18,

This help?

hi sticks, I tried GE Zigbee Switch device type and on/off dont work and no logging.










It does! Pretty much exactly as I expected. Try this custom device type. This should work one of the loads if they operate the way I expect they do. Fingers crossed…

Hi Sticks18, yeah … you are the man … but i need to do some hard coding on the end points as its null when i use the above code and to have 3 gangs on n off buttons …

Its a good start :slight_smile: … thank you very much

You got it! I was hoping one of the endpoints could be pulled directly, but hard coding all 3 makes sense. ST doesn’t really handle multi-switches in one device, so you’ll probably have to create two custom switch attributes and custom on/off() commands. You can always create a couple of virtual switches and a SmartApp to operate them as independent switches too.

FYI - The endpoint format will be 0x0B, 0x0A and 0x09.

Let me know if you run into trouble making the changes or expanding this out to all 3.

Hi Sticks18, yup … so i see there is a way to force to enter endpoint value during installation … so can use the code if more than one 3 gangs switch :slight_smile:

preferences {
input(“switch1”, “string”, title:“Switch 1 Name”, description: “Switch1”, defaultValue: “Switch1” ,required: true, displayDuringSetup: true)
input(“switch1EndPoint”, “string”, title:“Switch 1 EndPoint”, description: “OB”, defaultValue: “OB” ,required: true, displayDuringSetup: true)
input(“switch2”, “string”, title:“Switch 2 Name”, description: “Switch2”, defaultValue: “Switch2” , required: true, displayDuringSetup: true)
input(“switch2EndPoint”, “string”, title:“Switch 2 EndPoint”, description: “09”, defaultValue: “09” , required: true, displayDuringSetup: true)
input(“switch3”, “string”, title:“Switch 3 Name”, description: “Switch3”, defaultValue: “Switch3” , required: true, displayDuringSetup: true)
input(“switch3EndPoint”, “string”, title:“Switch 3 EndPoint”, description: “OA”, defaultValue: “OA” , required: true, displayDuringSetup: true)
}