I started a couple of weeks ago, to work on controlling monitoring my Garage Door when I'm away using my iPhone. I found LowPowerLap and that was the answer, I got me a
Raspberry PI 2, 2
moteino w/ RFM69W and
Flash and 1 without flash (for the gateway), I also got the
ATXRasPi and a couple of
FTDI Adapters for testing.
First I follow step by step the software installation for the nodes (moteino sketches), then I installed the sensors and the GarageMote and test it using a Serial Console (with out Rasp PI) and worked fine.
The next step was putting all together, the Moteino Gateway, the ATXRaspi, the Power Switch and the Rasp PI, I can shutdown and restart fine using just the Power Switch, I also was able to to test the communication between the nodes and the PI, worked too, I used my 3rd Moteino with the node.ino scketch and I was able to see the characters coming from the serial port using PuTTY.
Then I installed all the software needed in the Raps PI following the instruction on the webpage (nginx, node, npm, serialport, chat.js, gateway.js, etc), and all is working fine from inside my house (my Intranet), I get see the Garage Status, I can Open and Close from my Browser, see the log. I can also get the Gateway page from my iPhone when connected WiFi to my home network.
Then I set up my router to Forward Port 80 to the Raspberry PI IP Address, and I disconnected my iPhone from my WiFi network and try to get the Gateway Page from internet, but I only get the error:
"
Safari could not open the page because the server stopped responding"
I don't understand what can be wrong, I followed all the instructions from LowPowerLap blogs "
Projects Garage Mote" and "
RaspberryPi home automation gateway" to the letter.
Am I missing something?
I suppose to connect to the Gateway from the internet, right?
Thanks in advance for all your help on this,
Maximo