Search found 6 matches

by BladeM3
Sunday 23 February 2020 20:06
Forum: dzVents
Topic: Help With PIR No motion [Solved]
Replies: 2
Views: 836

Re: Help With PIR No motion [Solved]

REALLY? it was so simple? im reading all day for this too with time stamps and time difference checking and so complex things .. Thank GOD You are a saviour!!!! Thank you so much! Now i can make most of the scripts i need with the rest of the devices!
by BladeM3
Sunday 23 February 2020 19:21
Forum: dzVents
Topic: Help With PIR No motion [Solved]
Replies: 2
Views: 836

Help With PIR No motion [Solved]

I've searched in many posts wikis etc and i got confused There are many examples in lua which i find more difficult than dzvents (just managed to make 1 simple script with switch click to toggle group lights thanks to waaren! ) and a lot of scripts that make to complicated stuff so it's difficult to ...
by BladeM3
Sunday 23 February 2020 18:07
Forum: Switches and Scenes
Topic: turn off all lights
Replies: 16
Views: 6635

Re: turn off all lights

Just managed to make it work and i’m partying like a kid in disneyland . I found out the toggleGroup function and it was so simple! I was trying all day with if on then off etc and was almost having smoke coming out of my head, hahah. Thank you! Only ome problem! Why sometimes my lights which are on ...
by BladeM3
Sunday 23 February 2020 14:00
Forum: Switches and Scenes
Topic: turn off all lights
Replies: 16
Views: 6635

Re: turn off all lights

I've tried your dzvent script but it only switched the lights to on. The off function never worked. I'm a little bit confused though and i'm trying to understand the logic behind it... if item.state == "Off" then dz.groups(myGroup).switchOff() else dz.groups(myGroup).switchOn() What i get? if the ...
by BladeM3
Saturday 22 February 2020 10:13
Forum: Switches and Scenes
Topic: turn off all lights
Replies: 16
Views: 6635

Re: turn off all lights

Great! Can you help me with a simple script that i need too? If pir1 motion not detected more than 5 mins AND door1 opens then run scene1 .. can this work with a blockly script? Most of the scripts i see (in lua) are creating time stamps and compare each other values.. still i get confused with tha ...
by BladeM3
Saturday 22 February 2020 8:40
Forum: Switches and Scenes
Topic: turn off all lights
Replies: 16
Views: 6635

Re: turn off all lights

Can anyone point me to the right direction how i can use a wall switch to controll other switches? There are more answers to this. 1. Group activation device; goto the edit page of your group to the part Activation devices. Press Add device button and you will have a couple of seconds to press the ...