ESPEasy Servo and reset GPIO

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ensingg
Normal user
Posts: 25
Joined: 16 Jul 2017, 10:52

ESPEasy Servo and reset GPIO

#1 Post by ensingg » 03 May 2018, 09:08

Hi,

I made a cat door using a servo to pull up/release a shutter.
On the top and on the bottom there are magnetic door sensors to stop the pull up/release action.

Everything runs on EasyESP 2.0 - dev 11 on works fine. The switch detecs and sends the stop command to the servo.
But when I want to read the switch again after stopping the servo the value becomes 0.

Whats wrong?

Best regads,
Gert

The rules:


On Beneden#Switch do
if [Beneden#Switch]=1
servo,2,12,90
endif
endon

On Boven#Switch do
if [Boven#Switch]=1
servo,2,12,80
endif
endon

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESPEasy Servo and reset GPIO

#2 Post by TD-er » 05 May 2018, 00:19

Do you have an unused and disabled "Domoticz HTTP" controller in the list of controllers?
Then please remove that one.

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests