Check a switch

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Hutschy
New user
Posts: 2
Joined: 01 Mar 2018, 19:29

Check a switch

#1 Post by Hutschy » 01 Mar 2018, 20:05

Hy there,
i have a switch at the door to control the status. If the door is locked, the switch closed the contact an a led is lighting. I want to use this Signal at my NodeMCU with EspEasy and Domoticz to see the Status.

Can anyone help me pls?

Greets
Hutschy

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Check a switch

#2 Post by grovkillen » 01 Mar 2018, 21:22

Use a multimeter and see what voltage levels are used for the led. You can then decide if that voltage is enough to monitor the status of the switch. Either digital or the voltage is 0..3.3V or analog of it is below needed 2.8V (if I remember correctly).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Hutschy
New user
Posts: 2
Joined: 01 Mar 2018, 19:29

Re: Check a switch

#3 Post by Hutschy » 02 Mar 2018, 18:35

I have build tehe Szene at a Breakoutboard with another Switch. But everytime i push the button, the status changed. But I want to hold the Status so long the switch is pushed.
And it doesn't work. tehe Cicurit is : D5 -> Switch -> Ground.

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Check a switch

#4 Post by toffel969 » 02 Mar 2018, 19:08

Please post Screenshots of the switch input device and a photo of the breadboard
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: Check a switch

#5 Post by kimot » 05 Mar 2018, 15:00

Maybe change switch type in device tab on ESPeasy.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests