ZRC-90 Scene Master - Push, Hold, Double click


#1

//
/* ZRC-90 Living room controller */
/
/
/* Author : Me /
/
Created : 6/9/2020, 9:32:45 AM /
/
Modified : 6/9/2020, 12:00:00 PM /
/
Build : 21 /
/
UI version : v0.3.110.20191009 /
/**************************************************************/
/

/* Button 1 - 8 are do push and hold
/* Button 9 -16 are remapped buttons 1 - 8 for double click
/*
execute
if
Remotec ZRC-90 Scene Master’s button gets pushed
or
Remotec ZRC-90 Scene Master’s button gets held
then
switch ({$currentEventDeviceIndex+":"+$currentEventValue})
case ‘1:pushed’:
with
lamp
do
Toggle;
end with;
case ‘1:held’:
with
lamp
do
Refresh;
Set level to 10%;
Refresh;
end with;
case ‘9:pushed’:
with
lamp
do
Set level to 100%;
end with;
case ‘2:held’:
case ‘3:pushed’:
case ‘3:held’:
case ‘4:pushed’:
case ‘4:held’:
end switch;
with
Remotec ZRC-90 Scene Master
do
Log info “{$currentEventValue}”;
Log info “{$currentEventDeviceIndex}”;
end with;
end if;
end execute;


#2

When posting example pistons, please use the green snapshot button so other users get an import code.

The following is a blank version of what I use for the ZRC-90:


#3

Nice to see you on here again. @Robin


#4

Never left… it’s that other dump I don’t care to frequent.