Smart ZigBee Plug Socket

I bought one of these today, and seem to have a similar issue and it look identical:

At £15 its not expensive. The Hub sees it, and I have tried it as a Generic Zigbee outlet,

Did you hit the "Configure" button after pairing, and anything in the logs?

Yes. Also tried the FeiBit driver above, and at least get:

Current States

  • checkInterval : 1320
    But it still does not respond to an on/off command. :frowning:

The logs went further too:
dev:1612019-01-18 08:15:44.225 am debugConfiguring Reporting and Bindings.

dev:1612019-01-18 08:10:57.670 am warnconfigure...

Guess it makes it worse by it showing "unbranded". Strange that the Generic driver isn't doing anything for it.

Out of interest, have you tried the "Generic Zigbee Switch" driver?

Reason I ask is that the plug looks very similar to this.

And further info on the ST page here.

Worth a shot.

I took that guys driver, and tested on my hub, theres an issue with speech marks most likely as he's not UK. So this was taken as another ASCII.

This is his driver which I was able to save on HE, so hopefully this will work for you?
I've no idea if the driver is good, but it did eventually save with no errors after correcting them all.

/** Please copy the Device Handler from this line
  *
  * Copyright 2015 SmartThings
  * Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except
  * in compliance with the License. You may obtain a copy of the License at:
  *  http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
  * on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
  * for the specific language governing permissions and limitations under the License.
  * Updated by Kevin X from 3A Smart Home on 23/05/2018
  */

metadata {
definition (name: "3A Nue ZigBee ZLL Socket", namespace: "smartthings", author: "SmartThings") {
capability "Configuration"
capability "Refresh"
capability "Switch"
capability "Health Check"

 fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0006", outClusters: "0003, 0006, 0019, 0406", manufacturer: "Leviton", model: "ZSS-10", deviceJoinName: "Leviton Switch"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0006", outClusters: "000A", manufacturer: "HAI", model: "65A21-1", deviceJoinName: "Leviton Wireless Load Control Module-30amp"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Leviton", model: "DL15A", deviceJoinName: "Leviton Lumina RF Plug-In Appliance Module"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Leviton", model: "DL15S", deviceJoinName: "Leviton Lumina RF Switch"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Feibit Inc co.", model: "FB56+ZSW1GKJ1.7", deviceJoinName: "Nue ZigBee Switch"
	fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Feibit Inc co.", model: "FNB56-SKT19FB1.2", deviceJoinName: "Nue ZigBee Socket"
	}
}	

// Parse incoming device messages to generate events
def parse(String description) {
log.debug "description is $description"
def event = zigbee.getEvent(description)
if (event) {
sendEvent(event)
}
else {
log.warn "DID NOT PARSE MESSAGE for description : $description"
log.debug zigbee.parseDescriptionAsMap(description)
}
}

def off() {
device.endpointId ="0B"
zigbee.off()
}

def on() {
device.endpointId ="0B"
zigbee.on()
}

/**

PING is used by Device-Watch in attempt to reach the Device
*/
def ping() {
return refresh()
}
def refresh() {
zigbee.onOffRefresh() + zigbee.onOffConfig()
}

def configure() {
// Device-Watch allows 2 check-in misses from device + ping (plus 2 min lag time)
sendEvent(name: "checkInterval", value: 2 * 10 * 60 + 2 * 60, displayed: false, data: [protocol: "zigbee", hubHardwareId: device.hub.hardwareID])
log.debug "Configuring Reporting and Bindings."
zigbee.onOffRefresh() + zigbee.onOffConfig()
}

//Please copy the Device Handler end this line

Cheers
Roy

Thx Roy,
I tried the driver you posted, and got errors in lines 44 and 49
device.endpointId ="0B"
I changed them to
\device.endpointId ="0B"
and the errors went, but it still does not work. Geting cheap sockets in the UK seems to be a problem. There is no end of cheap wifi stuff, but the zigbee items seem to be £30 for a US price of $15 :frowning:

Except IKEA.. and they are not available.

1 Like

Hmmm odd. As they are the On/Off commands.
Maybe the device is different than the one posted on the ST forum, although they do look very, very similar.

I know what you mean about the Ikea ones, I'm after some too for repeaters.
However, I've just had two of these below arrive today, paired and picked up my Hive driver (which was a little odd). But they work, and apparently will serve as repeaters too.

Cheers
Roy

BTW, there are these Zwave plugs too.

Roy, thanks for that :slight_smile: hoping to go to Ikea today, see if there are any left. But thats a great second base. I have a couple of the other switches too, and have put them on extension leads to begin with. Seem good. not had conformation about the CE yet.

1 Like

nothing in the Ikea store.

I have today bought your Evergreen option and Salus SP600. see what happens. Have to say my £10 switch seems to have settled in nicely. Might be just me but it seems to respond quicker then the Ikea and Hue bulbs too.

