Freepad is an open source Zigbee remote intended to be used to have a customizable keypad to control your smart home devices.
There are different hardware versions of the console. More details on the links:
- Single/double/tripple/quadriple/many_x/hold&release
- Touchlink reset
- ONOFF bind
- Level control bind
- Bindings configuration
- Remote reset
- Press and hold the first button for 3-10 seconds (depending on whether the device is connected to the network) until the LED on the device flashes.
- Wait, if the connection is successful, the device will blink 5 times.
- If the connection fails, the device will blink 3 times.
Find button mapping at project page
The keypad is supported in:
- zigbee2mqtt via int & ext converter
- ioBroker
- SLS Gateway
In zigbee2mqtt you could change setting at Exposes tab.
By default remote works as custom switch, with multiple clicks, but this behavior has own drawback. In order to detect multiple clicks, remote sends commands with 300ms delay. You can change this behavior by cost of double/triple/etc clicks.
To do that you need to change
ZCL_CLUSTER_ID_GEN_ON_OFF_SWITCH_CONFIG
cluster ATTRID_ON_OFF_SWITCH_TYPE
attribute
Values are:
ON_OFF_SWITCH_TYPE_MOMENTARY
(0) -> no delay, but no multiple clicks, only single
mosquitto_pub -t "zigbee2mqtt/FN/BUTTON_NUM/set/switch_type" -m '0'
ON_OFF_SWITCH_TYPE_MULTIFUNCTION
(2) -> 300ms delay, full set of clicks
mosquitto_pub -t "zigbee2mqtt/FN/BUTTON_NUM/set/switch_type" -m '2'
By default command is TOGGLE, but you can change this behavior.
Change ZCL_CLUSTER_ID_GEN_ON_OFF_SWITCH_CONFIG
clusters attribute ATTRID_ON_OFF_SWITCH_ACTIONS
ON_OFF_SWITCH_ACTIONS_ON
mosquitto_pub -t "zigbee2mqtt/FN/BUTTON_NUM/set/switch_actions" -m '0'
ON_OFF_SWITCH_ACTIONS_OFF
mosquitto_pub -t "zigbee2mqtt/FN/BUTTON_NUM/set/switch_actions" -m '1'
ON_OFF_SWITCH_ACTIONS_TOGGLE
(default value)
mosquitto_pub -t "zigbee2mqtt/FN/BUTTON_NUM/set/switch_actions" -m '2'
@Vlad_Kolobov recorded a video showing the speed in two modes
TL - touchlink
PM3 - Power Mode 3 (External Interrupts): 0.4 μA