Thanks BP for your quick response, that solved my inicial problem thanks!
I'm slowly getting there but unfortunatly the Iphone App is not connecting to the server via WiFi. I've checked IP addresses and passwords about 20 times now. Can you confirm the following debug and command messages are OK please?
pi@raspberrypi ~/RasPiConnectServer $ cd /home/pi/RasPiConnectServer
pi@raspberrypi ~/RasPiConnectServer $ python RasPiConnectServer.py
192.168.1.85:9600/raspi127.0.0.1:38290 - - [14/Sep/2013 22:57:03] "HTTP/1.1 GET /Version" - 200 OK
127.0.0.1:38290 - - [14/Sep/2013 22:57:03] "HTTP/1.1 GET /favicon.ico" - 405 Method Not Allowed
Again when I check the
on the Pi browser all appears fine.
Can you spot anything stuppid that I have done in my config file?
#!/usr/bin/python
# Filename: Config.py
# Version 2.9 09/07/13 BP MiloCreek
# set to True if you wish to see debugging output from the server otherwise False
DEBUG = True
#WEB_SERVER_PORT is the port that the RasPiConnect Webserver will be responding to requests from the RasPiConnect App
WEB_SERVER_PORT = "9600"
#LOCALURL is the address of your pi. If you poke a hole through your firewall and expose it to the Internet, insert that address here
#Usually, the port in the URL (9600) will match the WEB_SERVER_PORT above but can be remapped in most routers/firewalls
# Note that the address for your SystemURL in the RasPiConnectApp should be of the form:
192.168.1.120:9600/raspi (see manual for more information)
LOCALURL = "http://192.168.1.85:9600/raspi"
print LOCALURL
#USERNAME is the username that you have entered in the RasPiConnect App. It must match and is case sensitive
USERNAME = "RasPiConnect"
#PASSWORD is the password that you have entered in the RasPiConnect App. It must match and is case sensitive
PASSWORD = "RasPiConnectPassword"
# set to True if you have an I2C bus set up and has an AdaFruit BMP085 and two BlinkM modules (addresses 0xC and 0xB) False if not
I2CDEMO = False
#RASPICONNECTSERVER Version Number. Do not change!
VERSIONNUMBER = '2.9'
def localURL():
return LOCALURL
def password():
return PASSWORD
def username():
return USERNAME
def web_server_port():
return WEB_SERVER_PORT
def version_number():
return VERSIONNUMBER
def debug():
return DEBUG;
def i2c_demo():
return I2CDEMO;
I've followed the instruction on line and sectected my default system in the App to
192.168.1.85:9600/raspi. The passwords and username have been left as default for the moment.
The server report continues to show a red circle.
Any ideas would be greatfully recieved.
Cheers
Phil