PiFace Doorbell working 3 / 10 times

Moderator: leecollings

Post Reply
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

PiFace Doorbell working 3 / 10 times

Post by jadijkstra2000 »

Hi all,

I have an RPI3 with Domoticz (stable) and a Piface Digital 2, for gas / energy montitoring, but.. also for my doorbell... the strange thing is however, 3 / 10 times (more or less), the input does not register the input strangly enough.. the button works fine...

I also tried the button on the PiFace itself, same story!

Any ideas why? I don't like the idea to create a wireless sensor or something, because the wires of the doorbell are already there... useless to go wireless when cables are in front..

But, it is very frustating when you expect a package :)
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: PiFace Doorbell working 3 / 10 times

Post by jvdz »

How is the doorbell switch connected?
Any PullUp resistor connected to the GPIO port used?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiFace Doorbell working 3 / 10 times

Post by jadijkstra2000 »

No, internal pull-ip!
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: PiFace Doorbell working 3 / 10 times

Post by jvdz »

...and the answer to the first question is..? :)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiFace Doorbell working 3 / 10 times

Post by jadijkstra2000 »

Well, to the question how it is connected.

Doorbell between ground and one of the inputs of the PiFace, and with an internal pull-up restitor, after pressing the door button, the input goes to 0.... :)

I have the same sort of issue with MySensors now, maybe cabling...
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: PiFace Doorbell working 3 / 10 times

Post by jvdz »

So the Doorbell is actually just the switch at the door itself which does a pulldown of the GPIO port and you are not having the piface parallel with the actual bell itself. That should indeed be a simple thing.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest