Search the Community
Showing results for tags 'lua scene'.
Hi all, I have a HC2 and I am trying to connect my KeyFob to my Sonos Playbar to set the volume. I already have it working but now I am finetuning and cannot get to the end. I have programmed my "+" and "-" button on the KeyFob so that they set the volume up and down. But I want to have it more sophisticated. My goal is when I push "+" the volume goes up by 1 on every click. And goes down by 1 when clicking the "-" button. But I need some help with this. Does someone here know how I can create the correct LUA code for this?? Here below the current situation in the scene f
Hello, I need trigger my scene with event from ZIPATO keypad device even if the device doesn't change their value. Can anybody help me with using this option? I cannot find informations about this setting. Thanks --[[ %% autostart %% properties %% events %% globals --]]
Hi I would like to know the best practises to map a device id (based upon the known 'hometable' and another variable)? For example, see partial scene below. Each device has a specific timeout. The way I did in the main scene doesn't seems to be a best practise since I'm repeating again the device id, gathered from the hometable. Using the name (for example local BuzzerId = (jT.Woongedeelte.Buzzer)) neither (I think). But how should you do it in a way you can link the device id with a timeout value in your configuration setting of a scene so you an use it in a loop. Hope it's clear.
Hi I have created 2 lua scenes to arm and disarm the alarm and this is triggered by a switch The intention is to replace the switch afterwards with a RFID keypad to trigger the 2 scenes I can arm and disarm the alarm with the switch So this is working .. no,problem so far But when the alarm is triggered to go off I can not start any scene any more So I can not disarm the alarm with the swicth anymore as the scene does not start anymore "Do not allow to stop Scene while alarm is running" is on But it not the same as "do allow to start Scene while