1 Like

I was going to Ikea the other day, they showed in stock here, then it snowed so I canned it :cry:
So I was going tonight instead, and now showing out of stock, cant believe how quick they went!!
Their notification of stock arrival is crap too, as I had to manually check.

Glad to hear the Evergreens are good :+1:

I know at least 6 or so from the UK, not sure how many more.

@rupert.bowling1

BTW, I received this from the guy of the other (identical) plugs. Want to see if it helps with your Zigbee plugs?

/**
*  Copyright 2015 SmartThings
*
*  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
*  in compliance with the License. You may obtain a copy of the License at:
*
*      http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
*  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
*  for the specific language governing permissions and limitations under the License.
*
*/
 
metadata {
	definition (name: "Nue 1 Gang ZigBee 3.0 Switch", namespace: "smartthings", author: "SmartThings", ocfDeviceType: "oic.d.switch") {
		capability "Configuration"
		capability "Refresh"
		capability "Switch"
		capability "Health Check"
 
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0006", outClusters: "0003, 0006, 0019, 0406", manufacturer: "Leviton", model: "ZSS-10", deviceJoinName: "Leviton Switch"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0006", outClusters: "000A", manufacturer: "HAI", model: "65A21-1", deviceJoinName: "Leviton Wireless Load Control Module-30amp"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Leviton", model: "DL15A", deviceJoinName: "Leviton Lumina RF Plug-In Appliance Module"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Leviton", model: "DL15S", deviceJoinName: "Leviton Lumina RF Switch"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Feibit Inc co.", model: "FNB56-SKT1EHG1.2", deviceJoinName: "Nue ZigBee Switch"
		fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006", outClusters: "0003, 0006, 0008, 0019, 0406", manufacturer: "Feibit Inc co.", model: "FB56+ZSW05HG1.2", deviceJoinName: "Nue ZigBee Light Controller"
	}
}
 
// Parse incoming device messages to generate events
def parse(String description) {
	log.debug "description is $description"
	def event = zigbee.getEvent(description)
	if (event) {
		sendEvent(event)
	}
	else {
		log.warn "DID NOT PARSE MESSAGE for description : $description"
		log.debug zigbee.parseDescriptionAsMap(description)
	}
}
 
def off() {
//	device.endpointId ="0B"
	zigbee.off()
}
 
def on() {
//	device.endpointId ="0B"
	zigbee.on()
}
 
/**
* PING is used by Device-Watch in attempt to reach the Device
* */
def ping() {
	return refresh()
}
 
def refresh() {
	zigbee.onOffRefresh() + zigbee.onOffConfig()
}
 
def configure() {
	// Device-Watch allows 2 check-in misses from device + ping (plus 2 min lag time)
	sendEvent(name: "checkInterval", value: 2 * 10 * 60 + 2 * 60, displayed: false, data: [protocol: "zigbee", hubHardwareId: device.hub.hardwareID])
	log.debug "Configuring Reporting and Bindings."
	zigbee.onOffRefresh() + zigbee.onOffConfig()
}
1 Like

Thank you Roy :slight_smile: I was beginning to feel that I was a bit too far ahead of the curve for my liking. I have a very good friend in the USA who uses HE, and as we have a lot of similar views, it rang true for me . (Local, privacy for example) Well, different result again. Not on and off but errors in the log file. I wish I was a programmer :slight_smile:

I get this now:
dev:1942019-01-24 03:51:04.738 pm errorgroovy.lang.ReadOnlyPropertyException: Cannot set readonly property: endpointId for class: com.hubitat.app.DeviceWrapper on line 103 (on)

dev:1942019-01-24 03:51:01.166 pm errorgroovy.lang.ReadOnlyPropertyException: Cannot set readonly property: endpointId for class: com.hubitat.app.DeviceWrapper on line 93 (off)

I think this goes on the shelf until I can find time.

:frowning:

A little odd as the driver only has 72 lines in there :open_mouth:

The code ! pasted in has 143... or nearly twice as many as the origonal. I think I will try it in editplus first.

1 Like

OK, 72 now.
2019-01-24 05:17:42.462 pm errorgroovy.lang.ReadOnlyPropertyException: Cannot set readonly property: endpointId for class: com.hubitat.app.DeviceWrapper on line 52 (on)

dev:1942019-01-24 05:17:38.499 pm errorgroovy.lang.ReadOnlyPropertyException: Cannot set readonly property: endpointId for class: com.hubitat.app.DeviceWrapper on line 47 (off)

Just inserpted blank lines somehow.

Sorry was trying to beat you to the copy.
I removed line 17, and commented out lines 47 and 52. I don't think they're needed on HE.

tried that. Back to nothing happening :frowning:

Dammit :frowning:

Only thing worth trying is remove and rejoin it, but before saving, click the “more” option and copy and paste the details on here, then we could check the fingerprint.