Go to advanced search

by laptopu
Thu Mar 31, 2016 6:43 pm
Forum: Networking and servers
Topic: VPN woes
Replies: 0
Views: 313

VPN woes

Hello, I am trying to set up a VPN server on my Pi that is currently running Wheezy and hosts Asterisk and FreePBX. I have spent hours over several days reading guides and none of them seem to work for me. I have installed Strongswan but each time I try to throw commands at it I get an illegal error...
by laptopu
Mon Feb 11, 2013 9:28 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

I've cracked it, here's a link to another forum discussing PIAF that ties it all together:

http://pbxinaflash.com/community/index. ... ger.14414/

Thanks for everyone's help on here especially navaismo!
by laptopu
Sun Feb 10, 2013 11:54 am
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

This is great stuff but I'll admit getting a bit over my head now. So to get things straight - I need two files, one named 'door' and that's the one I can paste into a file and then type 'sudo update-rc.d door defaults', then this file will point to ipdoor.sh (or door.sh as mine is called now)? I'm ...
by laptopu
Fri Feb 08, 2013 5:16 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

I am trying to get this script to start in the background when my Pi starts up. I have got this code so far: #! /bin/sh # /etc/init.d/door.sh ### BEGIN INIT INFO # Provides: doorbell # Required-Start: # Required-Stop: # Should-Start: # Default-Start: # Default-Stop: # Short-Description: Allows monit...
by laptopu
Sun Feb 03, 2013 11:55 am
Forum: Automation, sensing and robotics
Topic: Doorbell sensing
Replies: 11
Views: 4735

Re: Doorbell sensing

I think I'm with you, so here's a circuit diagram of how it is set up right now. What point in the diagram would I put the capacitor? I haven't done some of the stuff in here for years now so please forgive me if this is going back to school for me. (My gut instinct is telling me to put the capacito...
by laptopu
Sat Feb 02, 2013 10:01 pm
Forum: Automation, sensing and robotics
Topic: Doorbell sensing
Replies: 11
Views: 4735

Re: Doorbell sensing

Thanks for the advice so far. I'm using IncrediblePi (CentOS) to run Asterisk PBX. I use these commands to initialise the pins: echo "17" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio17/direction Then within the extensions_custom.conf for Asterisk I have: [fromdoor] exten => s,1,Set(CALL...
by laptopu
Sat Feb 02, 2013 2:56 pm
Forum: Automation, sensing and robotics
Topic: Doorbell sensing
Replies: 11
Views: 4735

Doorbell sensing

Hello, I have configured a basic doorbell monitoring gpio 17 but sometimes this doesn't always sense the triggering of a button when it is pressed - in other words a doorbell has to be held down for at least a second, sometimes two, before it is registered by the Pi. What is the most simple way of s...
by laptopu
Wed Jan 30, 2013 9:38 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

Yes it is exciting stuff indeed. I am still keen on getting an LED to light for say 2 seconds when the button is pressed just to acknowledge to the caller they know the button works but I'm struggling to understand how to build this into a circuit and how to write a script. I also read in a newspape...
by laptopu
Tue Jan 29, 2013 5:28 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

Thinking more about my post above, how practical would it be to have two wires for the door push and two for an LED to light for a couple of seconds as soon as someone presses the doorbell so they have an acknowledgement?
by laptopu
Mon Jan 28, 2013 7:48 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

Thinking about this, and how Navaismo has developed the idea, my original suggestion was to build just a door bell button with no intercom and the phones to ring for 10 seconds to signal someone was at the door. Navaismo posted a circuit diagram. I have modified this diagram as I thought sometimes p...
by laptopu
Sun Oct 21, 2012 11:48 am
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

So long as your relay completely isolates the Pi from the main voltage - which is what a relay should do, I can't see a problem with this. What you need to be careful of is making sure the relay is capable of doing what you need it to do, that's when you could find voltage on the Pi if the relay fai...
by laptopu
Fri Sep 21, 2012 4:58 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

That is great, and thank you for the examples they are really useful. I have my Pi on order and am not expecting it until Christmas, I have asked for one as my Christmas present :D Once it arrives I will have a look at this and get it all set up properly. I have this page bookmarked. I hope yours wo...
by laptopu
Wed Sep 19, 2012 4:38 pm
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

Hi that is really useful and pretty much what I was thinking of doing. A mini guide on here would be fantastic. I have some questions if you can help please? Would this setup work without a sound card, if the only thing I wanted to do was make all the Asterisk telephones ring? And what if I only wan...
by laptopu
Sat Sep 15, 2012 11:49 am
Forum: Automation, sensing and robotics
Topic: Door Bell Server
Replies: 27
Views: 36120

Re: Door Bell Server

This is interesting work, thanks for posting your achievements. I am looking at incorporating a doorbell via the GPIO pins in an Asterisk PBX system. Using http://www.raspberry-asterisk.org I intend to set up an in-home PBX but when a doorbell is pressed it will ring the handsets for 10 seconds. Wha...

Go to advanced search