> From: Sebastian Lorenzen <
sebastian...@outlook.com>
> To: SonoffUsers <
sonof...@googlegroups.com>
> Cc:
sebastian...@outlook.com,
da...@lang.hm
> Subject: Re: Can anybody explain a newbie how to connect a PIR sensor to a
> Sonoff(Tasmota firmware)?
>
> I put in a 10k resistor and it gets a bit better. Still a lot of "random"
> on and off . Also a 4.7k resistor is not working better.
>
> Interesting observation: When I power on the sonoff and pir and put in the
> resistor in it afterwards, it is almost ok.
> When I wire everything together and power it on, it is the same behavior as
> without the resistor.
> It looks like it kind of adapts to the resistor while booting up.
>
> thoughts?
>
> Sebastian
>
> Am Dienstag, 2. Mai 2017 19:23:16 UTC+2 schrieb David Lang:
>>
>> It sounds as if your PIR leaves the pin floating when it's not switched,
>> so try
>> hooking a pull-up resistor to the pin (a 4-10k resistor between the pin
>> and
>> 3.3v)
>>
>> David Lang
>>
>> On Tue, 2 May 2017, Sebastian Lorenzen wrote:
>>
>>> Date: Tue, 2 May 2017 03:47:28 -0700 (PDT)