If you are looking for a controller that you can place on a wall or move easily then Remotec ZRC-90 may be an ideal solution for you. The device is supplied from batteries (2xAAA) and you can place it on a wall without any cables. The device has 8 buttons and each of them can be pushed once, twice or for a longer period of time. In this way you can start up to 24 scenes with this remote controller.
Najprv je potrebné zariadenie pridať do Z-Wave siete vytvorenej riadiacou jednotkou Fibaro HC2. Tento proces sa uskutočnuje nasledovne:
Zistenie ID zariadenia
Zistenie ID scény
2-remotec-zrc-90
Samotná Lua Scéna na spúšťanie scén pre zariadenie Nodon Nástenný Výpínač vyzerá takto. Je potrebné si ju nastaviť podľa svojej predstavy. Scéna popísaná pomocou komentárov.
Vytvorenie scény - Panel Scén - > Pridať scénu -> Pridať Scénu v LUA
--[[ %% properties %% events 1219 CentralSceneEvent %% globals --]] -- Číslo 1219 nahraďte ID Číslo vášho Remotec ZRC-90 if (fibaro:countScenes()>1) then --fibaro:debug("stop scene") fibaro:abort() end local pressSource = fibaro:getSourceTrigger()["event"]["data"] --fibaro:debug(json.encode(pressSource)) -- Tlačidlo 1 až 8 bolo stlačené raz if (tostring(pressSource["keyAttribute"]) == "Pressed") then if (tostring(pressSource["keyId"]) == "1") then fibaro:debug('Tlačidlo 1 bolo stlačené raz') fibaro:startScene(11) -- spustí sa scéna s ID 11, nahraďte číslo 11 ID číslom scény, ktorú chcete spustiť elseif (tostring(pressSource["keyId"]) == "2") then fibaro:debug('Tlačidlo #2 bolo stlačené raz') fibaro:startScene(12) -- nahraďte číslo 12 ID číslom scény, ktorú chcete spustiť elseif (tostring(pressSource["keyId"]) == "3") then fibaro:debug('Tlačidlo #3 bolo stlačené raz') -- pridajte ľubovoľné scény alebo ovládajte jednotlivé zariadenia elseif (tostring(pressSource["keyId"]) == "4") then fibaro:debug('Tlačidlo #4 bolo stlačené raz') elseif (tostring(pressSource["keyId"]) == "5") then fibaro:debug('Tlačidlo #5 bolo stlačené raz') elseif (tostring(pressSource["keyId"]) == "6") then fibaro:debug('Tlačidlo #6 bolo stlačené raz') elseif (tostring(pressSource["keyId"]) == "7") then fibaro:debug('Tlačidlo #7 bolo stlačené raz') elseif (tostring(pressSource["keyId"]) == "8") then fibaro:debug('Tlačidlo 8 bolo stlačené raz') end end -- Tlačidlo 1 až 8 bolo stlačené dva razy if (tostring(pressSource["keyAttribute"]) == "Pressed2") then if (tostring(pressSource["keyId"]) == "1") then fibaro:debug('Tlačidlo 1 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "2") then fibaro:debug('Tlačidlo #2 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "3") then fibaro:debug('Tlačidlo #3 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "4") then fibaro:debug('Tlačidlo #4 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "5") then fibaro:debug('Tlačidlo #5 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "6") then fibaro:debug('Tlačidlo #6 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "7") then fibaro:debug('Tlačidlo #7 bolo stlačené dva razy') elseif (tostring(pressSource["keyId"]) == "8") then fibaro:debug('Tlačidlo 8 bolo stlačené dva razy') end end -- Tlačidlo 1 až 8 bolo stlačené počas aspoň 2 sekúnd if (tostring(pressSource["keyAttribute"]) == "HeldDown") then if (tostring(pressSource["keyId"]) == "1") then fibaro:debug('Tlačidlo 1 bolo podržané') elseif (tostring(pressSource["keyId"]) == "2") then fibaro:debug('Tlačidlo #2 bolo podržané') elseif (tostring(pressSource["keyId"]) == "3") then fibaro:debug('Tlačidlo #3 bolo podržané') elseif (tostring(pressSource["keyId"]) == "4") then fibaro:debug('Tlačidlo #4 bolo podržané') elseif (tostring(pressSource["keyId"]) == "5") then fibaro:debug('Tlačidlo #5 bolo podržané') elseif (tostring(pressSource["keyId"]) == "6") then fibaro:debug('Tlačidlo #6 bolo podržané') elseif (tostring(pressSource["keyId"]) == "7") then fibaro:debug('Tlačidlo #7 bolo podržané') elseif (tostring(pressSource["keyId"]) == "8") then fibaro:debug('Tlačidlo 8 bolo podržané') end end
Tento proces sa uskutočnuje nasledovne:
Nodon Nástenný Výpínač a Fibaro HC2
Ako použiť Nodon Nástenný Výpínač na spúšťanie scén s riadiacou jednotkou Fibaro HC 2.
Použitie Aeon Labs Minimote vo Fibaro HC2
Ako použiť Aeon Labs Minimote vo Fibaro HC2 pomocou LUA scény.
Vera Edge ako na scény s ovládačom Minimote
Vytvorenie scény a ovládanie scén pomocou ďiaľkového ovládača Minimote