Level Control not working - invers?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Level Control not working - invers?

#1 Post by riker1 » 03 Jan 2018, 08:08

Hi
I use a level control device
triggered by a switch - PIR.

Have a PIR attachted on D5 GPIO14

an Control switch listening for D5 switching D8 Gpio 15:

set level 1 hysteresis 0

But logic is inverse.

When PIR is 1 Level Control is 0 and vice versa.


Did I miss anything?

running v2- test-12
on Lolin Nodemcu

Thanks T


Log:
410209 : SW : State 1
410230 : EVENT: PIR#MOTION_PIR-d5-p14=1.00
410384 : LEVEL: State 0
410417 : EVENT: LC_PIR#ALERT_PIR=0.00
412001 : SW : State 0
412032 : EVENT: LED#LED-d8-p15=0.00

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Level Control not working - invers?

#2 Post by Shardan » 03 Jan 2018, 14:49

What type of PIR? Please give more info.

There are some PIRs in the wild that have an "open collecctor" output.
So if they trigger the output goes low.

Which rules do you use?
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests