Search found 3 matches

by TomBoeg
Monday 13 December 2021 21:40
Forum: dzVents
Topic: Light script - Event detected but no effect
Replies: 5
Views: 634

Re: Light script - Event detected but no effect

Hi boum,

It's working well, thanks a lot for your explanation and the updated script !
Once you've explained the boolean algebra issue it was clear that it could not work :)

It will help me a lot for my future scripts

Thanks again

PS : there was a small typo mistake at line 29, the "s" was ...
by TomBoeg
Sunday 12 December 2021 21:29
Forum: dzVents
Topic: Light script - Event detected but no effect
Replies: 5
Views: 634

Re: Light script - Event detected but no effect

Hi boum,

Thank you for your message.

I've updated the code but I think that I'm still don't understanding something.
Here is what I came up with (short version for one of the combination only) but it's not working :

return {
active = true,

on = {
devices = { 'Selecteur_Ambiance',
'Planning ...
by TomBoeg
Friday 10 December 2021 21:09
Forum: dzVents
Topic: Light script - Event detected but no effect
Replies: 5
Views: 634

Light script - Event detected but no effect

Hello everyone,

I'm currently having some trouble with the dzvenst script i've written for my lights.
I'm using one selector switch to say if I want it all automated (Auto) or manually On or Off (5 levels in total).
Then I have two dummy light switch for the schedule (outdoor lights and indoor ...