xpark
Posts: 4
Joined: Thu Jan 08, 2015 8:18 pm

Re: My remote garage door opener

Thu Jan 08, 2015 8:21 pm

Thanks a ton for this tutorial , loved it!!

Thanks again

xpark
Posts: 4
Joined: Thu Jan 08, 2015 8:18 pm

Re: My remote garage door opener

Thu Jan 08, 2015 9:15 pm

Hey Love your project, Its amazing

Could you please just tell me how i can change the background color of the website, i want it black

Thanks a lot for sharing your project!

alexellis
Posts: 53
Joined: Tue Nov 26, 2013 10:00 am
Location: United Kingdom
Contact: Website

Re: My remote garage door opener

Fri Jan 09, 2015 5:32 pm

Excellent tutorial, but what is a 'wall remote' and can you give us a picture of how you have soldered into it?

Thanks,

Alex

tube013
Posts: 5
Joined: Tue Dec 30, 2014 1:24 am

Re: My remote garage door opener

Fri Jan 09, 2015 6:49 pm

alexellis wrote:Excellent tutorial, but what is a 'wall remote' and can you give us a picture of how you have soldered into it?

Thanks,

Alex
For mine, "wall remote" was the existing wired wall "switch" that was next to my interior door that I have used to open and turn on the garage light when in the garage.

These are the pics I posted in my post above, that show the circuit board from inside the wall remote/switch and where I soldered (a wire to each side of the switch essentially).
here are the front and back of the remote board.

front:
https://www.dropbox.com/sc/o3ks5xtkj8b1 ... E85tXElmia

Back with how I wired to the relays.
https://www.dropbox.com/sc/00nho4dgzrf8 ... yltAipm0ma

rphgeek
Posts: 21
Joined: Sat Sep 14, 2013 12:28 pm

Re: My remote garage door opener

Sat Jan 24, 2015 1:03 am

tube013 wrote:
alexellis wrote:Excellent tutorial, but what is a 'wall remote' and can you give us a picture of how you have soldered into it?

Thanks,

Alex
For mine, "wall remote" was the existing wired wall "switch" that was next to my interior door that I have used to open and turn on the garage light when in the garage.

These are the pics I posted in my post above, that show the circuit board from inside the wall remote/switch and where I soldered (a wire to each side of the switch essentially).
here are the front and back of the remote board.

front:
https://www.dropbox.com/sc/o3ks5xtkj8b1 ... E85tXElmia

Back with how I wired to the relays.
https://www.dropbox.com/sc/00nho4dgzrf8 ... yltAipm0ma
Thanks tube013 for helping with the reply. Yep, that's exactly what I meant by "wall remote". You wired up pretty much the same way I did.

rphgeek
Posts: 21
Joined: Sat Sep 14, 2013 12:28 pm

Re: My remote garage door opener

Sat Jan 24, 2015 1:08 am

xpark wrote:Hey Love your project, Its amazing

Could you please just tell me how i can change the background color of the website, i want it black

Thanks a lot for sharing your project!

Thanks xpark! I really glad to hear you liked it! In order to change the background color, you would just need to put in some code in the webpage. Something like:

body {
background-color: #000000;
}

This would make the background completely black. You can change the "000000" to any other color you'd like. This is a great list of the different shades you can use: http://www.w3schools.com/htmL/html_colors.asp

xpark
Posts: 4
Joined: Thu Jan 08, 2015 8:18 pm

Re: My remote garage door opener

Sat Jan 24, 2015 1:12 am

Hey,

Thanks a lot , you have posted this topic more than a year back and you happily help everyone till now? That's just great!

Thanks again
Abhijeet

xpark
Posts: 4
Joined: Thu Jan 08, 2015 8:18 pm

Re: My remote garage door opener

Sat Jan 24, 2015 1:31 am

Hey,

I installed my webcam using the following tutorial- http://jacobsalmela.com/raspberry-pi-we ... -internet/
But i can access it in the webiopi only from outside the network
So i added another stream with the internal ip address which works when i m on the same network

So one stream works when im on another network and the other works when im on the same network, is there any way i can just use one stream which works on both, same and another network,?

Thanks
Abhijeet

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: My remote garage door opener

Sat Jan 24, 2015 2:43 pm

xpark wrote:Hey,

I installed my webcam using the following tutorial- http://jacobsalmela.com/raspberry-pi-we ... -internet/
But i can access it in the webiopi only from outside the network
So i added another stream with the internal ip address which works when i m on the same network

So one stream works when im on another network and the other works when im on the same network, is there any way i can just use one stream which works on both, same and another network,?

Thanks
Abhijeet
Why does it only work from outside the network. If you're using a dynamic DNS hostname, can you ping the DNS name from inside the network? How about pinging by IP from both outside and inside? If you can't reach the external IP from inside the network, it could be that your router is blocking connections originating inside from communicating with its outside address; you'll have to use the inside local (usually 192.168.x.x) IP. Have you tried connecting to the stream that works outside via the local IP of the Pi?

If I have not guessed what you're experiencing correctly, any other details that you can provide may help to troubleshoot. Start with a) what exactly you expect to happen and b) what exactly is actually happening.

rgviewer
Posts: 3
Joined: Fri Feb 21, 2014 5:47 pm

Re: My remote garage door opener

Fri Feb 06, 2015 6:16 am

I have done this following your guide and I must say I love it very much. I have everything running like you in your video except I only have 1 garage door and only one garage button and garage light. Camera works really good to. The one problem that I have is that when ever I loose power or if I reset the pi then I have to use putty to get back into the pi and type the following:
cd mjpg-streamer
./mjpg-streamer.sh start


is there anyway to auto restart the camera after loosing power or after rebooting the pi?

Thanks very much

rphgeek
Posts: 21
Joined: Sat Sep 14, 2013 12:28 pm

Re: My remote garage door opener

Sun Feb 08, 2015 1:38 pm

rgviewer wrote:I have done this following your guide and I must say I love it very much. I have everything running like you in your video except I only have 1 garage door and only one garage button and garage light. Camera works really good to. The one problem that I have is that when ever I loose power or if I reset the pi then I have to use putty to get back into the pi and type the following:
cd mjpg-streamer
./mjpg-streamer.sh start


is there anyway to auto restart the camera after loosing power or after rebooting the pi?

Thanks very much
Thanks rgviewer!

did you do this step to have the mjpg-streamer start at boot?

*for mjpg-streamer to start at boot (from: http://web.archive.org/web/201311120259 ... ock.co.uk/):
-put “webcam” file (file creation shown website above) into /etc/init.d
-chmod 755 /etc/init.d/webcam
-sudo update-rc.d webcam defaults

djohnb
Posts: 4
Joined: Tue Feb 17, 2015 4:48 pm

Re: My remote garage door opener

Mon Apr 13, 2015 10:38 am

Hello
I wonder if someone might help me please.
I have got as far as getting webiopi and mjpg running from start-up ok.
However I cannot get the streamed video to show on the webpage.
I am confused on how to allocate the port numbers.
I have these set at the moment.
webiopi 8000
mjpg 8080
index.html 8080
webcam file 8080
Is this ok or should I allocate them differently?

User avatar
DougieLawson
Posts: 39857
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: My remote garage door opener

Mon Apr 13, 2015 12:14 pm

Each TCP/IP daemon server needs a different port number once a port is opened by a listener it can't be opened by another listener on the same TCP/IP stack. You've got 65535 ports to choose from (although some have pre-assigned uses).

Avoid everything under 1023 (they've all been pre-assigned).
Avoid 5800-5810, 5900-5910, 6000-6010 (they're used by VNC)
Avoid 3306 (it's used by MySQL)
Avoid 1194 (it's used by VPN)
Avoid 1883 (it's used by Mosquitto/MQTT)

For any testing service I'll always use 1337 (because I'm an elite geek).
For something running HTTP I'd tend to use a port in the 8000-8800 range.

Use netstat -tln to see what's in use.
Use sudo lsof -i TCP:nnnn to see who's using port nnnn.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

User avatar
rpdom
Posts: 17572
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: My remote garage door opener

Mon Apr 13, 2015 12:29 pm

If you want to see the ports that are already assigned, you can look at the contents of /etc/services (this isn't a comprehensive list). You can use ports under 1024, but they are privileged ports and need root (sudo) permissions.

For testing on the Pi I use 31415 :)

djohnb
Posts: 4
Joined: Tue Feb 17, 2015 4:48 pm

Re: My remote garage door opener

Wed Apr 15, 2015 10:10 am

Many thanks to Dougie and rpdom for responding to my ports question.
I have now assigned webiopi to 8020
and mjpg streamer 8010
But, I still am not sure what port numbers to put in the index.html file and the webcam file.
I have tried various combinations of 8020 and 8010 with no success.
In my browser if I use http://myip:8020/?action=stream
The webpage comes up with the buttons showing but no video displaying.

Nubi
Posts: 2
Joined: Sat Nov 07, 2015 12:55 am

Re: My remote garage door opener

Sat Nov 07, 2015 1:05 am

Awesome Project,
Everything combines what i need, only little problem is that i get only the bumping when presst and mouseover a shiny efect but no response from the buttons as a status like turning red or so. i´m bad at HTML. is it right that hitting once the door should open and hitting the button again should deactivate the relay?
what i need is right that to do.
and what are these parameters do for the button:
"DOOR 1", 7, 1000, "10");
Fist is name thats clear, and the rest?
i tried it out on firefox and edge.
br
jw

Nubi
Posts: 2
Joined: Sat Nov 07, 2015 12:55 am

Re: My remote garage door opener

Sat Nov 07, 2015 1:31 am

sorry for the last post, have some progress:
now the buttons do what they should i suppose but they just turn the pins on but not off, they stay on, i used both html codes from the first page.
what do i have to change so they turn off automaticly after 5 secs or so or to make a second button to turn the same pin off.
i have watched the video added the missing line for defining the pin 7 to out and tried to program a sequence so far i can only use button one to turn on and second to turn off, i´m using version 0.7.1.
anyone has that problem?

rmasci
Posts: 1
Joined: Mon Jan 04, 2016 8:17 pm

Re: My remote garage door opener

Mon Jan 04, 2016 8:24 pm

I was able to do this without the need of the relay. I just wired the switch on the remote to Ground, Pin 6. Then I connected the other side of the remote switch to pin 7 (GPIO 4). I then was able to run commands to simulate a push of the button:

raspi-gpio set 4 op dh;rasp-gpio set 4 ip

To do this without the remote you can put this in parallel with the garage door switch. The principal is the same, you're just using the PI to trigger the switch.

Slackware
Posts: 131
Joined: Mon Jan 18, 2016 3:45 pm

Re: My remote garage door opener

Sat Feb 13, 2016 7:57 pm

In my index.html I have tried:


<CENTER><img src="http://192.168.1.193:8080/?action=stream" width="352" height="288"/></CENTER>
(this setting lets me see video but only on my home network)

<CENTER><img src="http://rgxxxxx.dynds.org:8080/?action=stream" width="352" height="288"/></CENTER>
(can't see video inside or outside of network)

<CENTER><img src="http://rgxxxxx.dynds.org:8081/?action=stream" width="352" height="288"/></CENTER>
(can't see video inside or outside of network, 8081 is port forwarded in router from port 8080)

Anyone have any idea what I am missing?

Thnaks[/quote]

Try reading your log files. What does your firewall access logs say is going on when a connection request comes in? search logs for port 8080 and read the messages after it.

asix
Posts: 1
Joined: Wed Oct 26, 2016 1:18 am

Re: My remote garage door opener

Wed Oct 26, 2016 1:25 am

Looks like I have the same wall remote from what I can see on your YouTube. Genie Excellerator. I tried to follow the dropbox links for how you wired in, solder in, to the wall remote, but the links are broken. Can you send me a diagram of how you wired in the relay output to the wall remotes? Did you use NO or NC side, etc. Thanks in advance!!

colinmower
Posts: 12
Joined: Thu Aug 14, 2014 8:38 pm

Re: My remote garage door opener

Fri Oct 28, 2016 4:34 pm

Hi,

I want to do a similar project with my Hormann garage door opener. From the instructions (see pic - figure 14), it looks like all I need to do is to hook up my RPi to behave like a volt free switch that is normally open. This will partially open the garage door for deliveries when I am out.

What I'm not sure about and would like someone's help is whether this is possible straight from the GPIO pins? I'm afraid I'm a complete beginner with GPIO as I although I've got several RPis, I haven't yet thought of any projects to use the GPIO. Now I have but I really haven't got much of an idea of how to do this.

Any help gratefully received.
Thanks
Attachments
IMG_5652.jpg
IMG_5652.jpg (61.43 KiB) Viewed 2634 times

Return to “Automation, sensing and robotics”