30.06.2021, 11:54
(26.06.2021, 05:27)mishoboss Wrote: Hi, is there a way to control Paradox PGMs (outputs)?
I didn't find any straight solution because there is no command to control PGM output directly. PGM output is meant to control via some statements inside paradox.
But, this solution should work (haven't tested it by myself) but paradox uses this solution with RF remotes.
You can try to use utility key and create this kind of configuration (picture 1 attached). I think there is possible to create similar configuration in BabyWare also.
In LM add this code in residential script to test it out:
Code:
utility_key1_grp_addr = 'x/x/x' -- turn PGM on group address
utility_key2_grp_addr = 'x/x/x' -- turn PGM off group address
utility_key1 = grp.getvalue(utility_key1_grp_addr) -- PGM on
utility_key2 = grp.getvalue(utility_key2_grp_addr) -- PGM off
if utility_key1==true or utility_key1==1 then
port:write('UK001\r')
grp.update(utility_key1_grp_addr, false)
os.sleep(0.2)
elseif utility_key2==true or utility_key2==1 then
port:write('UK002\r')
grp.update(utility_key2_grp_addr, false)
os.sleep(0.2)
end
enable log(event) in residential script to see if command is accepted.
Unfortunately there is no request/status command to see what is PGM state.
Hope this helps.