Revision [7425]

This is an old revision of MoesZigbeeSceneButtons made by ZorrUno on 2021-10-10 02:25:37.

 

Notes for Moes Zigbee Scene Switch


Summary

-- A 1,2,3 or 4 button zigbee Scene switch
-- Comes in White, Black and (Harder to get) grey
-- Link from Aliexpress https://www.aliexpress.com/item/1005002220416879.html
-- Cost each for the 4 gang was around $25 each including freight, 4 week delivery (e-packet)
-- They take CR2430 button cell batteries that should last over a year or maybe two. These aren't that common though (I got mine from Jaycar), but a 2032 will apparently fit ok if needed.
-- I connected via a Sonoff zigbee bridge flashed with Tasmota (Zigbee)

Notes

-- I couldn't get all the double press/hold options that the Tuya connection should get.
-- More options may be supported with Zigbee2Mqtt.
-- With the tasmota setup, I could get single presses from each, and a hold from the right hand switches (no double presses)
-- This setup was fine for what I wanted, but I did start playing with double press detection in Node Red... it wouldn't detect fast presses, but half a second apart I could do.
-- It has been noted that there are some delay quirks with these... occasionally it won't recognise a press if another press has been received a few seconds before. This hasn't really been a problem for my setup (basic light control and a a couple of script actions - all have feedback)

MQTT JSON results from the sonoff Bridge

Where Zigbee name has been changed to "Moes_Quad_Scene"
And the ID of this device is 0x1234
Topic in MQTT will be something like "tele/tasmota_zigbee_bridge_1/1234/SENSOR/"
where the 1234 is the device ID

Remember with the zigbee bridge, in the console you can change the name to the friendly name thus:
ZbName 0x1234,Moes_Quad_Scene


Top Left Button Pressed
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			"0006!01":"", 
			"Power":1,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}


Bottom Left Button Pressed
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			"0006!00":"", 
			"Power":0,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}


Top Right Button Pressed
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			"0008!02":"00330A00", 
			"DimmerStepUp":51,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}


Bottom Right Button Pressed
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			"0008!02":"01330A00", 
			"DimmerStepDown":51,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}


Top Right Button Held
-- Note that when held, and button is released, a different message is generated on release (I haven't listed those here, as I didn't need them)
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			"0008!01":"0033", 
			"DimmerMove":0,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}


Bottom Right Button Held
{"ZbReceived":{
	   "Moes_Quad_Scene"{ 
			"Device":"0x1234",
			"Name":"Moes_Quad_Scene",
			""0008!01":"0133", 
			"DimmerMove":1,
			"Endpoint":1,
			"LinkQuality":42}
	   }
}



Last edited by ZorrUno
Sun, 10 Oct 2021 02:25 UTC [diff]


CategoryHomeAutomation
CategoryMQTT
CategoryNodeRed
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki